summaryrefslogtreecommitdiff
path: root/toggles/util.fish
diff options
context:
space:
mode:
Diffstat (limited to 'toggles/util.fish')
-rw-r--r--toggles/util.fish2
1 files changed, 1 insertions, 1 deletions
diff --git a/toggles/util.fish b/toggles/util.fish
index f02dc73..3cffc15 100644
--- a/toggles/util.fish
+++ b/toggles/util.fish
@@ -13,7 +13,7 @@ function spawn-client -a selector spawn
hyprctl -j clients | jq -e "first(.[] | select($selector))" > /dev/null
set -l stat $status
if test $stat != 0
- eval "uwsm app -- $spawn & disown"
+ eval "app2unit -- $spawn & disown"
end
test $stat != 0 # Exit 1 if already exists
end