scripts/sway/startsway.sh

28 lines
1.1 KiB
Bash
Raw Normal View History

#!/bin/bash
2022-06-06 17:59:08 +00:00
rm $HOME/.swaylog
echo sway > $HOME/.spool/last_login_gui
2022-11-04 15:03:55 +00:00
export SSH_AUTH_SOCK=~/.ssh/ssh-agent.sock
2022-06-07 12:05:45 +00:00
export SWAYSOCK="$HOME/.spool/sway-ipc.sock"
2022-11-04 15:03:55 +00:00
export QT_QPA_PLATFORM="wayland-egl;wayland;xcb"
export QT_QPA_PLATFORMTHEME=qt5ct
export QML_IMPORT_PATH="/usr/lib/qt/qml"
export QT_PLUGIN_PATH="/usr/lib/qt/plugins"
export QML2_IMPORT_PATH="/usr/lib/qt/qml"
export SDL_VIDEODRIVER="wayland"
export MOZ_ENABLE_WAYLAND="1"
export MOZ_WEBRENDER="1"
export XDG_SESSION_TYPE="wayland"
export XDG_CURRENT_DESKTOP="sway"
export XDG_CONFIG_HOME="${HOME}/.config"
export XDG_DATA_DIRS="$XDG_DATA_DIRS:${HOME}/.config/flatpak/exports/share"
export CHROME_EXECUTABLE="/usr/bin/chromium"
export FLATPAK_IDE_LOG_LEVEL="0"
export "$( gnome-keyring-daemon --start )"
#WLR_RENDERER=vulkan sway --debug 2>> $HOME/.swaylog >> $HOME/.swaylog
2023-01-07 13:16:47 +00:00
WLR_RENDERER=gles2 sway --debug 2>> $HOME/.swaylog >> $HOME/.swaylog
#WLR_RENDERER=vulkan sway --debug 2>> $HOME/.swaylog >> $HOME/.swaylog
2022-11-05 03:06:08 +00:00
#WLR_RENDERER=gles2 $HOME/build/sway/build/sway/sway --debug 2>> $HOME/.swaylog >> $HOME/.swaylog
2022-06-07 12:05:45 +00:00
export SWAYSOCK=`sway --get-socketpath`
systemctl --user stop wallpapers.service