Launch sway with consolekit2 on FreeBSD.
This commit is contained in:
parent
dfc3bfdc69
commit
7a577fde22
@ -5,12 +5,6 @@ set -euo pipefail
|
|||||||
IFS=$'\n\t'
|
IFS=$'\n\t'
|
||||||
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||||
|
|
||||||
if [[ ! -v XDG_RUNTIME_DIR ]]; then
|
|
||||||
export XDG_RUNTIME_DIR=$(mktemp -d)
|
|
||||||
chmod 0700 "$XDG_RUNTIME_DIR"
|
|
||||||
|
|
||||||
fi
|
|
||||||
|
|
||||||
export XDG_CURRENT_DESKTOP=sway
|
export XDG_CURRENT_DESKTOP=sway
|
||||||
export WLR_RENDERER=vulkan
|
export WLR_RENDERER=vulkan
|
||||||
|
|
||||||
@ -20,4 +14,4 @@ export MOZ_ENABLE_WAYLAND=1
|
|||||||
# Wayland seems enabled by default for qt5 with qt5-wayland installed but if a proprietary program bundles their own qt then I may have to set QT_QPA_PLATFORM="wayland;xcb"
|
# Wayland seems enabled by default for qt5 with qt5-wayland installed but if a proprietary program bundles their own qt then I may have to set QT_QPA_PLATFORM="wayland;xcb"
|
||||||
# Wayland does not seem enabled for gtk apps and setting GDK_BACKEND=wayland did not change that.
|
# Wayland does not seem enabled for gtk apps and setting GDK_BACKEND=wayland did not change that.
|
||||||
|
|
||||||
exec dbus-launch sway -d &> $HOME/.config/swaylog
|
exec ck-launch-session dbus-launch sway -d &> $HOME/.config/swaylog
|
||||||
|
Loading…
x
Reference in New Issue
Block a user