diff --git a/etc/sysconfig/profile.d/xfce b/etc/sysconfig/profile.d/xfce index 99ed190..97a7b6d 100644 --- a/etc/sysconfig/profile.d/xfce +++ b/etc/sysconfig/profile.d/xfce @@ -34,9 +34,24 @@ MANPATH=$MANPATH:/opt/xfce/man PATH=$PATH:/opt/xfce/bin PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/opt/xfce/lib/pkgconfig xfce_DATA="~/.xfce" -if [ ! -f ~/.xfce3rc ]; then - touch ~/.xfce3rc +if [ ! -f ~/.xfce4rc ]; then + cat > $HOME/.xfwm4rc << "EOF" +theme=/opt/xfce/share/xfwm4/themes/xfce +button_layout=OT|SHMC +theme=kde +EOF fi + +if [ ! -f ~/.gtkrc-2.0test ] || ! grep -q titlebar ~/.gtkrc-2.0test; then + cat >> $HOME/gtkrc-2.0test << "EOF" +style "titlebar" +{ + font_name = "Sans 10" +} +widget "xfwm" style "titlebar" +EOF +fi + if [ ! -d ~/.xfce ]; then mkdir ~/.xfce fi