diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-01-17 17:54:37 +1100 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-01-17 17:54:37 +1100 |
| commit | ee9977c26753088dfd20006fe3427737419ab264 (patch) | |
| tree | 72087d2c1916b7faec165d76f21bcc2b35c8c547 /main.fish | |
| parent | main: update help (diff) | |
| download | caelestia-cli-ee9977c26753088dfd20006fe3427737419ab264.tar.gz caelestia-cli-ee9977c26753088dfd20006fe3427737419ab264.tar.bz2 caelestia-cli-ee9977c26753088dfd20006fe3427737419ab264.zip | |
main: special workspace toggles
Diffstat (limited to 'main.fish')
| -rwxr-xr-x | main.fish | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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 |