dotfiles/sxhkd/.config/sxhkd/sxhkdrc
Marty Oehme ad8decb4ef Integrate dynamic colorschemes into applications
Makes polybar use Xresources color values for its colors. Resets rofi
values to their default after being overwritten by the base16 themes.
Makes qutebrowser include the colorscheme in its configuration file.

Ignore dynamically generated colorschemes in .gitignore file.
2020-02-01 11:01:26 +01:00

49 lines
1.3 KiB
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 rofi -show drun -theme /themes/dmenu
# open more extensive run menu
super + r
exec rofi -modi combi,ssh,calc -show combi -combi-modi "window,clipboard:greenclip print,run"
# open gopass frontend menu
super + p
exec rofi-gopass
# open surfraw rofi frontend
super + q
exec rofi-surfraw
# System functionality
# Enable lock screen (TODO does not stop music, etc yet
super + x
lockscreen
# Open System Power Menu
super + BackSpace
rofi -modi "powermenu:~/.config/rofi/modes/powermenu" -show powermenu -theme themes/powermenu
# quick-switching of theme using styler
super + F8
styler set $(styler list themes | rofi -dmenu -theme /themes/dmenu -matching fuzzy)
# 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`