scripts/sway/startsway.sh

7 lines
205 B
Bash
Executable File

#!/bin/bash
rm $HOME/.swaylog
echo sway > $HOME/.spool/last_login_gui
export SWAYSOCK="$HOME/.spool/sway-ipc.sock"
sway --debug 2>> $HOME/.swaylog >> $HOME/.swaylog
export SWAYSOCK=`sway --get-socketpath`