{ config , pkgs , theme , ... }: let jumpTo = app: "${pkgs.xdotool}/bin/xdotool search \"${app}\" windowactivate"; in { services.sxhkd = { enable = true; keybindings = { "super + slash" = "${pkgs.light}/bin/light -A 5"; "super + shift + slash" = "${pkgs.light}/bin/light -U 5"; "super + semicolon" = "${pkgs.alsaUtils}/bin/amixer sset Master 2%+"; "super + shift + semicolon" = "${pkgs.alsaUtils}/bin/amixer sset Master 2%-"; # jump to firefox "super + alt + shift + ctrl + f" = jumpTo "Mozilla Firefox"; # jump to st "super + alt + shift + ctrl + s" = jumpTo "st"; # jump to zathura "super + alt + shift + ctrl + z" = jumpTo "zathura"; }; }; }