mirror of
https://github.com/arthur-pbty/arthur-os.git
synced 2026-08-07 04:30:55 +02:00
Consolidates bar-settings into a single 'settings' plugin with sidebar categories: Defaults, Style, Bar, System, Plugins. Updates supporting commands (omarchy-launch-settings, omarchy-style-corners-quickshell, omarchy-theme-list-with-previews, omarchy-hyprland-monitor-scaling-set) and refreshes sidebar glyphs to Nerd Font icons.
24 lines
590 B
Bash
Executable File
24 lines
590 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# omarchy:summary=Launch the Omarchy settings panel
|
|
# omarchy:group=launch
|
|
# omarchy:name=settings
|
|
# omarchy:args=[bar|plugins|defaults|style]
|
|
# omarchy:examples=omarchy launch settings | omarchy launch settings defaults | omarchy launch settings style
|
|
|
|
category="${1:-}"
|
|
payload="{}"
|
|
case "$category" in
|
|
bar|plugins|defaults|style)
|
|
payload=$(printf '{"category":"%s"}' "$category")
|
|
;;
|
|
"")
|
|
;;
|
|
*)
|
|
echo "Usage: omarchy-launch-settings [bar|plugins|defaults|style]" >&2
|
|
exit 1
|
|
;;
|
|
esac
|
|
|
|
exec omarchy-shell-ipc shell summon omarchy.settings "$payload"
|