dotfiles/de/home/.config/sway/scripts/exec-float
2025-12-28 09:30:01 -08:00

8 lines
133 B
Bash
Executable file

#!/bin/sh
eval "$1 &"
saved=$!
echo $saved; shift
swaymsg [pid=$saved] "$@"
while [ "$?" = "2" ];do
swaymsg [pid=$saved] "$@"
done