mirror of
https://github.com/caelestia-dots/cli.git
synced 2026-06-10 09:19:29 -05:00
toggles: fix spawn-or-move + todo toggle
This commit is contained in:
Executable
+7
@@ -0,0 +1,7 @@
|
||||
#!/bin/fish
|
||||
|
||||
. (dirname (status filename))/util.fish
|
||||
|
||||
spawn-or-move '.class == "Todoist"' todo todoist
|
||||
|
||||
hyprctl dispatch togglespecialworkspace todo
|
||||
+1
-1
@@ -13,7 +13,7 @@ function spawn-client -a selector
|
||||
if test $stat != 0
|
||||
uwsm app -- $argv[2..] & disown
|
||||
end
|
||||
return $stat
|
||||
test $stat != 0 # Exit 1 if already exists
|
||||
end
|
||||
|
||||
function spawn-or-move -a selector -a workspace
|
||||
|
||||
Reference in New Issue
Block a user