scripts/sway/startsway.sh

9 lines
364 B
Bash
Executable File

#!/bin/bash
rm $HOME/.swaylog
echo sway > $HOME/.spool/last_login_gui
export SWAYSOCK="$HOME/.spool/sway-ipc.sock"
#WLR_RENDERER=vulkan sway --debug 2>> $HOME/.swaylog >> $HOME/.swaylog
WLR_RENDERER=gles2 $HOME/build/sway/build/sway/sway --debug 2>> $HOME/.swaylog >> $HOME/.swaylog
export SWAYSOCK=`sway --get-socketpath`
systemctl --user stop wallpapers.service