diff options
| author | David T. Sadler <davidtsadler@googlemail.com> | 2023-12-29 23:01:09 +0000 |
|---|---|---|
| committer | David T. Sadler <davidtsadler@googlemail.com> | 2023-12-29 23:01:09 +0000 |
| commit | d0f3a64ada96f1b442b0e1581d3eed0b46d59fa1 (patch) | |
| tree | 4b825dc642cb6eb9a060e54bf8d69288fbee4904 /.local/bin/statusbar | |
| parent | 944325300410705476734215653895aa8ccc9a99 (diff) | |
Begin move to using stow
Diffstat (limited to '.local/bin/statusbar')
| -rwxr-xr-x | .local/bin/statusbar/battery | 11 | ||||
| -rwxr-xr-x | .local/bin/statusbar/clock | 3 |
2 files changed, 0 insertions, 14 deletions
diff --git a/.local/bin/statusbar/battery b/.local/bin/statusbar/battery deleted file mode 100755 index 9373375..0000000 --- a/.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/.local/bin/statusbar/clock b/.local/bin/statusbar/clock deleted file mode 100755 index d2b8a51..0000000 --- a/.local/bin/statusbar/clock +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -date +"%d %B %Y %R" |
