blob: d18d7147bceb0ed8252729d797a9dca7cfb9e5d0 (
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
|
#!/bin/sh
# Load system xinit modules (disabled)
# Remove "false &&" to enable
if false && [ -d /etc/X11/xinit/xinitrc.d ]; then
echo ' ==> Running scripts in Entering xinitrc.d/*'
for f in /etc/X11/xinit/xinitrc.d/*; do
echo " -> $f"
[ -x "$f" ] && . "$f"
done
unset f
echo ' -> done'
fi
usermodmap="$XDG_CONFIG_HOME/X11/modmap"
if [ -f "$usermodmap" ]; then
xmodmap "$usermodmap"
fi
#exec wmii
wm=wmii
systemctl --user start "${wm}@${DISPLAY}.service"
mkfifo "${XDG_RUNTIME_DIR}/x11-wm@${DISPLAY}"
cat "${XDG_RUNTIME_DIR}/x11-wm@${DISPLAY}" >/dev/null
rm "${XDG_RUNTIME_DIR}/x11-wm@${DISPLAY}"
|