Marty Oehme
3d9ea5cffe
Use rofi-powermenu to show options for suspend,reboot, shutdown, lockscreen, log out. Can be invoked with <M-backspace>. Other power option shortcuts have been removed from quick access through sxhkd or i3. Lockscreen can still be quickly set with <M-x>. Lockscreen now resides in its own script to provide one source of truth, and in case it is further customized in the future.
33 lines
835 B
Text
33 lines
835 B
Text
# universal x key bindings
|
|
|
|
# Open terminal emulator (TODO find way to not hard-code alacritty, perhaps ENV vars)
|
|
super + Return
|
|
exec alacritty
|
|
|
|
# open quick start menu
|
|
super + space
|
|
exec i3-dmenu-desktop
|
|
|
|
# System functionality
|
|
|
|
# Enable lock screen (TODO does not stop music, etc yet
|
|
super + x
|
|
lockscreen
|
|
|
|
# Open System Power Menu
|
|
super + BackSpace
|
|
rofi-powermenu
|
|
|
|
# enable function (/media) key functionality
|
|
# TODO: set up next song, previous song, pause, etc
|
|
# see: https://www.reddit.com/r/i3wm/comments/3a6nh3/help_how_to_use_function_keys_in_i3_config/
|
|
XF86MonBrightnessUp
|
|
exec `xbacklight -inc 10`
|
|
XF86MonBrightnessDown
|
|
exec `xbacklight -dec 10`
|
|
XF86AudioMute
|
|
exec `pulsemixer --toggle-mute`
|
|
XF86AudioRaiseVolume
|
|
exec `pulsemixer --change-volume +5`
|
|
XF86AudioLowerVolume
|
|
exec `pulsemixer --change-volume -5`
|