dotfiles/xinitrc

26 lines
531 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
2021-01-25 14:54:01 -05:00
# xbindkeys
# xmodmap ~/.Xmodmap
/usr/lib/policykit-1-gnome/polkit-gnome-authentication-agent-1 &
nm-applet &
exec i3
fi