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

60 lines
1.3 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
# ssh shell
super + s
ssh-dmenu
2019-05-31 15:26:09 +00:00
# Shutdown / reboot
XF86Eject
prompt "Shutdown computer?" "sudo -A shutdown -h now"
2019-05-31 15:26:09 +00:00
shift + XF86Eject
prompt "Reboot computer?" "sudo -A shutdown -r now"
# Open frequent apps
2019-06-04 14:18:10 +00:00
super + o ; {e,w,m,v,h,s,i,n,r,q}
{emacs, $BROWSER, $TERMINAL -e neomutt, $TERMINAL -e vifm, $TERMINAL -e htop, slack, $TERMINAL -e weechat, $TERMINAL -e newsboat, qtpass}