main: fix shell command

This commit is contained in:
2 * r + 2 * t
2025-06-08 13:43:34 +10:00
parent 0d7dd0707a
commit fbbe9b6a33
2 changed files with 7 additions and 9 deletions
+2 -2
View File
@@ -9,8 +9,8 @@ if test "$argv[1]" = shell
if test -z "$argv[2..]"
$C_DATA/shell/run.fish
else
if contains -- 'caelestia' (astal -l)
astal -i caelestia $argv[2..]
if qs list --all | grep "Config path: $C_DATA/shell/shell.qml" &> /dev/null
qs -p $C_DATA/shell ipc call $argv[2..]
else
warn 'Shell unavailable'
end