-
-
Notifications
You must be signed in to change notification settings - Fork 33
/
.xinitrc
executable file
·87 lines (72 loc) · 1.53 KB
/
.xinitrc
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
#!/bin/sh
sysresources=/etc/X11/xinit/.Xresources
sysmodmap=/etc/X11/xinit/.Xmodmap
usermodmap=$HOME/.Xmodmap
[[ -f $sysresources ]] && xrdb -merge $sysresources
[[ -f ~/.Xresources ]] && xrdb -merge $HOME/.Xresources
[[ -f $sysmodmap ]] && xmodmap $sysmodmap
[[ -f $usermodmap ]] && xmodmap $usermodmap
if [ -d /etc/X11/xinit/xinitrc.d ]; then
for f in /etc/X11/xinit/xinitrc.d/?*.sh; do
[ -x "$f" ] && . "$f"
done
unset f
fi
xset -b off
# xsetroot -cursor_name left_ptr
# xset +fp /usr/share/fonts/local &
# xset +fp /usr/share/fonts/misc &
# xset +fp /usr/share/fonts/bitmap &
# xset +fp ~/.fonts &
# xset fp rehash &
# fc-cache -fv &
# dbus-update-activation-environment --all
### openbox-session|bspwm|frankenwm|etc...
DEFAULT_SESSION=
case $1 in
xfce)
exec startxfce4
;;
kde)
exec startkde
;;
gnome)
exec gnome-session
;;
bspwm)
exec bspwm
;;
i3)
exec i3
;;
frankenwm)
~/.config/frankenwm/autostart &
exec frankenwm
;;
*)
exec ${DEFAULT_SESSION:-openbox-session}
;;
esac
# flashfocus &
# exec monsterwm
# exec awesome
# exec dwm
# exec spectrwm
# exec leftwm
# python $HOME/.local/bin/i3-layouts &
# exec i3
# ~/.config/shod/autostart.sh &
# exec shod
# ~/.config/2bwm/autostart &
# exec 2bwm
# sh ~/.config/xfwm/autostart &
# exec xfwm4
# sxhkd -c $HOME/.config/berry/sxhkdrc &
# exec berry
# ### bspwm autostart
# [ -f /etc/xprofile ] && source /etc/xprofile
# [ -f ~/.xprofile ] && source ~/.xprofile
# sh "${HOME}/.config/bspwm/autostart" &
# exec bspwm
# sh "${HOME}/.config/sowm/autostart" &
# exec sowm