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.

on-space-shortcut 217B

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