[AGS] Bar: Done (WiFi still missing, will be added at some later point)

This commit is contained in:
2025-04-24 16:58:30 +02:00
parent e93e051094
commit 10136ab9de
48 changed files with 1423 additions and 548 deletions

20
scripts/get-profile-picture Executable file
View File

@@ -0,0 +1,20 @@
#!/bin/bash
USER_NAME=$(whoami)
# Common paths to check
paths=(
"/var/lib/AccountsService/icons/$USER_NAME"
"$HOME/.face"
"$HOME/.face.icon"
)
for path in "${paths[@]}"; do
if [ -f "$path" ]; then
echo "$path"
exit 0
fi
done
# Nothing found — exit silently or optionally with an error code
exit 0