Initial backup

This commit is contained in:
2020-04-27 15:28:35 +02:00
parent 9b8c235753
commit be88ded986
34 changed files with 2161 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
#!/bin/bash
STATE="$(cat /proc/acpi/bbswitch | grep -o "ON\|OFF")"
if [ "$STATE" == "ON" ];
then
LOAD="$(~/.xmonad/scripts/getdGPULoad.py)"
echo "${STATE} (${LOAD}%)"
else
echo "OFF"
fi