mirror of https://github.com/tiyn/dotfiles
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
79 lines
1.1 KiB
79 lines
1.1 KiB
## Basic binds
|
|
|
|
super + Return
|
|
$TERMINAL
|
|
super + b
|
|
$BROWSER
|
|
super + c
|
|
code
|
|
super + d
|
|
ducksearch
|
|
super + f
|
|
$TERMINAL -e $FILE
|
|
super + g
|
|
googlesearch
|
|
super + i
|
|
idea
|
|
super + m
|
|
$TERMINAL -e neomutt
|
|
super + r
|
|
dmenu_run
|
|
super + x
|
|
xournalpp
|
|
|
|
|
|
## Et cetera...
|
|
|
|
XF86Launch1
|
|
xset dpms force off
|
|
XF86AudioMute
|
|
lmc m
|
|
XF86AudioMicMute
|
|
pactl set-source-mute 1 toggle
|
|
XF86AudioLowerVolume
|
|
lmc down 5
|
|
XF86AudioRaiseVolume
|
|
lmc up 5
|
|
XF86AudioNext
|
|
lmc next
|
|
XF86AudioPlay
|
|
lmc play
|
|
XF86AudioPrev
|
|
lmc prev
|
|
XF86AudioStop
|
|
lmc toggle
|
|
XF86MonBrightnessDown
|
|
light -U 15
|
|
XF86MonBrightnessUp
|
|
light -A 15
|
|
|
|
|
|
## Function keys
|
|
|
|
# Toggle Touchpad
|
|
super + F5
|
|
toggletouchpad
|
|
# Mount a USB drive or Android device
|
|
super + F6
|
|
dmenumount
|
|
# Unmount a USB drive or Android device
|
|
super + F7
|
|
dmenuumount
|
|
# Restart/rescan wifi/eth networks
|
|
super + F8
|
|
sudo -A systemctl restart NetworkManager
|
|
# Network Manager interface
|
|
super + F9
|
|
$TERMINAL -e sudo -A nmtui
|
|
# Hibernate
|
|
super + F10
|
|
prompt 'Hibernate computer?' 'sudo systemctl suspend'
|
|
# Reboot
|
|
super + F11
|
|
prompt "Reboot computer?" "sudo -A shutdown -r now"
|
|
# Shutdown
|
|
super + F12
|
|
prompt "Shutdown computer?" "sudo -A shutdown -h now"
|
|
|
|
|