Move bar-settings and background-switcher into the shell

This commit is contained in:
Ryan Hughes
2026-05-14 02:21:48 -04:00
parent c72a8756b3
commit 714e8a453b
14 changed files with 863 additions and 116 deletions
+1 -11
View File
@@ -5,14 +5,4 @@
# omarchy:name=bar-settings
# omarchy:examples=omarchy launch bar-settings
OMARCHY_PATH="${OMARCHY_PATH:-$HOME/.local/share/omarchy}"
CONFIG_DIR="$OMARCHY_PATH/default/quickshell/bar-settings"
if quickshell list -p "$CONFIG_DIR" 2>/dev/null | grep -q '^Instance '; then
if ! hyprctl dispatch focuswindow 'title:Omarchy bar settings' 2>/dev/null | grep -q ok; then
hyprctl dispatch focuswindow 'initialTitle:Omarchy bar settings' >/dev/null 2>&1
fi
exit 0
fi
setsid uwsm-app -- env OMARCHY_PATH="$OMARCHY_PATH" quickshell -p "$CONFIG_DIR" >/dev/null 2>&1 &
exec omarchy-shell-ipc shell summon omarchy.bar-settings "{}"