You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
|
- #!/usr/bin/fish
-
- if count $argv
- set ws $argv[1]
- else
- set ws (i3-msg -t get_workspaces | jq --raw-output '.[]|select(.focused == true).name')
- end
- set script ~/.eralitex/workspace-cmd/$ws.focus
- set oscript ~/.eralitex/workspace-cmd/other-focus
-
- if type -q $script
- $script
- else
- if type -q $oscript
- $oscript
- end
- end
|