diff options
| author | David T. Sadler <davidtsadler@googlemail.com> | 2023-12-30 11:47:56 +0000 |
|---|---|---|
| committer | David T. Sadler <davidtsadler@googlemail.com> | 2023-12-30 11:47:56 +0000 |
| commit | 5d631bd3ad7f78e8ca69d7001cada582fcd8d18f (patch) | |
| tree | 0e1e87fc8c75eea323b31fe8b67e76241210d3b2 /statusbar/.local | |
| parent | 82cd5a7b072b4060c6f6ce519a904772dd5f2a0d (diff) | |
Diffstat (limited to 'statusbar/.local')
| -rwxr-xr-x | statusbar/.local/bin/statusbar/battery | 11 | ||||
| -rwxr-xr-x | statusbar/.local/bin/statusbar/clock | 3 |
2 files changed, 0 insertions, 14 deletions
diff --git a/statusbar/.local/bin/statusbar/battery b/statusbar/.local/bin/statusbar/battery deleted file mode 100755 index 9373375..0000000 --- a/statusbar/.local/bin/statusbar/battery +++ /dev/null @@ -1,11 +0,0 @@ -#!/bin/sh - -for battery in /sys/class/power_supply/BAT? -do - # Get its remaining capacity and charge status. - capacity=$(cat "$battery"/capacity 2>/dev/null) || break - status=$(cat "$battery"/status 2>/dev/null) || break - - printf "[%s%%]%s " "$capacity" "$status" - unset warn -done diff --git a/statusbar/.local/bin/statusbar/clock b/statusbar/.local/bin/statusbar/clock deleted file mode 100755 index d2b8a51..0000000 --- a/statusbar/.local/bin/statusbar/clock +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -date +"%d %B %Y %R" |
