From 9f29e9e6763eb33ba63133955d67556542249be9 Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Fri, 31 Jan 2025 18:16:04 +1100 Subject: toggles: fix spawn-or-move + todo toggle --- main.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'main.fish') diff --git a/main.fish b/main.fish index a4f405e..56ecfaa 100755 --- a/main.fish +++ b/main.fish @@ -21,7 +21,7 @@ if test "$argv[1]" = shell end if test "$argv[1]" = toggle - set -l valid_toggles communication music sysmon specialws + set -l valid_toggles communication music sysmon specialws todo contains -- "$argv[2]" $valid_toggles && $src/toggles/$argv[2].fish || error "Invalid toggle: $argv[2]" exit end -- cgit v1.2.3-freya