New backup 2025-11-13 10:00:03

This commit is contained in:
Penelope Gwen 2025-11-13 10:00:03 -08:00
parent 89ffccf7ed
commit 5b4df96a49
2 changed files with 3 additions and 3 deletions

View file

@ -5,7 +5,7 @@ bindsym {
#terminal
$mod+Return exec $term
#floating terminal
$mod+Shift+Return exec $term --class Alacritty_Float
$mod+Shift+Return exec $HOME/.config/sway/scripts/exec-float $term '$float'
#launcher
$mod+d exec $menu
#launcher reload

View file

@ -2,7 +2,7 @@
eval "$1 &"
saved=$!
echo $saved; shift
swaymsg for_window [pid=$saved] "$@" floating enable
swaymsg for_window [pid=$saved] "$@"
while [ "$?" = "2" ];do
swaymsg for_window [pid=$saved] "$@" floating enable
swaymsg for_window [pid=$saved] "$@"
done