summaryrefslogtreecommitdiff
path: root/machines/work.nix
diff options
context:
space:
mode:
authorMike Vink <ivi@vinkies.net>2024-02-12 02:24:56 +0100
committerMike Vink <ivi@vinkies.net>2024-02-12 02:24:56 +0100
commit4214508e3fbc8df6fdf5beb4d27779ab7ab84c90 (patch)
tree77c1890bec443dca20ab0009973a0f4a21e6e7c9 /machines/work.nix
parentcc8f451d8bbe3f6d1ca5edb6201435683570b129 (diff)
add some shortcuts
Diffstat (limited to 'machines/work.nix')
-rw-r--r--machines/work.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/machines/work.nix b/machines/work.nix
index 67ce96b..79f6ac0 100644
--- a/machines/work.nix
+++ b/machines/work.nix
@@ -77,6 +77,11 @@
services.skhd = {
enable = true;
skhdConfig = ''
+ cmd - 1 : osascript -e 'tell application "kitty" to activate'
+ cmd - 2 : osascript -e 'tell application "Google Chrome" to activate'
+ cmd - 3 : osascript -e 'tell application "slack" to activate'
+ cmd - 4 : osascript -e 'tell application "Microsoft Teams (work or school)" to activate'
+ cmd - 5 : osascript -e 'tell application "calendar" to activate'
cmd - return : ${pkgs.kitty}/bin/kitty --single-instance -d ~
cmd + shift - d : ${pkgs.writers.writeBash "passmenu" ''
shopt -s nullglob globstar