diff options
author | Adam T. Carpenter <atc@53hor.net> | 2021-02-28 08:15:17 -0500 |
---|---|---|
committer | Adam T. Carpenter <atc@53hor.net> | 2021-02-28 08:15:17 -0500 |
commit | 186125d7512bd4dd095cd7b60bc648eb603c2290 (patch) | |
tree | 6392b7d9cfd4aedea093b98152d83b8d7a01afec /i3blocks-battery.sh | |
parent | fef48aa78c305db6b5be81bff5facacba0a76f5f (diff) | |
download | scripts-186125d7512bd4dd095cd7b60bc648eb603c2290.tar.xz scripts-186125d7512bd4dd095cd7b60bc648eb603c2290.zip |
moved all i3-related scripts into i3 or i3blocks config
Diffstat (limited to 'i3blocks-battery.sh')
-rwxr-xr-x | i3blocks-battery.sh | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/i3blocks-battery.sh b/i3blocks-battery.sh deleted file mode 100755 index c37c7a2..0000000 --- a/i3blocks-battery.sh +++ /dev/null @@ -1,15 +0,0 @@ -#!/bin/sh -icon_high= -icon_low= -icon_crit= -icon_charging= - -status=$(apm -b) -level=$(apm -l) - -[ $status -eq 0 ] && printf "%s" $icon_high -[ $status -eq 1 ] && printf "%s" $icon_low -[ $status -eq 2 ] && printf "%s" $icon_crit && notify-send "Battery critically low" -[ $status -eq 3 ] && printf "%s" $icon_charging - -printf "%s%%\n" $level |