2019-05-18 19:45:06 +00:00
|
|
|
# Basic binds
|
|
|
|
super + Return
|
|
|
|
$TERMINAL
|
|
|
|
super + d
|
|
|
|
dmenu_run
|
|
|
|
super + r
|
|
|
|
$TERMINAL -e lf
|
|
|
|
super + e
|
|
|
|
$TERMINAL -e neomutt
|
|
|
|
super + m
|
|
|
|
$TERMINAL -e ncmpcpp
|
|
|
|
super + n
|
|
|
|
$TERMINAL -e newsboat
|
|
|
|
super + i
|
|
|
|
$TERMINAL -e htop
|
|
|
|
super + y
|
2019-05-21 14:14:40 +00:00
|
|
|
$TERMINAL -e calcurse -D ~/.config/calcurse
|
2019-05-18 19:45:06 +00:00
|
|
|
super + shift + a
|
2019-05-21 14:14:40 +00:00
|
|
|
$TERMINAL -e alsamixer
|
2019-05-20 15:36:33 +00:00
|
|
|
super + shift + c
|
|
|
|
mpv --no-osc --no-input-default-bindings --input-conf=/dev/null --geometry=640x480-0-0 --title='mpvfloat' /dev/video0
|
2019-05-18 19:45:06 +00:00
|
|
|
super + shift + e
|
|
|
|
tutorialvids
|
|
|
|
super + shift + w
|
|
|
|
$BROWSER
|
|
|
|
super + shift + g
|
|
|
|
gimp
|
|
|
|
|
|
|
|
# Et cetera...
|
|
|
|
super + grave
|
|
|
|
dmenuunicode
|
|
|
|
super + Scroll_Lock
|
|
|
|
killall screenkey || screenkey
|
|
|
|
super + Insert
|
|
|
|
showclip
|
|
|
|
super + shift + x
|
|
|
|
prompt "Shutdown computer?" "sudo -A shutdown -h now"
|
|
|
|
super + shift + BackSpace
|
|
|
|
prompt "Reboot computer?" "sudo -A shutdown -h now"
|
|
|
|
super + x
|
|
|
|
mpc pause; pauseallmpv; i3lock -e -f -c 1d2021; xset dpms force off
|
|
|
|
XF86Launch1
|
|
|
|
xset dpms force off
|
2019-05-20 00:55:42 +00:00
|
|
|
XF86TouchpadToggle
|
|
|
|
(synclient | grep "TouchpadOff.*1" && synclient TouchpadOff=0)>/dev/null || synclient TouchpadOff=1
|
|
|
|
XF86TouchpadOff
|
|
|
|
synclient TouchpadOff=1
|
|
|
|
XF86TouchpadOn
|
|
|
|
synclient TouchpadOff=0
|
2019-05-18 19:45:06 +00:00
|
|
|
|
|
|
|
# Recording
|
|
|
|
# Take screenshot
|
|
|
|
Print
|
|
|
|
maim pic-full-$(date '+%y%m%d-%H%M-%S').png
|
|
|
|
# Pick screenshot type
|
|
|
|
shift + Print
|
|
|
|
maimpick
|
|
|
|
# Record audio or video
|
|
|
|
super + Print
|
|
|
|
dmenurecord
|
|
|
|
# kill active recording
|
|
|
|
super + Delete
|
|
|
|
dmenurecord kill
|
|
|
|
|
|
|
|
# Pause audio
|
|
|
|
super + {_,shift +} p
|
2019-05-20 16:26:19 +00:00
|
|
|
mpc {toggle,pause}
|
2019-05-18 19:45:06 +00:00
|
|
|
# Changes to next/previous tracks
|
|
|
|
super + {comma,period}
|
2019-05-20 16:26:19 +00:00
|
|
|
mpc {prev,next}
|
2019-05-18 19:45:06 +00:00
|
|
|
# Restart track
|
|
|
|
super + shift + less
|
2019-05-20 16:26:19 +00:00
|
|
|
mpc seek 0%
|
2019-05-18 19:45:06 +00:00
|
|
|
# Seek foward in song
|
|
|
|
super + {_,shift +} bracketright
|
2019-05-20 16:26:19 +00:00
|
|
|
mpc seek +{10,120}
|
2019-05-18 19:45:06 +00:00
|
|
|
# Seek backward in song
|
|
|
|
super + {_,shift +} bracketleft
|
2019-05-20 16:26:19 +00:00
|
|
|
mpc seek -{10,120}
|
|
|
|
# Increase volume
|
|
|
|
super + {equal,plus}
|
|
|
|
amixer sset Master {5,15}%+
|
|
|
|
# Decrease volume
|
|
|
|
super {_,shift +} + minus
|
|
|
|
amixer sset Master {5,15}%-
|
2019-05-18 19:45:06 +00:00
|
|
|
|
|
|
|
# Function keys
|
|
|
|
# Show readme
|
|
|
|
super + F1
|
|
|
|
groff -mom $HOME/.local/share/larbs/readme.mom -Tpdf | zathura -
|
|
|
|
# F2 is restart in i3 right now.
|
|
|
|
# Change display
|
|
|
|
super + F3
|
|
|
|
displayselect
|
|
|
|
# Hibernate
|
|
|
|
super + F4
|
|
|
|
prompt 'Hibernate computer?' 'sudo systemctl suspend'
|
|
|
|
# Start torrent daemon/open interface
|
|
|
|
super + F6
|
|
|
|
torwrap
|
|
|
|
# toggle torrent daemon
|
|
|
|
super + F7
|
|
|
|
td-togggle
|
|
|
|
# sync email
|
|
|
|
super + F8
|
|
|
|
mailsync
|
|
|
|
# Mount a USB drive or Android device
|
2019-05-21 14:14:40 +00:00
|
|
|
super + {F9,F10}
|
|
|
|
{dmenumount,dmenuumount}
|