Add backlight management
This commit is contained in:
@@ -56,6 +56,7 @@
|
||||
- pcmanfm
|
||||
- dunst
|
||||
- numlockx
|
||||
- xbacklight
|
||||
- name: Other convenient tools are installed
|
||||
apt: name={{ item }} state=present
|
||||
tags: tools
|
||||
@@ -92,7 +93,6 @@
|
||||
# TODO
|
||||
# i3 bugfixes:
|
||||
# ++ http://www.draconianoverlord.com/2014/05/26/from-xmonad-to-i3.html
|
||||
# Fn keys (sound, brightness ...). Try https://wiki.archlinux.org/index.php/Fcitx ?
|
||||
#
|
||||
# https://github.com/sgentle/caniuse-cmd
|
||||
#
|
||||
|
||||
4
i3.base
4
i3.base
@@ -145,10 +145,14 @@ mode "resize" {
|
||||
|
||||
bindsym $mod+r mode "resize"
|
||||
|
||||
# To get keycodes, run: sudo showkey -k
|
||||
bindsym XF86AudioRaiseVolume exec --no-startup-id handle-volume-change up
|
||||
bindsym XF86AudioLowerVolume exec --no-startup-id handle-volume-change down
|
||||
bindsym XF86AudioMute exec --no-startup-id handle-volume-change mute
|
||||
|
||||
bindsym XF86MonBrightnessUp exec --no-startup-id xbacklight -inc 10
|
||||
bindsym XF86MonBrightnessDown exec --no-startup-id xbacklight -dec 10
|
||||
|
||||
# Start i3bar to display a workspace bar (plus the system information i3status
|
||||
# finds out, if available)
|
||||
bar {
|
||||
|
||||
Reference in New Issue
Block a user