Socket Path

This commit is contained in:
John Mertz 2022-06-07 08:05:45 -04:00 committed by John Mertz
parent bf19e6c0d2
commit 0f0a1c9011
Signed by: jpm
GPG Key ID: E9C5EA2D867501AB
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`