From 6b1b73b87c98e9b96dd456db74fcc58062c6db7f Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Thu, 16 Oct 2025 13:59:08 +0300 Subject: [PATCH] Use uwsm-app instead of uwsm app consistently --- bin/omarchy-launch-walker | 2 +- bin/omarchy-restart-walker | 8 ++++---- config/hypr/bindings.conf | 6 +++--- default/hypr/autostart.conf | 16 ++++++++-------- migrations/1753138691.sh | 2 +- migrations/1753224615.sh | 2 +- migrations/1757877852.sh | 4 ++-- migrations/1758019332.sh | 2 +- 8 files changed, 21 insertions(+), 21 deletions(-) diff --git a/bin/omarchy-launch-walker b/bin/omarchy-launch-walker index 4de48be4..e52f48d3 100755 --- a/bin/omarchy-launch-walker +++ b/bin/omarchy-launch-walker @@ -2,7 +2,7 @@ # Ensure elephant is running before launching walker if ! pgrep -x elephant > /dev/null; then - setsid uwsm app -- elephant & + setsid uwsm-app -- elephant & fi exec walker "$@" diff --git a/bin/omarchy-restart-walker b/bin/omarchy-restart-walker index 7b09d351..4abcb88e 100755 --- a/bin/omarchy-restart-walker +++ b/bin/omarchy-restart-walker @@ -12,10 +12,10 @@ if [[ $EUID -eq 0 ]]; then # Restart services as the script owner systemd-run --uid="$SCRIPT_OWNER" --setenv=XDG_RUNTIME_DIR="/run/user/$USER_UID" \ bash -c " - setsid uwsm app -- elephant & - setsid uwsm app -- walker --gapplication-service & + setsid uwsm-app -- elephant & + setsid uwsm-app -- walker --gapplication-service & " else - setsid uwsm app -- elephant & - setsid uwsm app -- walker --gapplication-service & + setsid uwsm-app -- elephant & + setsid uwsm-app -- walker --gapplication-service & fi diff --git a/config/hypr/bindings.conf b/config/hypr/bindings.conf index ba7343e3..954929ed 100644 --- a/config/hypr/bindings.conf +++ b/config/hypr/bindings.conf @@ -3,16 +3,16 @@ $terminal = uwsm-app -- $TERMINAL $browser = omarchy-launch-browser bindd = SUPER, RETURN, Terminal, exec, $terminal --working-directory="$(omarchy-cmd-terminal-cwd)" -bindd = SUPER SHIFT, F, File manager, exec, uwsm app -- nautilus --new-window +bindd = SUPER SHIFT, F, File manager, exec, uwsm-app -- nautilus --new-window bindd = SUPER SHIFT, B, Browser, exec, $browser bindd = SUPER SHIFT ALT, B, Browser (private), exec, $browser --private bindd = SUPER SHIFT, M, Music, exec, omarchy-launch-or-focus spotify bindd = SUPER SHIFT, N, Editor, exec, omarchy-launch-editor bindd = SUPER SHIFT, T, Activity, exec, $terminal -e btop bindd = SUPER SHIFT, D, Docker, exec, $terminal -e lazydocker -bindd = SUPER SHIFT, G, Signal, exec, omarchy-launch-or-focus signal "uwsm app -- signal-desktop" +bindd = SUPER SHIFT, G, Signal, exec, omarchy-launch-or-focus signal "uwsm-app -- signal-desktop" bindd = SUPER SHIFT, O, Obsidian, exec, omarchy-launch-or-focus "^obsidian$" "uwsm-app -- obsidian -disable-gpu --enable-wayland-ime" -bindd = SUPER SHIFT, SLASH, Passwords, exec, uwsm app -- 1password +bindd = SUPER SHIFT, SLASH, Passwords, exec, uwsm-app -- 1password # If your web app url contains #, type it as ## to prevent hyperland treat it as comments bindd = SUPER SHIFT, A, ChatGPT, exec, omarchy-launch-webapp "https://chatgpt.com" diff --git a/default/hypr/autostart.conf b/default/hypr/autostart.conf index 706f719c..43cd3000 100644 --- a/default/hypr/autostart.conf +++ b/default/hypr/autostart.conf @@ -1,10 +1,10 @@ -exec-once = uwsm app -- hypridle -exec-once = uwsm app -- mako -exec-once = uwsm app -- waybar -exec-once = uwsm app -- fcitx5 -exec-once = uwsm app -- swaybg -i ~/.config/omarchy/current/background -m fill -exec-once = uwsm app -- swayosd-server +exec-once = uwsm-app -- hypridle +exec-once = uwsm-app -- mako +exec-once = uwsm-app -- waybar +exec-once = uwsm-app -- fcitx5 +exec-once = uwsm-app -- swaybg -i ~/.config/omarchy/current/background -m fill +exec-once = uwsm-app -- swayosd-server exec-once = /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 exec-once = omarchy-cmd-first-run -exec-once = uwsm app -- elephant -exec-once = uwsm app -- walker --gapplication-service +exec-once = uwsm-app -- elephant +exec-once = uwsm-app -- walker --gapplication-service diff --git a/migrations/1753138691.sh b/migrations/1753138691.sh index d9197ba5..ef55a91f 100644 --- a/migrations/1753138691.sh +++ b/migrations/1753138691.sh @@ -2,5 +2,5 @@ echo "Install swayOSD to show volume status" if omarchy-cmd-missing swayosd-server; then omarchy-pkg-add swayosd - setsid uwsm app -- swayosd-server &>/dev/null & + setsid uwsm-app -- swayosd-server &>/dev/null & fi diff --git a/migrations/1753224615.sh b/migrations/1753224615.sh index cd6c7978..6f9dcfb5 100644 --- a/migrations/1753224615.sh +++ b/migrations/1753224615.sh @@ -5,5 +5,5 @@ if [[ ! -d ~/.config/swayosd ]]; then cp -r ~/.local/share/omarchy/config/swayosd/* ~/.config/swayosd/ pkill swayosd-server - setsid uwsm app -- swayosd-server &>/dev/null & + setsid uwsm-app -- swayosd-server &>/dev/null & fi diff --git a/migrations/1757877852.sh b/migrations/1757877852.sh index a0b88bdd..51ecd105 100644 --- a/migrations/1757877852.sh +++ b/migrations/1757877852.sh @@ -2,9 +2,9 @@ echo "Switch select bindings to launch or focus mode" if [[ -f ~/.config/hypr/bindings.conf ]]; then sed -i '/SUPER, M, Music, exec/ c\bindd = SUPER, M, Music, exec, omarchy-launch-or-focus spotify' ~/.config/hypr/bindings.conf - sed -i '/SUPER, O, Obsidian, exec/ c\bindd = SUPER, O, Obsidian, exec, omarchy-launch-or-focus obsidian "uwsm app -- obsidian -disable-gpu --enable-wayland-ime"' ~/.config/hypr/bindings.conf + sed -i '/SUPER, O, Obsidian, exec/ c\bindd = SUPER, O, Obsidian, exec, omarchy-launch-or-focus obsidian "uwsm-app -- obsidian -disable-gpu --enable-wayland-ime"' ~/.config/hypr/bindings.conf - sed -i '/SUPER, G, Signal, exec/ c\bindd = SUPER, G, Signal, exec, omarchy-launch-or-focus signal "uwsm app -- signal-desktop"' ~/.config/hypr/bindings.conf + sed -i '/SUPER, G, Signal, exec/ c\bindd = SUPER, G, Signal, exec, omarchy-launch-or-focus signal "uwsm-app -- signal-desktop"' ~/.config/hypr/bindings.conf sed -i '/SUPER SHIFT, G, WhatsApp, exec/ c\bindd = SUPER SHIFT, G, WhatsApp, exec, omarchy-launch-or-focus-webapp WhatsApp "https://web.whatsapp.com/"' ~/.config/hypr/bindings.conf sed -i '/SUPER ALT, G, Google Messages, exec/ c\bindd = SUPER ALT, G, Google Messages, exec, omarchy-launch-or-focus-webapp "Google Messages" "https://messages.google.com/web/conversations"' ~/.config/hypr/bindings.conf fi diff --git a/migrations/1758019332.sh b/migrations/1758019332.sh index 003acd56..520a222d 100644 --- a/migrations/1758019332.sh +++ b/migrations/1758019332.sh @@ -17,5 +17,5 @@ fi # Use default terminal for keybinding if grep -q "terminal = uwsm app" ~/.config/hypr/bindings.conf; then - sed -i '/terminal = uwsm app -- alacritty/ c\$terminal = uwsm app -- $TERMINAL' ~/.config/hypr/bindings.conf + sed -i '/terminal = uwsm-app -- alacritty/ c\$terminal = uwsm-app -- $TERMINAL' ~/.config/hypr/bindings.conf fi