configuration form the arch linux stored

This commit is contained in:
filipriec
2025-09-22 08:27:51 +02:00
commit 3e6d1a0d61
166 changed files with 807076 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
#!/bin/bash
TOGGLE_FILE=~/.config/polybar/scripts/battery_toggle_state
# Read the current state
CURRENT_STATE=$(cat $TOGGLE_FILE)
# Toggle the state
if [ "$CURRENT_STATE" == "icon" ]; then
echo "percentage" > $TOGGLE_FILE
else
echo "icon" > $TOGGLE_FILE
fi
# Notify Polybar to refresh the module
polybar-msg hook battery 1