From 1b936638ecd22d7932d6f870e17b9e36a15c33ab Mon Sep 17 00:00:00 2001 From: TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> Date: Wed, 25 Jun 2025 12:23:33 +0900 Subject: modified plugins/harpoon2.lua, modified plugins/keys.lua, modified bin/tmuxdbussync --- ar/.local/bin/tmuxdbussync | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) (limited to 'ar/.local/bin') diff --git a/ar/.local/bin/tmuxdbussync b/ar/.local/bin/tmuxdbussync index ffebff9..10b4088 100755 --- a/ar/.local/bin/tmuxdbussync +++ b/ar/.local/bin/tmuxdbussync @@ -1,18 +1,16 @@ #!/bin/sh -TMUX_DBUS="$DBUS_SESSION_BUS_ADDRESS" -BROWSER="${BROWSER:-firefox}" -BROWSER_NAME=$(basename "$BROWSER") -BROWSER_PID=$(pgrep -f "$BROWSER_NAME" | head -n1) +tmux_dbus="$DBUS_SESSION_BUS_ADDRESS" +fcitx5_pid=$(pgrep -f fcitx5 | head -n1) -if [ -z "$BROWSER_PID" ]; then - echo "No browser process found matching: $BROWSER_NAME" +if [ -z "$fcitx5_pid" ]; then + echo "No terminal process found matching: fcitx5" exit 1 fi -BROWSER_DBUS=$(tr '\0' '\n'