aboutsummaryrefslogtreecommitdiff
path: root/xinitrc
blob: 6cbf2e09c5c2cf9ec8bfecfb95e16fe6e5c022d0 (plain)
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
xrdb -merge -I$HOME ~/.Xresources
setxkbmap -option caps:escape
setxkbmap -option compose:menu
numlockx
xset -b # disable beeping

# Use GTK theme for QT applications
export QT_QPA_PLATFORMTHEME=gtk2
export QT_STYLE_OVERRIDE='gtk2'
# use IBus for keyboard inputs
export GTK_IM_MODULE=ibus
export XMODIFIERS=@im=ibus
export QT_IM_MODULE=ibus
# Fix fullscreen game offscreen
export SDL_VIDEO_MINIMIZE_ON_FOCUS_LOSS=0
# To fix missing textures on intel
export force_s3tc_enable=true
# Fix firefox touchscreen gestures
export MOZ_USE_XINPUT2=1

if [ -d /etc/X11/xinit/xinitrc.d ] ; then
	for f in /etc/X11/xinit/xinitrc.d/?* ; do
		[ -x "$f" ] && . "$f"
	done
	unset f
fi


autorandr --change

exec i3