summaryrefslogtreecommitdiffstats
path: root/.fluxbox
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2021-08-22 20:15:22 (EDT)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2021-08-22 20:15:22 (EDT)
commit8e35c6f415f694c4eab7af77ada67f8a7d9f4f00 (patch)
tree39032b244345d5ecbb404d59eaddfc870ec092b7 /.fluxbox
parent510124ec89a356bcc5d2ad28c3adcf7866c62dea (diff)
downloadfluxbox-8e35c6f415f694c4eab7af77ada67f8a7d9f4f00.zip
fluxbox-8e35c6f415f694c4eab7af77ada67f8a7d9f4f00.tar.gz
fluxbox-8e35c6f415f694c4eab7af77ada67f8a7d9f4f00.tar.bz2
.fluxbox/keys: Use bin/bright
Diffstat (limited to '.fluxbox')
-rw-r--r--.fluxbox/keys4
1 files changed, 2 insertions, 2 deletions
diff --git a/.fluxbox/keys b/.fluxbox/keys
index 178f0b2..20da103 100644
--- a/.fluxbox/keys
+++ b/.fluxbox/keys
@@ -160,8 +160,8 @@ Control Mod1 Delete d :Exec ~/bin/xsession s2disk
Control Mod1 Delete c :Reconfigure
# Brightness
-XF86MonBrightnessUp :Exec if [ $(brightnessctl --class=backlight get) -lt 152 ]; then brightnessctl --class=backlight set 152; else brightnessctl --class=backlight set +200; fi
-XF86MonBrightnessDown :Exec if [ $(brightnessctl --class=backlight get) -lt 202 ]; then brightnessctl --class=backlight set 2; else brightnessctl --class=backlight set 200-; fi
+XF86MonBrightnessUp :Exec ~/bin/bright +
+XF86MonBrightnessDown :Exec ~/bin/bright -
# Audio
XF86AudioRaiseVolume :Exec amixer set Master,0 5dB+