mirror of
https://codeberg.org/gwh/slackbuilds.git
synced 2024-11-16 19:51:19 +01:00
[sway] update starter script
This commit is contained in:
parent
fd32f8ed66
commit
cd3bf08b15
1 changed files with 10 additions and 3 deletions
|
@ -79,18 +79,25 @@ set -e
|
|||
# set -x
|
||||
# echo "sway Starting: \$( date )"
|
||||
|
||||
# avoid wlr error
|
||||
unset DISPLAY
|
||||
|
||||
# Uncomment if mouse pointer is invisible
|
||||
#export WLR_NO_HARDWARE_CURSORS=1
|
||||
|
||||
unset QT_QPA_PLATFORM
|
||||
|
||||
export QT_QPA_PLATFORMTHEME=qt5ct
|
||||
export MOZ_ENABLE_WAYLAND=1
|
||||
export XDG_CURRENT_DESKTOP=sway
|
||||
export XDG_PICTURES_DIR=\$HOME/.wallpapers
|
||||
|
||||
export SWAYSOCK=/run/user/\$(id -u)/sway-ipc.\$(id -u).\$(pgrep -x sway).sock
|
||||
export XDG_RUNTIME_DIR=/tmp/xdg-runtime-\$(id -u)
|
||||
|
||||
mkdir -p \$XDG_RUNTIME_DIR
|
||||
chmod 0700 \$XDG_RUNTIME_DIR
|
||||
|
||||
# avoid wlr error
|
||||
unset DISPLAY
|
||||
|
||||
exec dbus-run-session sway
|
||||
EOF
|
||||
chmod +x "$PKG$PREFIX/bin/start_sway.sh"
|
||||
|
|
Loading…
Reference in a new issue