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=$!