summaryrefslogtreecommitdiffstats
path: root/backlight
diff options
context:
space:
mode:
Diffstat (limited to 'backlight')
-rwxr-xr-xbacklight3
1 files changed, 3 insertions, 0 deletions
diff --git a/backlight b/backlight
new file mode 100755
index 0000000..53c9369
--- /dev/null
+++ b/backlight
@@ -0,0 +1,3 @@
+#!/usr/bin/sh
+BRIGHTNESS=$(xbacklight -get | awk '{print int($1)}')
+echo "☀ ${BRIGHTNESS}%"