summary refs log tree commit diff
path: root/.config/sway/env
blob: 2b76ded7e22b1a5f2ec9f30b7373b2f3b111452b (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
30
31
32
33
34
35
#!/bin/sh

export TERM=alacritty

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
# force gnome apps to use gnome style
export DESKTOP_SESSION=gnome
# export QT_QPA_PLATFORMTHEME=qgnomeplatform
export QT_QPA_PLATFORMTHEME=gnome
export QT_STYLE_OVERRIDE=Adwaita
export QT_WAYLAND_FORCE_DPI=physical

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

export GTK_CSD=0

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

export BEMENU_BACKEND=wayland

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