diff options
author | sils <sils@sils.li> | 2024-01-13 15:44:43 +0100 |
---|---|---|
committer | sils <sils@sils.li> | 2024-01-13 15:44:43 +0100 |
commit | 4222225eed05b027c40aade002fa4d1ae16b3701 (patch) | |
tree | 333c0ba58102ab69bfc0928e9177cd58ae4a3cdf /files/nwg-panel/executors/au.sh | |
parent | (sys/services/restic): add storagebox-admin config (diff) | |
download | nix-config-4222225eed05b027c40aade002fa4d1ae16b3701.tar.gz nix-config-4222225eed05b027c40aade002fa4d1ae16b3701.zip |
cleanup obsolete config
Diffstat (limited to 'files/nwg-panel/executors/au.sh')
-rwxr-xr-x | files/nwg-panel/executors/au.sh | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/files/nwg-panel/executors/au.sh b/files/nwg-panel/executors/au.sh deleted file mode 100755 index 2b4a04d..0000000 --- a/files/nwg-panel/executors/au.sh +++ /dev/null @@ -1,18 +0,0 @@ -#!/nix/store/vqvj60h076bhqj6977caz0pfxs6543nb-bash-5.2-p15/bin/bash - -# This is a helper to the arch-updates.py executor -# Add `<your-terminal-here> -e "au.sh; swaymsg reload"` as the On left click action - -# Just in case - warn if battery level < threshold -l=$(acpi | awk -F ',' '{print $2}') -if [[ ! -z "$l" ]]; then - level=${l:1:-1} - threshold=30 - if [[ "$level" -lt "$threshold" ]]; then - echo -e "\n*** BATTERY LEVEL$l, CONNECT AC! ***\n" - fi -fi - -trizen -Syu && -rm /tmp/arch-updates -echo Press enter to exit!; read; |