-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathxinitrc
More file actions
27 lines (21 loc) · 748 Bytes
/
xinitrc
File metadata and controls
27 lines (21 loc) · 748 Bytes
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
#!/bin/sh
# Prevent GTK apps from starting enormously slow
# Souce: https://bbs.archlinux.org/viewtopic.php?pid=1705410#p1705410
dbus-update-activation-environment --systemd DBUS_SESSION_BUS_ADDRESS DISPLAY XAUTHORITY
xrandr --dpi 144
userresources=$HOME/.Xresources
usermodmap=$HOME/.Xmodmap
sysresources=/etc/X11/xinit/.Xresources
sysmodmap=/etc/X11/xinit/.Xmodmap
[[ -f $sysresources ]] && xrdb -merge $sysresources
[[ -f $sysmodmap ]] && xmodmap $sysmodmap
[[ -f "$userresources" ]] && xrdb -merge "$userresources"
[[ -f "$usermodmap" ]] && xmodmap "$usermodmap"
export GTK_IM_MODULE='ibus'
export XMODIFIERS='@im=ibus'
export QT_IM_MODULE='ibus'
export GLFW_IM_MODULE='ibus'
ibus-daemon -rx &
keynav &
unclutter &
exec bspwm