Skip to content

Commit

Permalink
config: 🥄Small app changes and hyper nonsense.
Browse files Browse the repository at this point in the history
  • Loading branch information
TechDufus committed Sep 20, 2024
1 parent 29c0d4f commit 9d34b14
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 10 deletions.
8 changes: 2 additions & 6 deletions roles/hammerspoon/files/config/apps.lua
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ return {
-- id = 'com.brave.Browser',
-- summon = 'b', -- [B]rowser
-- },
Chrome = {
Browser = {
id = 'com.google.Chrome',
summon = 'b', -- [B]rowser
},
Expand Down Expand Up @@ -40,13 +40,9 @@ return {
summon = 'n', -- [N]otes
},
OnePassword = {
id = 'com.agilebits.onepassword7',
id = 'com.1password.1password',
summon = 'o', -- [O]nePassword
},
RayCast = {
id = 'com.raycast.app',
summon = 'r', -- [R]ayCast
},
Slack = {
id = 'com.tinyspeck.slackmacgap',
summon = 's', -- [S]lack
Expand Down
5 changes: 2 additions & 3 deletions roles/hammerspoon/files/config/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ local macros = {
x = function() hs.eventtap.keyStroke({ 'cmd', 'ctrl' }, 'x') end, -- color picker eye dropper
}

registerModalBindings(nil, 'f14', macros, true)
registerModalBindings(nil, 'f16', macros, true)


--------------------------------------------------------------------------------
Expand Down Expand Up @@ -76,7 +76,6 @@ local windowManagementBindings = {
['k'] = function() hs.window.focusedWindow():focusWindowNorth(nil, true) end,
['l'] = function() hs.window.focusedWindow():focusWindowEast(nil, true) end,
['a'] = function() hs.application.frontmostApplication():unhide() end,
['b'] = function() hs.window.focussedWindow():sendToBack() end,
['p'] = layout.selectLayout,
['u'] = layout.bindToCell,
[';'] = layout.selectNextVariant,
Expand All @@ -85,7 +84,7 @@ local windowManagementBindings = {
-- ['n'] = focusNextCellWindow, -- Re-implement in GridLayout?
}

registerKeyBindings(hyper, hs.fnutils.map(windowManagementBindings, function(fn)
registerKeyBindings(bigHyper, hs.fnutils.map(windowManagementBindings, function(fn)
return function() fn() end
end))

Expand Down
2 changes: 1 addition & 1 deletion roles/hammerspoon/files/config/layouts.lua
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ return {
Obsidian = { cell = 3, open = true },
Kitty = { cell = 4, open = true },
Browser = { cell = 5, open = true },
OnePassword = { cell = 2, open = true },
OnePassword = { cell = 6, open = true },
Discord = { cell = 7, open = true },
Outlook = { cell = 7, },
},
Expand Down

0 comments on commit 9d34b14

Please sign in to comment.