Switch to generic notification client
This commit is contained in:
parent
71007d66a4
commit
33dcccbb28
1 changed files with 3 additions and 2 deletions
|
|
@ -23,6 +23,7 @@
|
|||
fileManager = "nautilus";
|
||||
emojiChooser = "rofimoji --skin-tone light -a copy";
|
||||
yad = "${pkgs.yad}/bin/yad";
|
||||
notify = "${pkgs.libnotify}/bin/notify-send";
|
||||
in
|
||||
{
|
||||
enable = true;
|
||||
|
|
@ -68,10 +69,10 @@
|
|||
"super + {_,shift + } w" = "bspc node -{c,k}";
|
||||
"super + {t,shift + t,s,f}" = "bspc node -t {tiled,pseudo_tiled,floating,fullscreen}";
|
||||
# "super + y" = "bspc node newest.marked.local -n newest.!automatic.local";
|
||||
"{XF86AudioLowerVolume,XF86AudioMute,XF86AudioRaiseVolume}" = "pamixer {-d 2 -u,-t,-i 2 -u} && dunstify -r 1 Volume `pamixer --get-volume-human`";
|
||||
"{XF86AudioLowerVolume,XF86AudioMute,XF86AudioRaiseVolume}" = "pamixer {-d 2 -u,-t,-i 2 -u} && ${notify} -r 1 Volume `pamixer --get-volume-human`";
|
||||
"XF86Audio{Next,Play,Prev}" = "playerctl {next,play-pause,previous}";
|
||||
"XF86MonBrightness{Up,Down}" = ''
|
||||
xbacklight -{inc,dec} 10 && dunstify -r 2 Luminosità `printf "%.0f" $(xbacklight -get)`
|
||||
xbacklight -{inc,dec} 10 && ${notify} -r 2 Luminosità `printf "%.0f" $(xbacklight -get)`
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue