2019-12-15 17:31:59 +02:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
export XKB_DEFAULT_LAYOUT=fi
|
2021-07-25 17:02:55 +03:00
|
|
|
export XKB_DEFAULT_VARIANT=fi
|
2019-12-15 17:31:59 +02:00
|
|
|
export XKB_DEFAULT_MODEL=pc105
|
|
|
|
|
|
|
|
#export XDG_RUNTIME_DIR=/tmp/wayland
|
|
|
|
#export WAYLAND_DISPLAY=wayland-0
|
|
|
|
|
2021-07-25 17:08:17 +03:00
|
|
|
# configure wayland backend
|
2019-12-15 17:31:59 +02:00
|
|
|
export GDK_BACKEND=wayland
|
2021-07-25 17:02:55 +03:00
|
|
|
export QT_QPA_PLATFORM=wayland # wayland-egl?
|
2019-12-15 17:31:59 +02:00
|
|
|
export CLUTTER_BACKEND=wayland
|
|
|
|
export SDL_VIDEODRIVER=wayland
|
|
|
|
export EWOL_BACKEND=wayland
|
2021-07-25 17:02:55 +03:00
|
|
|
# firefox
|
|
|
|
export MOZ_ENABLE_WAYLAND=1
|
|
|
|
export MOZ_DBUS_REMOTE=1
|
2019-12-15 17:31:59 +02:00
|
|
|
|
2021-07-25 17:02:55 +03:00
|
|
|
# auth
|
|
|
|
eval $(/usr/bin/gnome-keyring-daemon --start --components=pkcs11,secrets,ssh)
|
|
|
|
export SSH_AUTH_SOCK
|
|
|
|
|
|
|
|
# start!
|
2019-12-15 17:31:59 +02:00
|
|
|
sway
|