diff options
author | Akshay <[email protected]> | 2024-08-26 11:42:32 +0100 |
---|---|---|
committer | Akshay <[email protected]> | 2024-08-26 11:42:32 +0100 |
commit | e2f704d2f1e1ee4ecc678112af05927ce5a3db39 (patch) | |
tree | aff0bd8e0f78ffc292a481aa39f7bc3e74429387 /services | |
parent | 5c68dbde55056cb8bd05c0ff862b6f2ed8336719 (diff) |
misc
Diffstat (limited to 'services')
-rw-r--r-- | services/default.nix | 2 | ||||
-rw-r--r-- | services/sxhkd.nix | 32 |
2 files changed, 17 insertions, 17 deletions
diff --git a/services/default.nix b/services/default.nix index bef7c85..a45f53a 100644 --- a/services/default.nix +++ b/services/default.nix | |||
@@ -1,6 +1,7 @@ | |||
1 | { config | 1 | { config |
2 | , pkgs | 2 | , pkgs |
3 | , theme | 3 | , theme |
4 | , font | ||
4 | , ... | 5 | , ... |
5 | }: | 6 | }: |
6 | 7 | ||
@@ -24,5 +25,4 @@ | |||
24 | pinentryPackage = pkgs.pinentry-tty; | 25 | pinentryPackage = pkgs.pinentry-tty; |
25 | }; | 26 | }; |
26 | }; | 27 | }; |
27 | |||
28 | } | 28 | } |
diff --git a/services/sxhkd.nix b/services/sxhkd.nix index b1fc55c..58b8340 100644 --- a/services/sxhkd.nix +++ b/services/sxhkd.nix | |||
@@ -19,21 +19,21 @@ in | |||
19 | { | 19 | { |
20 | services.sxhkd = { | 20 | services.sxhkd = { |
21 | enable = true; | 21 | enable = true; |
22 | keybindings = | 22 | keybindings = |
23 | let | 23 | let |
24 | vol_up ="${volume}/bin/volume sset Master 2%+"; | 24 | vol_up = "${volume}/bin/volume sset Master 2%+"; |
25 | vol_down ="${volume}/bin/volume sset Master 2%-"; | 25 | vol_down = "${volume}/bin/volume sset Master 2%-"; |
26 | in | 26 | in |
27 | { | 27 | { |
28 | "super + slash" = "${pkgs.light}/bin/light -A 2"; | 28 | "super + slash" = "${pkgs.light}/bin/light -A 2"; |
29 | "super + shift + slash" = "${pkgs.light}/bin/light -U 2"; | 29 | "super + shift + slash" = "${pkgs.light}/bin/light -U 2"; |
30 | "super + semicolon" = vol_up; | 30 | "super + semicolon" = vol_up; |
31 | "super + shift + semicolon" = vol_down; | 31 | "super + shift + semicolon" = vol_down; |
32 | "XF86AudioRaiseVolume" = vol_up; | 32 | "XF86AudioRaiseVolume" = vol_up; |
33 | "XF86AudioLowerVolume" = vol_down; | 33 | "XF86AudioLowerVolume" = vol_down; |
34 | "super + ctrl + space" = "${pkgs.dunst}/bin/dunstctl close"; | 34 | "super + ctrl + space" = "${pkgs.dunst}/bin/dunstctl close"; |
35 | "super + shift + space" = "${pkgs.dunst}/bin/dunstctl history-pop"; | 35 | "super + shift + space" = "${pkgs.dunst}/bin/dunstctl history-pop"; |
36 | "super + ctrl + shift + space" = "${pkgs.dunst}/bin/dunstctl close-all"; | 36 | "super + ctrl + shift + space" = "${pkgs.dunst}/bin/dunstctl close-all"; |
37 | }; | 37 | }; |
38 | }; | 38 | }; |
39 | } | 39 | } |