#!/bin/sh

export GDK_BACKEND=wayland,x11
export MOZ_ENABLE_WAYLAND=1
export CLUTTER_BACKEND=wayland
export QT_QPA_PLATFORM=wayland-egl
export ECORE_EVAS_ENGINE=wayland-egl
export ELM_ENGINE=wayland_egl
export SDL_VIDEODRIVER=wayland
export _JAVA_AWT_WM_NONREPARENTING=1
export NO_AT_BRIDGE=1
export BEMENU_BACKEND=wayland
export XDG_CURRENT_DESKTOP=sway

export XKB_DEFAULT_LAYOUT=us,ru
#export XKB_DEFAULT_VARIANT=dvp,
export XKB_DEFAULT_OPTIONS=grp:caps_toggle

eval $(gnome-keyring-daemon)
export SSH_AUTH_SOCK

dbus-run-session -- river $@