From 90f0475a9d759e536a68a5f46d9925c464fe5f93 Mon Sep 17 00:00:00 2001 From: Ryan Hughes Date: Thu, 14 May 2026 16:33:51 -0400 Subject: [PATCH] Rename refresh-bar -> refresh-shell, restart-quickshell -> restart-shell The bin names should reflect the thing they manage. `refresh bar` is misleading because the command resets the entire shell.json (which holds plugins beyond just the bar), and `restart quickshell` names the runtime rather than the product. Both now end in `-shell` to match the rest of omarchy-shell. Updates every caller in autostart, the menu, voxtype helpers, and the shell README. No behavior changes. --- bin/{omarchy-refresh-bar => omarchy-refresh-shell} | 2 +- bin/{omarchy-restart-quickshell => omarchy-restart-shell} | 4 ++-- bin/omarchy-voxtype-install | 2 +- bin/omarchy-voxtype-model | 2 +- default/hypr/autostart.lua | 2 +- default/omarchy/omarchy-menu.jsonc | 4 ++-- default/quickshell/omarchy-shell/README.md | 2 +- 7 files changed, 9 insertions(+), 9 deletions(-) rename bin/{omarchy-refresh-bar => omarchy-refresh-shell} (91%) rename bin/{omarchy-restart-quickshell => omarchy-restart-shell} (70%) diff --git a/bin/omarchy-refresh-bar b/bin/omarchy-refresh-shell similarity index 91% rename from bin/omarchy-refresh-bar rename to bin/omarchy-refresh-shell index 7a20739f..e462f576 100755 --- a/bin/omarchy-refresh-bar +++ b/bin/omarchy-refresh-shell @@ -1,7 +1,7 @@ #!/bin/bash # omarchy:summary=Reset shell.json to Omarchy defaults -# omarchy:examples=omarchy refresh bar +# omarchy:examples=omarchy refresh shell set -e diff --git a/bin/omarchy-restart-quickshell b/bin/omarchy-restart-shell similarity index 70% rename from bin/omarchy-restart-quickshell rename to bin/omarchy-restart-shell index dde50bb9..0211930e 100755 --- a/bin/omarchy-restart-quickshell +++ b/bin/omarchy-restart-shell @@ -1,7 +1,7 @@ #!/bin/bash -# omarchy:summary=Restart Omarchy Quickshell -# omarchy:examples=omarchy restart quickshell | omarchy-restart-quickshell +# omarchy:summary=Restart the Omarchy shell +# omarchy:examples=omarchy restart shell OMARCHY_PATH=${OMARCHY_PATH:-$HOME/.local/share/omarchy} CONFIG_DIR="$OMARCHY_PATH/default/quickshell/omarchy-shell" diff --git a/bin/omarchy-voxtype-install b/bin/omarchy-voxtype-install index 22929e80..0f712db2 100755 --- a/bin/omarchy-voxtype-install +++ b/bin/omarchy-voxtype-install @@ -20,6 +20,6 @@ if gum confirm "Install Voxtype + AI model (~150MB) to enable dictation?"; then fi voxtype setup systemd - omarchy-restart-quickshell + omarchy-restart-shell notify-send -a omarchy-action " Voxtype Dictation Ready" "Hold F9 to dictate (or toggle with Super + Ctrl + X)." -t 10000 fi diff --git a/bin/omarchy-voxtype-model b/bin/omarchy-voxtype-model index 97ce1658..f513cb0d 100755 --- a/bin/omarchy-voxtype-model +++ b/bin/omarchy-voxtype-model @@ -5,4 +5,4 @@ set -e omarchy-launch-floating-terminal-with-presentation "voxtype setup model" -omarchy-restart-quickshell +omarchy-restart-shell diff --git a/default/hypr/autostart.lua b/default/hypr/autostart.lua index 51cd83c0..dab4d2da 100644 --- a/default/hypr/autostart.lua +++ b/default/hypr/autostart.lua @@ -1,6 +1,6 @@ hl.on("hyprland.start", function() hl.exec_cmd("uwsm-app -- hypridle") - hl.exec_cmd("omarchy-restart-quickshell") + hl.exec_cmd("omarchy-restart-shell") hl.exec_cmd("uwsm-app -- fcitx5 --disable notificationitem") hl.exec_cmd("uwsm-app -- swaybg -i ~/.config/omarchy/current/background -m fill") hl.exec_cmd("/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1") diff --git a/default/omarchy/omarchy-menu.jsonc b/default/omarchy/omarchy-menu.jsonc index 22379a69..dd969ebe 100644 --- a/default/omarchy/omarchy-menu.jsonc +++ b/default/omarchy/omarchy-menu.jsonc @@ -313,7 +313,7 @@ "update.process.hyprsunset": {"icon":"","label":"Hyprsunset","keywords":"restart","action":"omarchy-restart-hyprsunset"}, "update.process.swayosd": {"icon":"","label":"Swayosd","keywords":"restart","action":"omarchy-restart-swayosd"}, "update.process.walker": {"icon":"󰌧","label":"Walker","keywords":"restart launcher","action":"omarchy-restart-walker"}, - "update.process.quickshell": {"icon":"󰍜","label":"Quickshell","keywords":"restart bar shell","action":"omarchy-restart-quickshell"}, + "update.process.shell": {"icon":"󰍜","label":"Shell","keywords":"restart bar quickshell omarchy-shell","action":"omarchy-restart-shell"}, "update.config.hyprland": {"icon":"","label":"Hyprland","keywords":"refresh","action":"present_terminal omarchy-refresh-hyprland"}, "update.config.hypridle": {"icon":"","label":"Hypridle","keywords":"refresh","action":"present_terminal omarchy-refresh-hypridle"}, "update.config.hyprlock": {"icon":"","label":"Hyprlock","keywords":"refresh","action":"present_terminal omarchy-refresh-hyprlock"}, @@ -322,7 +322,7 @@ "update.config.swayosd": {"icon":"","label":"Swayosd","keywords":"refresh","action":"present_terminal omarchy-refresh-swayosd"}, "update.config.tmux": {"icon":"","label":"Tmux","keywords":"refresh","action":"present_terminal omarchy-refresh-tmux"}, "update.config.walker": {"icon":"󰌧","label":"Walker","keywords":"refresh","action":"present_terminal omarchy-refresh-walker"}, - "update.config.bar": {"icon":"󰍜","label":"Bar","keywords":"refresh quickshell","action":"present_terminal omarchy-refresh-bar"}, + "update.config.shell": {"icon":"󰍜","label":"Shell","keywords":"refresh bar quickshell","action":"present_terminal omarchy-refresh-shell"}, "update.hardware.audio": {"icon":"","label":"Audio","keywords":"restart pipewire","action":"present_terminal omarchy-restart-pipewire"}, "update.hardware.wifi": {"icon":"󱚾","label":"Wi-Fi","keywords":"restart wireless","action":"present_terminal omarchy-restart-wifi"}, "update.hardware.bluetooth": {"icon":"󰂯","label":"Bluetooth","keywords":"restart","action":"present_terminal omarchy-restart-bluetooth"}, diff --git a/default/quickshell/omarchy-shell/README.md b/default/quickshell/omarchy-shell/README.md index db8b5c3c..1c40b759 100644 --- a/default/quickshell/omarchy-shell/README.md +++ b/default/quickshell/omarchy-shell/README.md @@ -119,7 +119,7 @@ Direct invocation: quickshell ipc -p $OMARCHY_PATH/default/quickshell/omarchy-shell call shell ping ``` -Hyprland starts the shell through `omarchy-restart-quickshell` on boot. +Hyprland starts the shell through `omarchy-restart-shell` on boot. Use `omarchy restart quickshell` to reload the long-running shell process. A convenience wrapper, [`omarchy-shell-ipc`](../../../bin/omarchy-shell-ipc),