From 7eebb7e7577fa1531726e04b0b810986a26835ba Mon Sep 17 00:00:00 2001 From: MikunoNaka Date: Tue, 15 Jun 2021 22:55:19 +0530 Subject: added scfripts to check battery and fixed play-webcam.sh --- .scripts/battery_status.sh | 2 ++ 1 file changed, 2 insertions(+) create mode 100755 .scripts/battery_status.sh (limited to '.scripts/battery_status.sh') diff --git a/.scripts/battery_status.sh b/.scripts/battery_status.sh new file mode 100755 index 0000000..a66bd70 --- /dev/null +++ b/.scripts/battery_status.sh @@ -0,0 +1,2 @@ +#!/bin/sh +acpi -b | awk '{print substr($4, 0, length($2) + 1) ", " substr($3, 0, length($3) - 1)}' -- cgit v1.2.3