aboutsummaryrefslogtreecommitdiffstats
path: root/.config/qtile
diff options
context:
space:
mode:
authorDavid Runge <dave@sleepmap.de>2016-05-08 21:01:12 +0200
committerDavid Runge <dave@sleepmap.de>2016-05-08 21:01:12 +0200
commit6b404b23e04ae17e13637bdc1c219d6188ccf516 (patch)
tree524bddd134d7cc8e3eec122dca6139e1656aeaef /.config/qtile
parent2c2817931b08cba74c2f3b76a818bdb0acaaf82e (diff)
downloaddotfiles-6b404b23e04ae17e13637bdc1c219d6188ccf516.tar.gz
dotfiles-6b404b23e04ae17e13637bdc1c219d6188ccf516.tar.bz2
dotfiles-6b404b23e04ae17e13637bdc1c219d6188ccf516.tar.xz
dotfiles-6b404b23e04ae17e13637bdc1c219d6188ccf516.zip
.config/qtile/config.py: Externalizing the brightness steps for xbacklight into separate variable.
Diffstat (limited to '.config/qtile')
-rw-r--r--.config/qtile/config.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/.config/qtile/config.py b/.config/qtile/config.py
index 886eae7..24b44cb 100644
--- a/.config/qtile/config.py
+++ b/.config/qtile/config.py
@@ -13,8 +13,9 @@ terminal = "termite"
drun_launcher = "rofi -show drun"
run_launcher = "rofi -show run"
lock = home+"/bin/i3lock"
-brightness_up = "xbacklight -inc 10"
-brightness_down = "xbacklight -dec 10"
+brightness_step = "5"
+brightness_up = "xbacklight -inc "+brightness_step
+brightness_down = "xbacklight -dec "+brightness_step
volume_up = home+"/bin/set_volume increase"
volume_down = home+"/bin/set_volume decrease"