2019-05-22 12:41:33 +00:00
|
|
|
# universal x key bindings
|
|
|
|
|
|
|
|
# Open terminal emulator (TODO find way to not hard-code alacritty, perhaps ENV vars)
|
2019-09-05 11:04:18 +00:00
|
|
|
super + Return
|
2019-05-22 12:41:33 +00:00
|
|
|
exec alacritty
|
|
|
|
|
|
|
|
# open quick start menu
|
2019-09-05 11:04:18 +00:00
|
|
|
super + space
|
2019-09-05 19:15:50 +00:00
|
|
|
exec rofi -show drun -theme /themes/dmenu
|
2019-05-22 12:41:33 +00:00
|
|
|
|
2019-09-05 19:41:07 +00:00
|
|
|
# open more extensive run menu
|
|
|
|
super + r
|
2019-10-24 15:07:15 +00:00
|
|
|
exec rofi -modi combi,ssh,calc -show combi -combi-modi "window,clipboard:greenclip print,run"
|
2019-09-05 19:41:07 +00:00
|
|
|
|
2019-09-18 15:55:44 +00:00
|
|
|
# open gopass frontend menu
|
2019-09-18 14:01:06 +00:00
|
|
|
super + p
|
|
|
|
exec rofi-gopass
|
|
|
|
|
2019-09-18 15:55:44 +00:00
|
|
|
# open surfraw rofi frontend
|
|
|
|
super + q
|
|
|
|
exec rofi-surfraw
|
|
|
|
|
2019-05-22 12:41:33 +00:00
|
|
|
# System functionality
|
|
|
|
|
|
|
|
# Enable lock screen (TODO does not stop music, etc yet
|
|
|
|
super + x
|
2019-09-05 11:04:18 +00:00
|
|
|
lockscreen
|
2019-05-22 12:41:33 +00:00
|
|
|
|
2019-09-05 11:04:18 +00:00
|
|
|
# Open System Power Menu
|
2019-05-22 12:41:33 +00:00
|
|
|
super + BackSpace
|
2019-09-10 21:47:50 +00:00
|
|
|
rofi -modi "powermenu:~/.config/rofi/modes/powermenu" -show powermenu -theme themes/powermenu
|
2019-05-22 12:41:33 +00:00
|
|
|
|
|
|
|
# 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`
|