add startsway wrapper command

This commit is contained in:
Cheri 2023-02-27 11:56:50 +02:00 committed by vib
parent 20adb85fd7
commit b0cb6e985b
4 changed files with 11 additions and 16 deletions

View file

@ -13,4 +13,6 @@ export QT_QPA_PLATFORMTHEME=qt5ct
#export DESKTOP_SESSION=KDE
# If running from tty1 start sway
[ "$(tty)" = "/dev/tty1" ] && exec ~/.config/sway/start.sh
if [ "$(tty)" = "/dev/tty1" ]; then
startsway
fi

7
bin/startsway Executable file
View file

@ -0,0 +1,7 @@
export _JAVA_AWT_WM_NONREPARENTING=1
export MOZ_ENABLE_WAYLAND=1
export XDG_CURRENT_DESKTOP=sway
export XDG_SESSION_DESKTOP=sway
export QT_STYLE_OVERRIDE=cherry
dbus-launch --exit-with-session sway

View file

@ -36,4 +36,5 @@ then
gobin bin/dmenukaomoji
gobin bin/toggle
gobin bin/startsway
fi

View file

@ -1,15 +0,0 @@
#export QT_QPA_PLATFORM="wayland;xcb"
#export GDK_BACKEND="wayland,x11"
export QT_QPA_PLATFORMTHEME=qt5ct
export CLUTTER_BACKEND=wayland
export SDL_VIDEODRIVER=wayland
export _JAVA_AWT_WM_NONREPARENTING=1
export MOZ_ENABLE_WAYLAND=1
export XDG_CURRENT_DESKTOP=sway
export XDG_SESSION_DESKTOP=sway
export VDPAU_DRIVER= radeonsi
exec dbus-run-session sway