Add backlight management

This commit is contained in:
Pierre Martin
2015-09-27 09:47:55 +02:00
parent fddf81018b
commit 86a7c8a3ee
2 changed files with 5 additions and 1 deletions

View File

@@ -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
#

View File

@@ -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 {