diff options
| author | Ambrose <me@librelife.org> | 2026-01-09 23:51:54 -0500 |
|---|---|---|
| committer | Ambrose <me@librelife.org> | 2026-01-09 23:51:54 -0500 |
| commit | 72d16916a45de1a6f0751997b1cfbc6c85949429 (patch) | |
| tree | 26db292a7b8f25db9ba1b9a4d3e13582e11add31 | |
| parent | 8cddbbb58b26aa91e94979c46af12e52ac4a04d1 (diff) | |
Fixed one script and removed battery section
| -rw-r--r-- | blocks.h | 4 | ||||
| -rwxr-xr-x | scripts/sb-volume | 2 |
2 files changed, 3 insertions, 3 deletions
@@ -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 |