dgy
/
hexagons
Archived
1
0
Fork 0
This repository has been archived on 2021-03-24. You can view files and clone it, but cannot push or open issues or pull requests.
hexagons/.xinitrc

37 lines
772 B
Plaintext
Raw Normal View History

2017-02-20 22:15:15 +00:00
#!/bin/sh
#
# ~/.xinitrc
#
# Executed by startx (run your window manager from here)
#
# start some nice programs
if [ -d /etc/X11/xinit/xinitrc.d ] ; then
for f in /etc/X11/xinit/xinitrc.d/?*.sh ; do
[ -x "$f" ] && . "$f"
done
unset f
fi
# Xresources
#xrdb -load $HOME/.Xresources &
# java fixes:
wmname LG3D &
alias java='java -Dawt.useSystemAAFontSettings=on -Dswing.aatext=true -Dswing.defaultlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel'
export _JAVA_AWT_WM_NONREPARENTING=1
export GTK2_RC_FILES="$HOME/.gtkrc-2.0"
xsetroot -cursor_name left_ptr &
hsetroot -fill '/home/deadguy/Pictures/wallpaper/wallhaven-175306.png' &
DEFAULT_SESSION=xfce4-session
case $1 in
xfce) exec dbus-launch xfce4-session ;;
*) exec dbus-launch $DEFAULT_SESSION ;;
esac