Skip to content

Instantly share code, notes, and snippets.

@rileyrg
Created May 18, 2021 09:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rileyrg/8990bceffe4e6fbd3309690d0b945cac to your computer and use it in GitHub Desktop.
Save rileyrg/8990bceffe4e6fbd3309690d0b945cac to your computer and use it in GitHub Desktop.
export SWAYSOCK=/run/user/$(id -u)/sway-ipc.$(id -u).$(pgrep -x sway).sock  1|1 ↵  10010  11:49:02 
 ~  swaymsg -t get_tree | grep app_id  ✔  10011  11:49:05 
00:00:00.000 [common/ipc-client.c:67] Unable to connect to /run/user/1000/sway-ipc.1000.7684.sock
 ~  echo $SWAYSOCK  1|1 ↵  10012  11:49:06 
/run/user/1000/sway-ipc.1000.7684.sock
 ~ 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment