add startsway wrapper command
This commit is contained in:
parent
08374c74ba
commit
d8f7b4c07a
4 changed files with 11 additions and 16 deletions
|
@ -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
7
bin/startsway
Executable 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
|
|
@ -36,4 +36,5 @@ then
|
|||
|
||||
gobin bin/dmenukaomoji
|
||||
gobin bin/toggle
|
||||
gobin bin/startsway
|
||||
fi
|
||||
|
|
|
@ -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
|
Loading…
Reference in a new issue