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.

i3block-socket-watcher 196B

2 years ago
123456789101112
  1. #!/usr/bin/fish
  2. # print one line to unblock i3blocks
  3. echo
  4. # remove socket if it exists already
  5. if test -e $argv[1]
  6. rm $argv[1]
  7. end
  8. # listen to socket
  9. exec socat UNIX-LISTEN:$argv[1],fork -