From f300ba9a9302e70dcc72523639aecc1e04feec53 Mon Sep 17 00:00:00 2001 From: Vidhu Kant Sharma Date: Mon, 12 Sep 2022 10:19:13 +0530 Subject: switched back to polybar --- .scripts/battery_level.sh | 3 +++ 1 file changed, 3 insertions(+) create mode 100755 .scripts/battery_level.sh (limited to '.scripts/battery_level.sh') diff --git a/.scripts/battery_level.sh b/.scripts/battery_level.sh new file mode 100755 index 0000000..a1b1b48 --- /dev/null +++ b/.scripts/battery_level.sh @@ -0,0 +1,3 @@ +#!/bin/sh + +acpi -b | awk '{print $4}' | sed 's/,//' | tr -d '\n' -- cgit v1.2.3