aboutsummaryrefslogtreecommitdiff
path: root/services
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
parent06df45dd7d3a76c302b25a99c2929f47d58f238c (diff)
handle keybinds
Diffstat (limited to 'services')
-rw-r--r--services/default.nix2
-rw-r--r--services/sxhkd.nix8
2 files changed, 6 insertions, 4 deletions
diff --git a/services/default.nix b/services/default.nix
index 83955bf..dda2992 100644
--- a/services/default.nix
+++ b/services/default.nix
@@ -8,7 +8,7 @@
8 8
9 imports = [ 9 imports = [
10 ./dunst.nix 10 ./dunst.nix
11 ./picom.nix 11 # ./picom.nix
12 ./redshift.nix 12 ./redshift.nix
13 ./sxhkd.nix 13 ./sxhkd.nix
14 ./mbsync.nix 14 ./mbsync.nix
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";