aboutsummaryrefslogtreecommitdiffstats
path: root/X11/xinitrc
blob: 3c2c54dde39e4aadf81088466288173c26e53b8e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/bash
#
# ~/.xinitrc
#
# Executed by startx (run your window manager from here)

systemctl --user import-environment DISPLAY XAUTHORITY SSH_AGENT_PID SSH_AUTH_SOCK
systemctl --user restart dumpwatch

XMODMAP="$XDG_CONFIG_HOME"/X11/Xmodmap
xmodmap "$XMODMAP"
if [[ -f "$XMODMAP"-"$(hostname -s)" ]]; then
	xmodmap "$XMODMAP"-"$(hostname -s)"
fi

exec i3 -c "$XDG_CONFIG_HOME"/i3/config