Files
blomarchy/bin/blob-bg-switcher
T

15 lines
463 B
Bash
Executable File

#!/bin/bash
# blob:summary=Open the Blob background switcher
# blob:group=theme
# blob:name=bg-switcher
# blob:aliases=blob background
theme_name=$(cat "$HOME/.local/state/blob/current/theme.name" 2>/dev/null)
current_background=$(readlink -f "$HOME/.local/state/blob/current/background" 2>/dev/null)
blob-menu-images \
--selected "$current_background" \
"$HOME/.local/state/blob/current/theme/backgrounds" \
"$HOME/.config/blob/backgrounds/$theme_name"