diff options
| author | Amstel <shinamusuteru.rdc@gmail.com> | 2025-06-11 15:44:46 +0800 |
|---|---|---|
| committer | Amstel <shinamusuteru.rdc@gmail.com> | 2025-06-11 15:44:46 +0800 |
| commit | 92f05c00281d63f9aa21f1575547a36da4e2fc42 (patch) | |
| tree | 4ed9da8e1defb294ee2e11b9744400ee4392c102 /scripts/caelestia-avatar-picker.sh | |
| parent | Dashboard Avatar Picker 1.0a (diff) | |
| download | caelestia-shell-92f05c00281d63f9aa21f1575547a36da4e2fc42.tar.gz caelestia-shell-92f05c00281d63f9aa21f1575547a36da4e2fc42.tar.bz2 caelestia-shell-92f05c00281d63f9aa21f1575547a36da4e2fc42.zip | |
Revert "Dashboard Avatar Picker 1.0a"
This reverts commit 9308c9b67f491ff32c57d037f16ac6e9148f9dae.
Diffstat (limited to '')
| -rwxr-xr-x | scripts/caelestia-avatar-picker.sh | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/scripts/caelestia-avatar-picker.sh b/scripts/caelestia-avatar-picker.sh deleted file mode 100755 index 4ca5cfb..0000000 --- a/scripts/caelestia-avatar-picker.sh +++ /dev/null @@ -1,21 +0,0 @@ -#!/bin/bash - -export DISPLAY=${DISPLAY:-:0} -export DBUS_SESSION_BUS_ADDRESS=${DBUS_SESSION_BUS_ADDRESS:-"unix:path=/run/user/$UID/bus"} - -# Pick an image file with zenity -FILE=$(zenity --file-selection --file-filter="Images | *.png *.jpg *.jpeg *.webp") - -# Exit if cancelled -[ -z "$FILE" ] && exit 1 - -# Deletes existing ~/.face & caches -rm -f "$HOME/.face" -rm -f "$HOME/.cache/caelestia/thumbnails/@0x0-exact.png" -rm -f "$HOME/.cache/caelestia/thumbnails/@93x93-exact.png" -rm -f "$HOME/.cache/caelestia/thumbnails/@93x94-exact.png" -rm -f "$HOME/.cache/caelestia/thumbnails/@94x94-exact.png" - -cp "$FILE" "$HOME/.face" - -echo "$HOME/.face" |