fix(tmux): load session indicator at render-time

This commit is contained in:
Barrett Ruth 2026-02-13 14:39:11 -05:00
parent 80e190f43a
commit 02f1603e89
Signed by: barrett
GPG key ID: A6C96C9349D2FC81
2 changed files with 12 additions and 14 deletions

View file

@ -302,16 +302,17 @@ windowrules)
window_id="${data%%,*}"
window_title="${data#*,}"
window_title=$(echo "$window_title" | tr '[:upper:]' '[:lower:]')
case "$window_title" in
*'extension: (bitwarden password manager) - bitwarden'*)
hyprctl --batch "dispatch setfloating address:0x$window_id; dispatch centerwindow address:0x$window_id"
;;
*'sign in - google accounts '*)
hyprctl --batch "dispatch setfloating address:0x$window_id; \
dispatch resizewindowpixel exact 30% 70%,address:0x$window_id; \
dispatch centerwindow address:0x$window_id"
;;
esac
# NOTE: has been buggy recently
# case "$window_title" in
# *'extension: (bitwarden password manager) - bitwarden'*)
# hyprctl --batch "dispatch setfloating address:0x$window_id; dispatch centerwindow address:0x$window_id"
# ;;
# *'sign in - google accounts '*)
# hyprctl --batch "dispatch setfloating address:0x$window_id; \
# dispatch resizewindowpixel exact 30% 70%,address:0x$window_id; \
# dispatch centerwindow address:0x$window_id"
# ;;
# esac
;;
esac
done