From f30fcd5da08940e43f80e796e39bdc6a6ff9cebf Mon Sep 17 00:00:00 2001 From: Max Date: Fri, 8 Apr 2022 15:51:10 +0200 Subject: [PATCH] feat: add create_floating helper --- configs/sway/create_floating.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) mode change 100644 => 100755 configs/sway/create_floating.sh diff --git a/configs/sway/create_floating.sh b/configs/sway/create_floating.sh old mode 100644 new mode 100755 index f105e0c..605e79b --- a/configs/sway/create_floating.sh +++ b/configs/sway/create_floating.sh @@ -5,7 +5,7 @@ pid=$! swaymsg -t subscribe -m '[ "window" ]' \ | jq --unbuffered --argjson pid "$pid" '.container | select(.pid == $pid) | .id' \ - | xargs -I '@' -- swaymsg '[ con_id=@ ] floating enable' & + | xargs -I '@' -- swaymsg '[ con_id=@ ] floating enable, resize set 600 450' & subscription=$!