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.
77 lines
1.3 KiB
77 lines
1.3 KiB
5 years ago
|
# Basic binds
|
||
|
super + Return
|
||
|
$TERMINAL
|
||
|
super + d
|
||
|
dmenu_run
|
||
|
|
||
|
# Et cetera...
|
||
|
XF86Launch1
|
||
|
xset dpms force off
|
||
|
XF86AudioMute
|
||
|
lmc mute
|
||
|
XF86AudioLowerVolume
|
||
|
lmc down 5
|
||
|
shift+XF86AudioLowerVolume
|
||
|
lmc down 10
|
||
|
control+XF86AudioLowerVolume
|
||
|
lmc down 1
|
||
|
XF86AudioRaiseVolume
|
||
|
lmc up 5
|
||
|
shift+XF86AudioRaiseVolume
|
||
|
lmc up 10
|
||
|
control+XF86AudioRaiseVolume
|
||
|
lmc up 1
|
||
|
XF86AudioNext
|
||
|
lmc next
|
||
|
XF86AudioPlay
|
||
|
lmc toggle
|
||
|
XF86AudioPrev
|
||
|
lmc prev
|
||
|
XF86AudioStop
|
||
|
lmc toggle
|
||
|
XF86MonBrightnessDown
|
||
|
light -U 15
|
||
|
XF86MonBrightnessUp
|
||
|
light -A 15
|
||
|
|
||
|
|
||
|
# Function keys
|
||
|
# Show readme
|
||
|
super + F1
|
||
|
groff -mom $HOME/.local/share/larbs/readme.mom -Tpdf | zathura -
|
||
|
# Browser
|
||
|
super + F2
|
||
|
$BROWSER
|
||
|
# File Manager
|
||
|
super + F3
|
||
|
$TERMINAL -e $FILE
|
||
|
# VS Code
|
||
|
super + F4
|
||
|
code
|
||
|
# xournal
|
||
|
super + F5
|
||
|
xournalpp
|
||
|
# 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
|
||
|
# Reboot
|
||
|
super + F11
|
||
|
prompt "Reboot computer?" "sudo -A shutdown -r now"
|
||
|
# Hibernate
|
||
|
super + F10
|
||
|
prompt 'Hibernate computer?' 'sudo systemctl suspend'
|
||
|
# Shutdown
|
||
|
super + F12
|
||
|
prompt "Shutdown computer?" "sudo -A shutdown -h now"
|
||
|
|
||
|
|