diff --git a/bin/omarchy-restart-app b/bin/omarchy-restart-app index 6e0a46ad..78556e3e 100755 --- a/bin/omarchy-restart-app +++ b/bin/omarchy-restart-app @@ -1,7 +1,7 @@ #!/bin/bash # Restart an application by killing it and relaunching via uwsm. -# Usage: omarchy-restart-app +# Usage: omarchy-restart-app [application-args...] pkill -x $1 -setsid uwsm-app -- $1 >/dev/null 2>&1 & +setsid uwsm-app -- "$@" >/dev/null 2>&1 & diff --git a/bin/omarchy-restart-xcompose b/bin/omarchy-restart-xcompose index dcbd237f..c66bfe7a 100755 --- a/bin/omarchy-restart-xcompose +++ b/bin/omarchy-restart-xcompose @@ -2,4 +2,4 @@ # Restart the XCompose input method service (fcitx5) to apply new compose key settings. -omarchy-restart-app fcitx5 +omarchy-restart-app fcitx5 --disable notificationitem diff --git a/default/hypr/autostart.conf b/default/hypr/autostart.conf index 0462f73a..40522822 100644 --- a/default/hypr/autostart.conf +++ b/default/hypr/autostart.conf @@ -1,7 +1,7 @@ exec-once = uwsm-app -- hypridle exec-once = uwsm-app -- mako exec-once = uwsm-app -- waybar -exec-once = uwsm-app -- fcitx5 +exec-once = uwsm-app -- fcitx5 --disable notificationitem 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