diff --git a/Brewfile b/Brewfile index c68f461..fdffb54 100644 --- a/Brewfile +++ b/Brewfile @@ -22,6 +22,7 @@ cask "gimp" cask "obs" cask "loom" cask "calibre" +cask "todoist" # zoom on asteroid installed by org cask "zoom" unless `hostname -s`.strip == "asteroid" diff --git a/hammerspoon/init.lua b/hammerspoon/init.lua index ac3432c..dd74de0 100644 --- a/hammerspoon/init.lua +++ b/hammerspoon/init.lua @@ -5,7 +5,8 @@ local appBindings = { ["4"] = "Discord", ["5"] = "Messages", ["6"] = "Zoom.us", - ["9"] = "Spotify", + ["8"] = "Spotify", + ["9"] = "Todoist", ["0"] = "Obsidian", } @@ -73,8 +74,8 @@ hs.hotkey.bind({ "ctrl", "alt" }, "g", function() local s = win:screen():frame() local positions = { { x = s.x + s.w * 2 / 3, y = s.y, w = s.w / 3, h = s.h }, - { x = s.x + s.w / 3, y = s.y, w = s.w / 3, h = s.h }, - { x = s.x, y = s.y, w = s.w / 3, h = s.h }, + { x = s.x + s.w / 3, y = s.y, w = s.w / 3, h = s.h }, + { x = s.x, y = s.y, w = s.w / 3, h = s.h }, } cycleState.g = (cycleState.g % #positions) + 1 win:setFrame(positions[cycleState.g]) @@ -88,7 +89,7 @@ hs.hotkey.bind({ "ctrl", "alt" }, "e", function() end local s = win:screen():frame() local positions = { - { x = s.x, y = s.y, w = s.w * 2 / 3, h = s.h }, + { x = s.x, y = s.y, w = s.w * 2 / 3, h = s.h }, { x = s.x + s.w / 3, y = s.y, w = s.w * 2 / 3, h = s.h }, } cycleState.e = (cycleState.e % #positions) + 1