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
+391 -366
View File
File diff suppressed because it is too large Load Diff
+20 -2
View File
@@ -4461,8 +4461,6 @@ These are config files for waybar
"icon-size": 14
},
"battery": {
"bat": "BAT0",
"states": {
@@ -4474,6 +4472,13 @@ These are config files for waybar
"format-charging": "{capacity}% 󰂄",
"format-plugged": "{capacity}%  ",
"format-icons": ["󰁺", "󰁼", "󰁾", "󰂀", "󱈏 "]
},
"kdeconnect": {
"format": "{name} {battery}% ",
"interval": 10,
"exec": "~/.config/scripts/kdeconnect-status.sh",
"tooltip": true
}
}
@@ -4785,6 +4790,19 @@ addr=$(echo "$clients" | grep "|$choice" | head -n1 | cut -d'|' -f1)
hyprctl dispatch focuswindow address:"$addr"
#+END_SRC
** =generated/.config/scripts/kdeconnect-status.sh=
These are config files for waybar
#+BEGIN_SRC sh :tangle generated/.config/scripts/kdeconnect-status.sh :shebang "#!/usr/bin/env bash" :noweb yes :mkdirp yes :eval never
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%"
#+END_SRC
** =generated/.config/waypaper/config.ini=
These are config files for waypaper
#+BEGIN_SRC conf :tangle generated/.config/waypaper/config.ini :noweb yes :mkdirp yes :eval never
+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
}
}