-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathdot.xsession
46 lines (35 loc) · 1.23 KB
/
dot.xsession
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
36
37
38
39
40
41
42
43
44
45
46
#!/bin/sh
# /usr/share/doc/xfree86-common/examples/xsession
# seems /etc/X11/xinit/xinput.d/fcitx is not sourced as expected. so have to do it here.
# fcitx crashes, so try ibus instead
export XIM=fcitx
export XIM_PROGRAM=/usr/bin/fcitx
export XIM_ARGS=""
export GTK_IM_MODULE=fcitx
export QT_IM_MODULE=fcitx
export QT4_IM_MODULE=fcitx
export XMODIFIERS=@im=fcitx
xhost +
#/usr/bin/xmodmap .Xmodmap
setxkbmap -option ctrl:nocaps
export $(dbus-launch)
# use 'xdg-settings set default-web-browser' instead
# see ~/.config/mimeapps.list
#export BROWSER='x-www-browser'
# Let Qt apps use GTK theme to make GUI font size larger.
export QT_QPA_PLATFORMTHEME=gtk3
# stop warning messages
export NO_AT_BRIDGE=1
# see ~/.config/systemd/user/emacs.service
[ -x /usr/bin/udiskie ] && /usr/bin/udiskie -F &
#[ -x /usr/bin/redshift ] && /usr/bin/redshift &
[ -x /usr/lib/notification-daemon/notification-daemon ] && /usr/lib/notification-daemon/notification-daemon &
[ -x /usr/bin/picom ] && /usr/bin/picom -b
[ -x /usr/bin/hsetroot ] && /usr/bin/hsetroot -solid '#000000'
/usr/bin/x-terminal-emulator -e tmux &
[ -x /usr/bin/keynav ] && keynav &
[ -x /usr/bin/xbanish ] && xbanish &
x-www-browser &
# keep screen on
xset s off -dpms
exec /usr/bin/x-window-manager