2019-05-31 15:26:09 +00:00
|
|
|
# screenshot of focussed window
|
|
|
|
shift+ Print
|
|
|
|
maimpick
|
|
|
|
|
|
|
|
# desktop screenshot
|
|
|
|
Print
|
2019-05-31 16:01:25 +00:00
|
|
|
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
|
|
|
|
|
2019-06-01 11:41:37 +00:00
|
|
|
# ssh shell
|
|
|
|
super + s
|
|
|
|
ssh-dmenu
|
|
|
|
|
2019-05-31 15:26:09 +00:00
|
|
|
# Shutdown / reboot
|
|
|
|
XF86Eject
|
2019-06-01 11:41:37 +00:00
|
|
|
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}
|