summaryrefslogtreecommitdiff
path: root/.local/bin/shorts/refcitx
diff options
context:
space:
mode:
authorVikas Kushwaha <dev@vikas.rocks>2025-01-10 15:08:05 +0530
committerVikas Kushwaha <dev@vikas.rocks>2025-01-10 15:08:05 +0530
commite02304f014645a01ef6cdd40276997dea58504d9 (patch)
tree49ac70d8b348fa138f681e2fe6fa8f92b512ec9e /.local/bin/shorts/refcitx
parent776f17159bccd342bdc8ab9afdd035196f48d385 (diff)
Cleaning up 'bin' folder.
Diffstat (limited to '.local/bin/shorts/refcitx')
-rwxr-xr-x.local/bin/shorts/refcitx5
1 files changed, 3 insertions, 2 deletions
diff --git a/.local/bin/shorts/refcitx b/.local/bin/shorts/refcitx
index 668952c..1d104bf 100755
--- a/.local/bin/shorts/refcitx
+++ b/.local/bin/shorts/refcitx
@@ -1,7 +1,8 @@
#!/bin/sh
-notify-send "Starting Fcitx..."
+id="$(notify-send --print-id "Starting Fcitx...")"
fcitx
sleep 1
remap
-notify-send "Fcitx Started"
+fcitx-remote -t
+notify-send --replace-id="$id" "✅ Fcitx Started"