mirror of
https://github.com/xHyroM/dotfiles.git
synced 2024-11-21 22:31:04 +01:00
16 lines
419 B
Text
16 lines
419 B
Text
|
# Start sway if we're on tty1
|
||
|
if [[ "$(tty)" == "/dev/tty1" ]]; then
|
||
|
export XDG_SESSION_TYPE=wayland
|
||
|
export XDG_SESSION_DESKTOP=sway
|
||
|
export XDG_CURRENT_DESKTOP=sway
|
||
|
|
||
|
export VK_DRIVER_FILES=/usr/share/vulkan/icd.d/radeon_icd.x86_64.json
|
||
|
|
||
|
# Wayland stuff
|
||
|
export QT_QPA_PLATFORM=wayland
|
||
|
export SDL_VIDEODRIVER=wayland
|
||
|
export _JAVA_AWT_WM_NONREPARENTING=1
|
||
|
|
||
|
exec dbus-launch sway --unsupported-gpu "$@"
|
||
|
fi
|