# The Simple X Hotkey Daemon is the program used by LARBS to map most of the # i3 independent commands. This file is pretty readable, so I'll let you read # it. super + w $TERMINAL -e sudo nmtui super + shift + w $BROWSER super + grave dmenuunicode super + Scroll_Lock ifinstalled screenkey && (killall screenkey || screenkey) super + Insert showclip super + x ifinstalled i3lock && i3lock --color 000000 --show-failed-attempts --radius 120 --ring-width 10.0 super + shift + x prompt "Shutdown computer?" "sudo -A shutdown -h now" super + shift + BackSpace prompt "Reboot computer?" "sudo -A reboot" super + shift + Escape prompt 'Leave Xorg?' 'killall Xorg' # Recording # Take screenshot Print maim pic-full-$(date '+%y%m%d-%H%M-%S').png # Pick screenshot type shift + Print maimpick # Print: Record audio or video; Del: kill recording super + Print dmenurecord super + Delete dmenurecord kill alt + shift + escape pkill -USR1 -x sxhkd # Volume # Increase volume super {_,shift +} + plus amixer sset Master {5,15}%+ # Decrease volume super {_,shift +} + minus amixer sset Master {5,15}%- super + shift + m amixer sset Master toggle # Function keys # Show readme super + F1 groff -mom $HOME/.local/share/larbs/readme.mom -Tpdf | zathura - # F2 restarts either dwm or i3 and is bound in each. # Change display super + F3 displayselect # Hibernate super + F4 prompt 'Hibernate computer?' 'sudo -A zzz -Z' super + F5 killall screenkey || screenkey # Mount a USB drive or Android device super + {F9,F10} {dmenumount,dmenuumount}