xfce4-session rebuild

This commit is contained in:
Rmys
2021-01-29 21:40:00 +03:00
committed by GitHub
parent 83b1a84426
commit 09454f7dee
8 changed files with 205 additions and 2 deletions
@@ -0,0 +1,28 @@
diff -p -up ./scripts/xinitrc.in.in.0000 ./scripts/xinitrc.in.in
--- ./scripts/xinitrc.in.in.0000 2012-03-30 18:48:01.000000000 +0000
+++ ./scripts/xinitrc.in.in 2012-04-01 19:14:14.875368141 +0000
@@ -44,6 +44,24 @@ if which xdg-user-dirs-update >/dev/null
xdg-user-dirs-update
fi
+# Create user preferences if they are missing
+# - Thunar
+for i in Thunar; do
+ if [ ! -d $XDG_CONFIG_HOME/$i ]; then
+ mkdir -p $XDG_CONFIG_HOME/$i
+ cp -a /etc/xdg/$i $XDG_CONFIG_HOME
+ fi ;
+done
+
+
+# Create panel and xfconf user preferences if they are missing
+for i in panel xfconf terminal; do
+ if [ ! -d $XDG_CONFIG_HOME/xfce4/$i ]; then
+ mkdir -p $XDG_CONFIG_HOME/xfce4/$i
+ cp -a /etc/xdg/xfce4/$i $XDG_CONFIG_HOME/xfce4
+ fi ;
+done
+
# For now, start with an empty list
XRESOURCES=""