this repo has no description
0
fork

Configure Feed

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

hammerspoon: shuffling

+4 -7
+4 -7
hammerspoon/init.lua
··· 2 2 ["1"] = "Helium", 3 3 ["2"] = "Ghostty", 4 4 ["3"] = "Slack", 5 - ["4"] = "Mail", 6 - ["5"] = "Messages", 7 5 ["6"] = "Zoom.us", 8 - ["8"] = "Spotify", 9 - ["9"] = "Todoist", 6 + ["9"] = "Spotify", 10 7 ["0"] = "Obsidian", 11 8 } 12 9 ··· 74 71 local s = win:screen():frame() 75 72 local positions = { 76 73 { 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 }, 74 + { x = s.x + s.w / 3, y = s.y, w = s.w / 3, h = s.h }, 75 + { x = s.x, y = s.y, w = s.w / 3, h = s.h }, 79 76 } 80 77 cycleState.g = (cycleState.g % #positions) + 1 81 78 win:setFrame(positions[cycleState.g]) ··· 89 86 end 90 87 local s = win:screen():frame() 91 88 local positions = { 92 - { x = s.x, y = s.y, w = s.w * 2 / 3, h = s.h }, 89 + { x = s.x, y = s.y, w = s.w * 2 / 3, h = s.h }, 93 90 { x = s.x + s.w / 3, y = s.y, w = s.w * 2 / 3, h = s.h }, 94 91 } 95 92 cycleState.e = (cycleState.e % #positions) + 1