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

60 lines
1.3 KiB
Plaintext

:
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"
# 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-frecency
# Wireguard
super + w
vpn-switch
# ssh shell
super + s
ssh-dmenu
# 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,v,h,s,i,n,q,c}
{emacs, $TERMINAL -e weather, $TERMINAL -e neomutt, $TERMINAL -e vifm, $TERMINAL -e htop, slack, $TERMINAL -e weechat, $TERMINAL -e newsboat, qtpass, $TERMINAL -e calendar}