diff --git a/de/home/.config/katerc b/de/home/.config/katerc index 9aeb28a..bac0f3a 100644 --- a/de/home/.config/katerc +++ b/de/home/.config/katerc @@ -175,8 +175,8 @@ SetEditor=false 2 screens: Width=490 2048x1280 screen: Height=1030 2048x1280 screen: Width=1005 -3 screens: Height=1359 -3 screens: Width=3416 +3 screens: Height=744 +3 screens: Width=1476 [filetree] editShade=183,220,246 diff --git a/de/home/.config/sway/scripts/exec-float b/de/home/.config/sway/scripts/exec-float index 99c30c4..6cc4829 100755 --- a/de/home/.config/sway/scripts/exec-float +++ b/de/home/.config/sway/scripts/exec-float @@ -14,9 +14,11 @@ else win_height=$(( win_width * 57 / 100 )) fi swaymsg "[pid=$pid]" "floating enable, resize set ${win_width}px ${win_height}px" -while [ "$?" = "2" ];do - swaymsg "[pid=$pid]" "floating enable, resize set ${win_width}px ${win_height}px" -done +timeout 3s bash -c "while [ \"$?\" = \"2\" ];do \ + swaymsg \"[pid=$pid]\" \"floating enable, resize set ${win_width}px ${win_height}px\" \ +done" +echo test +exit 0 swaymsg -t get_tree | jq ".. | select(.type?) | select((.pid==${pid}) and (.rect.height==${win_height} | not)).id" | grep '' while [ "$?" = "1" ];do swaymsg -t get_tree | jq ".. | select(.type?) | select((.pid==${pid}) and (.rect.height==${win_height} | not)).id" | grep ''