mirror of
https://github.com/xHyroM/dotfiles.git
synced 2024-11-22 06:31:06 +01:00
15 lines
419 B
Bash
Executable file
15 lines
419 B
Bash
Executable file
# 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
|