summaryrefslogtreecommitdiff
path: root/i3blocks-battery.sh
diff options
context:
space:
mode:
Diffstat (limited to 'i3blocks-battery.sh')
-rwxr-xr-xi3blocks-battery.sh15
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