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.

9 lines
229B

  1. #!/usr/bin/fish
  2. set ws (i3-msg -t get_workspaces | jq --raw-output '.[]|select(.focused == true).name')
  3. set space_script ~/.workspaces/$ws/space
  4. if type -q $space_script
  5. systemctl --user restart workspace-app@$ws.service
  6. end