Set up function keys for i3

This commit is contained in:
Marty Oehme 2019-04-29 15:52:49 +02:00
parent 10f85e19b0
commit 574afea895

View file

@ -196,5 +196,14 @@ bindsym $mod+Shift+s exec --no-startup-id `[ $(printf "NO\nYES" | dmenu \
# lock i3 screen # lock i3 screen
bindsym $mod+Shift+p exec i3lock bindsym $mod+Shift+p exec i3lock
# 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/
bindsym XF86MonBrightnessUp exec `xbacklight -inc 10`
bindsym XF86MonBrightnessDown exec `xbacklight -dec 10`
bindsym XF86AudioMute exec `pulsemixer --toggle-mute`
bindsym XF86AudioRaiseVolume exec `pulsemixer --change-volume +5`
bindsym XF86AudioLowerVolume exec `pulsemixer --change-volume -5`
# set a pretty wallpaper # set a pretty wallpaper
exec_always --no-startup-id feh --bg-scale ~/Pictures/wall.jpg exec_always --no-startup-id feh --bg-scale ~/Pictures/wall.jpg