Skip to content

Commit ee6aa8b

Browse files
committed
.xinitrc for Arch Linux
1 parent dae76b9 commit ee6aa8b

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

.xinitrc

+33
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
#!/bin/sh
2+
#
3+
# ~/.xinitrc
4+
#
5+
# Executed by startx (run your window manager from here)
6+
7+
if [ -d /etc/X11/xinit/xinitrc.d ]; then
8+
for f in /etc/X11/xinit/xinitrc.d/*; do
9+
[ -x "$f" ] && . "$f"
10+
done
11+
unset f
12+
fi
13+
14+
# https://wiki.archlinux.org/index.php/Systemd/User
15+
/usr/lib/systemd/systemd --user &
16+
17+
xset +fp /usr/share/fonts/local
18+
xset fp rehash
19+
xset b off
20+
21+
# https://wiki.archlinux.org/index.php/Xinitrc
22+
xrdb -merge ~/.Xresources
23+
xmodmap ~/.Xmodmap
24+
xsetroot -cursor_name left_ptr &
25+
pgrep -x synapse || synapse &
26+
xautolock -time 5 -locker "i3lock --color=0f0f0f" &
27+
28+
# exec gnome-session
29+
# exec startkde
30+
# exec startxfce4
31+
exec startfluxbox
32+
# exec startlxde
33+
# exec mate-session

0 commit comments

Comments
 (0)