From e2f704d2f1e1ee4ecc678112af05927ce5a3db39 Mon Sep 17 00:00:00 2001 From: Akshay Date: Mon, 26 Aug 2024 11:42:32 +0100 Subject: misc --- services/sxhkd.nix | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) (limited to 'services/sxhkd.nix') 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 { services.sxhkd = { enable = true; - keybindings = - let - vol_up ="${volume}/bin/volume sset Master 2%+"; - vol_down ="${volume}/bin/volume sset Master 2%-"; - in - { - "super + slash" = "${pkgs.light}/bin/light -A 2"; - "super + shift + slash" = "${pkgs.light}/bin/light -U 2"; - "super + semicolon" = vol_up; - "super + shift + semicolon" = vol_down; - "XF86AudioRaiseVolume" = vol_up; - "XF86AudioLowerVolume" = vol_down; - "super + ctrl + space" = "${pkgs.dunst}/bin/dunstctl close"; - "super + shift + space" = "${pkgs.dunst}/bin/dunstctl history-pop"; - "super + ctrl + shift + space" = "${pkgs.dunst}/bin/dunstctl close-all"; - }; + keybindings = + let + vol_up = "${volume}/bin/volume sset Master 2%+"; + vol_down = "${volume}/bin/volume sset Master 2%-"; + in + { + "super + slash" = "${pkgs.light}/bin/light -A 2"; + "super + shift + slash" = "${pkgs.light}/bin/light -U 2"; + "super + semicolon" = vol_up; + "super + shift + semicolon" = vol_down; + "XF86AudioRaiseVolume" = vol_up; + "XF86AudioLowerVolume" = vol_down; + "super + ctrl + space" = "${pkgs.dunst}/bin/dunstctl close"; + "super + shift + space" = "${pkgs.dunst}/bin/dunstctl history-pop"; + "super + ctrl + shift + space" = "${pkgs.dunst}/bin/dunstctl close-all"; + }; }; } -- cgit v1.2.3