From e2f704d2f1e1ee4ecc678112af05927ce5a3db39 Mon Sep 17 00:00:00 2001 From: Akshay Date: Mon, 26 Aug 2024 11:42:32 +0100 Subject: misc --- services/default.nix | 2 +- services/sxhkd.nix | 32 ++++++++++++++++---------------- 2 files changed, 17 insertions(+), 17 deletions(-) (limited to 'services') 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 @@ { config , pkgs , theme +, font , ... }: @@ -24,5 +25,4 @@ pinentryPackage = pkgs.pinentry-tty; }; }; - } 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