Fork the desktop off Omarchy as a self-contained system
This commit is contained in:
Executable
+12
@@ -0,0 +1,12 @@
|
||||
#!/bin/bash
|
||||
|
||||
# blob:summary=Show current background
|
||||
# blob:examples=blob theme bg current
|
||||
|
||||
BACKGROUND_PATH=$(readlink -f "$HOME/.local/state/blob/current/background" 2>/dev/null)
|
||||
|
||||
if [[ -n $BACKGROUND_PATH ]]; then
|
||||
basename -- "$BACKGROUND_PATH" | perl -pe 's/\.[^.]+$//; s/^\d+-//; s/-/ /g; s/\b(\w)/\U$1/g'
|
||||
else
|
||||
echo "Unknown"
|
||||
fi
|
||||
Reference in New Issue
Block a user