mirror of
https://github.com/nmasur/dotfiles
synced 2024-12-24 17:44:52 +00:00
Compare commits
2 Commits
fafd56612e
...
cc714dd898
Author | SHA1 | Date | |
---|---|---|---|
|
cc714dd898 | ||
|
4964e56298 |
@ -54,14 +54,19 @@ function obj:init()
|
|||||||
end)
|
end)
|
||||||
|
|
||||||
-- Launcher shortcuts
|
-- Launcher shortcuts
|
||||||
self.launcher:bind("ctrl", "space", function()
|
self.launcher:bind("ctrl", "space", function() end)
|
||||||
end)
|
|
||||||
self.launcher:bind("", "return", function()
|
self.launcher:bind("", "return", function()
|
||||||
self:switch("@kitty@")
|
self:switch("@kitty@")
|
||||||
end)
|
end)
|
||||||
self.launcher:bind("", "C", function()
|
self.launcher:bind("", "C", function()
|
||||||
self:switch("Calendar.app")
|
self:switch("Calendar.app")
|
||||||
end)
|
end)
|
||||||
|
self.launcher:bind("shift", "D", function()
|
||||||
|
hs.execute("launchctl remove com.paloaltonetworks.gp.pangps")
|
||||||
|
hs.execute("launchctl remove com.paloaltonetworks.gp.pangpa")
|
||||||
|
hs.alert.show("Disconnected from GlobalProtect", nil, nil, 4)
|
||||||
|
self.launcher:exit()
|
||||||
|
end)
|
||||||
self.launcher:bind("", "E", function()
|
self.launcher:bind("", "E", function()
|
||||||
self:switch("Mail.app")
|
self:switch("Mail.app")
|
||||||
end)
|
end)
|
||||||
@ -80,6 +85,12 @@ function obj:init()
|
|||||||
self.launcher:bind("", "P", function()
|
self.launcher:bind("", "P", function()
|
||||||
self:switch("System Preferences.app")
|
self:switch("System Preferences.app")
|
||||||
end)
|
end)
|
||||||
|
self.launcher:bind("shift", "P", function()
|
||||||
|
hs.execute("launchctl load /Library/LaunchAgents/com.paloaltonetworks.gp.pangps.plist")
|
||||||
|
hs.execute("launchctl load /Library/LaunchAgents/com.paloaltonetworks.gp.pangpa.plist")
|
||||||
|
hs.alert.show("Reconnecting to GlobalProtect", nil, nil, 4)
|
||||||
|
self.launcher:exit()
|
||||||
|
end)
|
||||||
self.launcher:bind("", "R", function()
|
self.launcher:bind("", "R", function()
|
||||||
hs.console.clearConsole()
|
hs.console.clearConsole()
|
||||||
hs.reload()
|
hs.reload()
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
awslogs
|
awslogs
|
||||||
google-cloud-sdk
|
google-cloud-sdk
|
||||||
ansible
|
ansible
|
||||||
vault
|
vault-bin
|
||||||
consul
|
consul
|
||||||
noti # Create notifications programmatically
|
noti # Create notifications programmatically
|
||||||
ipcalc # Make IP network calculations
|
ipcalc # Make IP network calculations
|
||||||
|
Loading…
Reference in New Issue
Block a user