Fork the desktop off Omarchy as a self-contained system

This commit is contained in:
2026-09-19 23:50:39 -04:00
parent 16a56f49a1
commit 9501f2bb4d
559 changed files with 43273 additions and 0 deletions
+25
View File
@@ -0,0 +1,25 @@
#!/bin/bash
# blob:summary=Set the current background image
# blob:args=<path-to-image>
# blob:examples=blob theme bg set ~/Pictures/background.png
if [[ -z $1 ]]; then
echo "Usage: blob-bg-set <path-to-image>" >&2
exit 1
fi
BACKGROUND="$(realpath "$1")"
CURRENT_BACKGROUND_LINK="$HOME/.local/state/blob/current/background"
if [[ ! -f $BACKGROUND ]]; then
echo "File does not exist: $BACKGROUND" >&2
exit 1
fi
# Create symlink to the new background
ln -nsf "$BACKGROUND" "$CURRENT_BACKGROUND_LINK"
# Update the live shell background immediately when it is running. The
# background plugin also polls this symlink, but IPC avoids the visible delay.
blob-shell -q background set "$BACKGROUND"