nixos/home/common/optional/desktop/dwm/sxhkdrc.nix

47 lines
1.3 KiB
Nix
Raw Normal View History

2024-06-15 01:20:42 +01:00
{
2024-06-15 18:37:00 +01:00
# TODO add emoji and dmenu-dict scripts
2024-06-15 01:20:42 +01:00
home.file.".config/sxhkd/sxhkdrc" = {
recursive = true;
text = ''
XF86AudioRaiseVolume
pamixer --set-limit 150 --allow-boost -i 5 && dunstify-volume-notification && pkill -RTMIN+10 dwmblocks && exit 1
XF86AudioLowerVolume
pamixer --set-limit 150 --allow-boost -d 5 && dunstify-volume-notification && pkill -RTMIN+10 dwmblocks && exit 1
XF86AudioMute
pamixer --toggle-mute && dunstify-volume-notification && pkill -RTMIN+10 dwmblocks && exit 1
XF86AudioMicMute
pamixer --default-source --toggle-mute && dunstify-volume-notification && pkill -RTMIN+10 dwmblocks && exit 1
XF86MonBrightnessUp
light -A 5 && dunstify-brightness-notification
XF86MonBrightnessDown
light -U 5 && dunstify-brightness-notification
XF86Messenger
dunstify-battery-notification
control + Home
bookmark-add
control + Insert
bookmark-insert
control + F12
nsxiv-clipboard-copy /tmp/clipboard/images/
Print
flameshot gui
control + F8
dmenu-dict
control + F7
emoji-picker
'';
};
}