summary refs log tree commit diff
path: root/.config/sway/env
blob: 8ca0b55476d269dc0d0090e81e3f9c48a7b3f46d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#!/bin/sh

export TERM=alacritty

# export DESKTOP_SESSION=gnome
export GDK_BACKEND=wayland
export CLUTTER_BACKEND=wayland
export QT_QPA_PLATFORM=wayland-egl
export SDL_VIDEODRIVER=wayland
export ECORE_EVAS_ENGINE=wayland-egl
export ELM_ENGINE=wayland_egl
export _JAVA_AWT_WM_NONREPARENTING=1
export NO_AT_BRIDGE=1
export MOZ_ENABLE_WAYLAND=1

export QT_QPA_PLATFORMTHEME=qgnomeplatform
export QT_STYLE_OVERRIDE=adwaita

export XMODIFIERS=@im=ibus
export QT_IM_MODULE=ibus
export GTK_IM_MODULE=xim

export XDG_SESSION_TYPE=wayland
export XDG_SESSION_DESKTOP=sway
# export XDG_CURRENT_DESKTOP=Unity
export XDG_CURRENT_DESKTOP=sway

# export WLR_DRM_DEVICES="/dev/dri/card1:/dev/dri/card0"
export WLR_DRM_DEVICES="/dev/dri/card0"