main: special workspace toggles

This commit is contained in:
2 * r + 2 * t
2025-01-17 17:54:37 +11:00
parent 02c194f68c
commit ee9977c267
6 changed files with 64 additions and 0 deletions
+6
View File
@@ -18,6 +18,12 @@ if test "$argv[1]" = shell
exit
end
if test "$argv[1]" = toggle
set -l valid_toggles communication music sysmon specialws
contains "$argv[2]" $valid_toggles && ./toggles/$argv[2].fish || error "Invalid toggle: $argv[2]"
exit
end
if test "$argv[1]" = screenshot
./screenshot.fish $argv[2..]
exit