this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

hammerspoon: shuffling

+7 -7
+7 -7
hammerspoon/init.lua
··· 1 1 local appBindings = { 2 - ["1"] = "Ghostty", 3 - ["2"] = "Helium", 2 + ["1"] = "Helium", 3 + ["2"] = "Ghostty", 4 4 ["3"] = "Slack", 5 5 ["4"] = "Mail", 6 6 ["5"] = "Messages", 7 7 ["6"] = "Zoom.us", 8 8 ["8"] = "Spotify", 9 - ["9"] = "Todoist", 10 - ["0"] = "Obsidian", 9 + ["9"] = "Obsidian", 10 + ["0"] = "Todoist", 11 11 } 12 12 13 13 for key, app in pairs(appBindings) do ··· 74 74 local s = win:screen():frame() 75 75 local positions = { 76 76 { x = s.x + s.w * 2 / 3, y = s.y, w = s.w / 3, h = s.h }, 77 - { x = s.x + s.w / 3, y = s.y, w = s.w / 3, h = s.h }, 78 - { x = s.x, y = s.y, w = s.w / 3, h = s.h }, 77 + { x = s.x + s.w / 3, y = s.y, w = s.w / 3, h = s.h }, 78 + { x = s.x, y = s.y, w = s.w / 3, h = s.h }, 79 79 } 80 80 cycleState.g = (cycleState.g % #positions) + 1 81 81 win:setFrame(positions[cycleState.g]) ··· 89 89 end 90 90 local s = win:screen():frame() 91 91 local positions = { 92 - { x = s.x, y = s.y, w = s.w * 2 / 3, h = s.h }, 92 + { x = s.x, y = s.y, w = s.w * 2 / 3, h = s.h }, 93 93 { x = s.x + s.w / 3, y = s.y, w = s.w * 2 / 3, h = s.h }, 94 94 } 95 95 cycleState.e = (cycleState.e % #positions) + 1