diff --git a/scripts/hypr b/scripts/hypr index 03a09b9..6db737a 100755 --- a/scripts/hypr +++ b/scripts/hypr @@ -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 diff --git a/scripts/mux b/scripts/mux index 9959120..303f106 100755 --- a/scripts/mux +++ b/scripts/mux @@ -92,8 +92,6 @@ confirm() { case "$1" in bar) - session=$(tmux display-message -p '#S') - [ "$session" ] || exit if [ "$(tmux show-options -gv mouse)" = "on" ]; then indicator='#{?pane_in_mode,[mouse#{@c}copy],[mouse]}' else @@ -114,8 +112,7 @@ bar) else key='?' fi - star="" - [ "$sname" = "$session" ] && star="*" + star="#{?#{==:#S,$sname},*,}" [ -n "$bar_content" ] && bar_content="$bar_content │ " bar_content="$bar_content#[range=session|${sid}]$key:$sname$star#[norange]" i=$((i + 1))