Regenerated

This commit is contained in:
2026-04-20 20:05:41 +02:00
parent 38a5cb8a29
commit 038393e5fb
4 changed files with 428 additions and 370 deletions
+10
View File
@@ -0,0 +1,10 @@
#!/usr/bin/env bash
# --- This file has been auto-generated. For permanent changes alter the appropriate block in the README.org. ---
DEVICE=$(kdeconnect-cli --list-devices | awk -F: '/Device ID/ {print $2; exit}' | xargs)
if [ -z "$DEVICE" ]; then
echo "No phone"
exit 0
fi
NAME=$(kdeconnect-cli -d "$DEVICE" --name)
BATTERY=$(kdeconnect-cli -d "$DEVICE" --battery | grep -o '[0-9]\+')
echo "$NAME $BATTERY%"
+7 -2
View File
@@ -202,8 +202,6 @@
"icon-size": 14
},
"battery": {
"bat": "BAT0",
"states": {
@@ -215,5 +213,12 @@
"format-charging": "{capacity}% 󰂄",
"format-plugged": "{capacity}%  ",
"format-icons": ["󰁺", "󰁼", "󰁾", "󰂀", "󱈏 "]
},
"kdeconnect": {
"format": "{name} {battery}% ",
"interval": 10,
"exec": "~/.config/scripts/kdeconnect-status.sh",
"tooltip": true
}
}