dotfiles/xinitrc

25 lines
460 B
Plaintext
Raw Normal View History

2017-05-15 20:47:47 -04:00
#!/bin/sh
[ -f ~/.Xresources ] && xrdb -merge .Xresources
xsetroot -cursor_name left_ptr
HOSTNAME=$(hostname)
2019-01-04 16:19:58 -05:00
compton &
#com.discordapp.Discord &
#com.slack.Slack &
if [ "$HOSTNAME" = cabinet ]; then
if [ -d /etc/X11/xinit/xinitrc.d ]; then
for f in /etc/X11/xinit/xinitrc.d/*; do
[ -x "$f" ] && . "$f"
done
unset f
exec $STARTUP i3
fi
else
xbindkeys
xmodmap ~/.Xmodmap
nm-applet &
exec i3
fi