From 7ae27d4253e0fc88f3a4735239a77a87ed235b7e Mon Sep 17 00:00:00 2001 From: Pierre Olivier Martel Date: Wed, 25 Feb 2026 21:44:08 -0500 Subject: [PATCH 1/2] hide fcitx5 tray icon --- bin/omarchy-restart-app | 4 ++-- bin/omarchy-restart-xcompose | 2 +- default/hypr/autostart.conf | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) 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 From 8bc2a7cf22e810b1b9ef1853c574108bca2d7616 Mon Sep 17 00:00:00 2001 From: Pierre Olivier Martel Date: Wed, 25 Feb 2026 21:52:12 -0500 Subject: [PATCH 2/2] Revert "Hide fcitx5 tray icon from waybar" This reverts commit b5dbb23c9ff76f5dcb80226299442e1fb23b66b3. --- config/fcitx5/addon/notificationitem.conf | 1 - migrations/1771666449.sh | 4 ---- 2 files changed, 5 deletions(-) delete mode 100644 config/fcitx5/addon/notificationitem.conf delete mode 100644 migrations/1771666449.sh diff --git a/config/fcitx5/addon/notificationitem.conf b/config/fcitx5/addon/notificationitem.conf deleted file mode 100644 index 15ea8477..00000000 --- a/config/fcitx5/addon/notificationitem.conf +++ /dev/null @@ -1 +0,0 @@ -Enabled=False diff --git a/migrations/1771666449.sh b/migrations/1771666449.sh deleted file mode 100644 index 51f0b1e8..00000000 --- a/migrations/1771666449.sh +++ /dev/null @@ -1,4 +0,0 @@ -echo "Hide fcitx5 tray icon from waybar" - -mkdir -p ~/.config/fcitx5/addon -cp $OMARCHY_PATH/config/fcitx5/addon/notificationitem.conf ~/.config/fcitx5/addon/