~funderscore blog cgit wiki get in touch
aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVitali64 <vitali64pmemail@protonmail.com>2022-01-01 14:36:09 +0100
committerVitali64 <vitali64pmemail@protonmail.com>2022-01-01 14:36:09 +0100
commitb0d82e375fa4298fb6a4ea4de8235a69c265558b (patch)
treebfeaa850aec34bbecd783e7adb74bcc1efd2e119
parent9ee859ca2c44245f9e57ad9533cc4364d71d3592 (diff)
downloaddwmblocks-master.tar.gz
Add backlight info (xbacklight)HEADmaster
-rw-r--r--blocks.h4
-rwxr-xr-xdwmblocksbin17968 -> 17968 bytes
2 files changed, 2 insertions, 2 deletions
diff --git a/blocks.h b/blocks.h
index 28f769c..0a8f9c8 100644
--- a/blocks.h
+++ b/blocks.h
@@ -5,8 +5,8 @@ static const Block blocks[] = {
{" ", "awk '{print $0\"%\"}' /sys/class/power_supply/BAT?/capacity", 10, 0},
{" ", "date +%R", 1, 0},
{"糖 ", "sensors | awk '/Core 0/ { print $3 }' | sed 's/+//;s/\\.[0-9]//' ", 10, 0},
- {"蓼 ", "amixer sget Master|grep %|awk -F'[][]' '{ print $2 }' ", 0, 10}
-
+ {"蓼 ", "amixer sget Master|grep %|awk -F'[][]' '{ print $2 }' ", 0, 10},
+ {" ", "xbacklight", 0, 15},
};
//sets delimeter between status commands. NULL character ('\0') means no delimeter.
diff --git a/dwmblocks b/dwmblocks
index aca18cb..7ac29c6 100755
--- a/dwmblocks
+++ b/dwmblocks
Binary files differ