aboutsummaryrefslogtreecommitdiff
path: root/services/sxhkd.nix
diff options
context:
space:
mode:
authorAkshay <[email protected]>2023-01-22 12:06:13 +0000
committerAkshay <[email protected]>2023-01-22 12:06:13 +0000
commit1c25a32635a8c022cbd940d2520c356ec2b7e5f0 (patch)
tree078a9ab40e878d742dba8d415430ab8ff1658cdb /services/sxhkd.nix
parent06df45dd7d3a76c302b25a99c2929f47d58f238c (diff)
handle keybinds
Diffstat (limited to 'services/sxhkd.nix')
-rw-r--r--services/sxhkd.nix8
1 files changed, 5 insertions, 3 deletions
diff --git a/services/sxhkd.nix b/services/sxhkd.nix
index debe1b5..fe54cbf 100644
--- a/services/sxhkd.nix
+++ b/services/sxhkd.nix
@@ -11,9 +11,11 @@ in
11 services.sxhkd = { 11 services.sxhkd = {
12 enable = true; 12 enable = true;
13 keybindings = { 13 keybindings = {
14 "XF86Audio{Lower,Raise}Volume" = "${pkgs.alsaUtils}/bin/amixer sset Master 2%{-,+}"; 14 "super + slash" = "${pkgs.light}/bin/light -A 5";
15 "XF86AudioMute" = "${pkgs.alsaUtils}/bin/amixer sset Master toggle"; 15 "super + shift + slash" = "${pkgs.light}/bin/light -U 5";
16 "XF86MonBrightness{Down,Up}" = "${pkgs.light}/bin/light -{U,A} 5"; 16
17 "super + semicolon" = "${pkgs.alsaUtils}/bin/amixer sset Master 2%+";
18 "super + shift + semicolon" = "${pkgs.alsaUtils}/bin/amixer sset Master 2%-";
17 19
18 # jump to firefox 20 # jump to firefox
19 "super + alt + shift + ctrl + f" = jumpTo "Mozilla Firefox"; 21 "super + alt + shift + ctrl + f" = jumpTo "Mozilla Firefox";