Socket Path

This commit is contained in:
John Mertz 2022-06-07 08:05:45 -04:00
parent 116b25449f
commit 2a5964a40f
1 changed files with 3 additions and 1 deletions

View File

@ -1,4 +1,6 @@
#!/bin/bash
rm $HOME/.swaylog
echo sway > $HOME/.spool/last_login_gui
exec SWAYSOCK="$HOME/.spool/sway-ipc.sock" sway --debug 2>> $HOME/.swaylog >> $HOME/.swaylog
export SWAYSOCK="$HOME/.spool/sway-ipc.sock"
sway --debug 2>> $HOME/.swaylog >> $HOME/.swaylog
export SWAYSOCK=`sway --get-socketpath`