aboutsummaryrefslogtreecommitdiff
path: root/services/sxhkd.nix
blob: 19d69179ba8ac71e28d8e753c033ca945957298b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{ config
, pkgs
, theme
, ...
}:

{
  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%-";
      "super + space" = "${pkgs.dunst}/bin/dunstctl close";
      "super + ctrl  + space" = "${pkgs.dunst}/bin/dunstctl close-all";
      "super + shift + space" = "${pkgs.dunst}/bin/dunstctl history-pop";
    };
  };
}