summaryrefslogtreecommitdiff
path: root/sys/dwmblocks-brightness
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dwmblocks-brightness')
-rwxr-xr-xsys/dwmblocks-brightness4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/dwmblocks-brightness b/sys/dwmblocks-brightness
new file mode 100755
index 0000000..34390db
--- /dev/null
+++ b/sys/dwmblocks-brightness
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+v=$(xbacklight -get)
+echo " ${v%%.*}%"