Rename themes/skywallpaper → themes/orionwallpaper

Update all internal references: config dir, wallpaper dir, default
image filename, and script header comment.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
nmemmertandClaude Sonnet 4.6 committed 2026-07-23 13:46:11 -04:00
1 parent 33c2f3b66d
commit 194e5c2d51
1 file changed
+11 -11
+11 -11
View File
@@ -1,18 +1,18 @@
#!/usr/bin/env bash #!/usr/bin/env bash
# skywallpaper — set or restore the SkyOS desktop wallpaper # orionwallpaper — set or restore the OrionOS desktop wallpaper
# #
# Usage: # Usage:
# skywallpaper # restore saved wallpaper (called from xinitrc) # orionwallpaper # restore saved wallpaper (called from xinitrc)
# skywallpaper /path/to/image.jpg # set new wallpaper and save it # orionwallpaper /path/to/image.jpg # set new wallpaper and save it
# skywallpaper --color "#6B8FB5" # set solid color # orionwallpaper --color "#6B8FB5" # set solid color
# skywallpaper --reset # reset to default blue-gray solid color # orionwallpaper --reset # reset to default blue-gray solid color
# #
# Wallpaper preference is stored in ~/.config/skyos/wallpaper # Wallpaper preference is stored in ~/.config/orionos/wallpaper
CONF_DIR="$HOME/.config/skyos" CONF_DIR="$HOME/.config/orionos"
CONF_FILE="$CONF_DIR/wallpaper" CONF_FILE="$CONF_DIR/wallpaper"
DEFAULT_COLOR="#1A2840" DEFAULT_COLOR="#1A2840"
WALLPAPER_DIR="/usr/share/skyos/wallpapers" WALLPAPER_DIR="/usr/share/orionos/wallpapers"
mkdir -p "$CONF_DIR" mkdir -p "$CONF_DIR"
@@ -41,9 +41,9 @@ case "${1:-}" in
fi fi
else else
# First run: use default wallpaper if it exists, else solid color # First run: use default wallpaper if it exists, else solid color
if [[ -f "$WALLPAPER_DIR/skyos-default.png" ]]; then if [[ -f "$WALLPAPER_DIR/orionos-default.png" ]]; then
feh --no-fehbg --bg-fill "$WALLPAPER_DIR/skyos-default.png" feh --no-fehbg --bg-fill "$WALLPAPER_DIR/orionos-default.png"
echo "$WALLPAPER_DIR/skyos-default.png" > "$CONF_FILE" echo "$WALLPAPER_DIR/orionos-default.png" > "$CONF_FILE"
else else
xsetroot -solid "$DEFAULT_COLOR" xsetroot -solid "$DEFAULT_COLOR"
echo "color:$DEFAULT_COLOR" > "$CONF_FILE" echo "color:$DEFAULT_COLOR" > "$CONF_FILE"