From f86329c4e06a7d844b5d2346cce3dfbc62c1888d Mon Sep 17 00:00:00 2001 From: Penelope Gwen Date: Sun, 25 Jan 2026 14:15:01 -0800 Subject: [PATCH] New backup 2026-01-25 14:15:01 --- de/home/.config/katerc | 4 ++-- de/home/.config/sway/scripts/exec-float | 8 +++++--- 2 files changed, 7 insertions(+), 5 deletions(-) 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 ''