mirror of
https://github.com/caelestia-dots/cli.git
synced 2026-06-07 07:49:30 -05:00
main: special workspace toggles
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user