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

32 lines
975 B
Nix
Raw Normal View History

2024-06-15 01:20:42 +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
XF86Messenger
dunstify-battery-notification
control + F8
clipboard-image-recall /tmp/clipboard/images/
2024-06-15 01:20:42 +01:00
Print
flameshot gui
control + F7
emoji-picker
'';
};
}