1
0
mirror of https://github.com/alrayyes/dotfiles/ synced 2023-11-14 15:56:30 +00:00
dotfiles/dwm/.config/sxhkd/sxhkdrc

56 lines
1.2 KiB
Plaintext
Raw Normal View History

2019-05-31 15:26:09 +00:00
# screenshot of focussed window
shift+ Print
maimpick
# desktop screenshot
Print
TIMESTAMP=$(date '+%Y-%m-%d-%H%M%S'); maim ~/Pictures/Screenshots/pic-full-$TIMESTAMP.png && notify-send -i ~/Pictures/Screenshots/pic-full-$TIMESTAMP.png "Desktop Screenshot pic-full-$TIMESTAMP.png"
2019-05-31 15:26:09 +00:00
# Audio controls
XF86AudioRaiseVolume
pactl set-sink-volume @DEFAULT_SINK@ +5%
XF86AudioLowerVolume
pactl set-sink-volume @DEFAULT_SINK@ -5%
XF86AudioMute
pactl set-sink-mute @DEFAULT_SINK@ toggle
# Screen brightness controls
XF86MonBrightnessUp
xbacklight -inc 20
XF86MonBrightnessDown
xbacklight -dec 20
# lock screen
super + x
lock
# dmenu calculator
super + equal
=
# dmenu password selector
super + z
passmenu
# dmenu authenticator
super + c
yubikey-oath-dmenu --clipboard clipboard --notify
# dmenu application launcher
super + p
dmenu-frequency
# Wireguard
super + w
vpn-switch
# Shutdown / reboot
XF86Eject
prompt "Shutdown computer?" "sudo -A shutdown -h now"
shift + XF86Eject
prompt "Reboot computer?" "sudo -A shutdown -r now"
# Open frequent apps
super + o ; {e,w,m,r,h}
{emacs, $BROWSER, $TERMINAL -e neomutt, $TERMINAL -e vifm, $TERMINAL -e htop}