summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAmbrose <me@librelife.org>2026-01-09 23:51:54 -0500
committerAmbrose <me@librelife.org>2026-01-09 23:51:54 -0500
commit72d16916a45de1a6f0751997b1cfbc6c85949429 (patch)
tree26db292a7b8f25db9ba1b9a4d3e13582e11add31
parent8cddbbb58b26aa91e94979c46af12e52ac4a04d1 (diff)
Fixed one script and removed battery section
-rw-r--r--blocks.h4
-rwxr-xr-xscripts/sb-volume2
2 files changed, 3 insertions, 3 deletions
diff --git a/blocks.h b/blocks.h
index b94afdd..d7eabbc 100644
--- a/blocks.h
+++ b/blocks.h
@@ -14,8 +14,8 @@ static const Block blocks[] = {
{"Mem: ", "sb-memory", 1, 0},
{"Temp: ", "sb-cputemp -f", 1, 0},
//{"IP: ", "sb-network", 1, 0},
- {"Bat: ", "sb-battery", 60, 0},
- {"", "date '+%b %d, %H:%M'", 1, 0},
+ //{"Bat: ", "sb-battery", 60, 0},
+ {"", "date '+%b %d, %I:%M %p'", 1, 0},
};
//sets delimeter between status commands. NULL character ('\0') means no delimeter.
diff --git a/scripts/sb-volume b/scripts/sb-volume
index 0736259..21cc993 100755
--- a/scripts/sb-volume
+++ b/scripts/sb-volume
@@ -5,7 +5,7 @@ _bsd() {
}
_linux() {
- printf "$(pamixer --get-volume)%%\n"
+ pactl get-sink-volume @DEFAULT_SINK@ | awk '{print $5}'
}
case $(uname) in