25개 이상의 토픽을 선택하실 수 없습니다.
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.
|
12345678910111213141516171819 |
- #!/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 focus_script ~/.workspaces/$ws.focus
- if type -q $focus_script
- $focus_script
- else
- i3-msg mode default
- end
-
- set space_script ~/.workspaces/$ws.space
- if type -q $space_script
- systemctl --user start workspace-app@$ws.service
- end
|