summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Mubashshir <ahmubashshir@gmail.com>2023-01-04 23:43:36 +0600
committerLibravatar Mubashshir <ahmubashshir@gmail.com>2023-01-04 23:43:36 +0600
commit48b073941e0fc537ab4a35830b95c1ec07b8cddb (patch)
tree9b6dab06d8d80073df5068f3d733ab00e9335e28
parent4b45d6c391b93e378ff0fdd9133bbf3940caf65c (diff)
downloadpatches-48b073941e0fc537ab4a35830b95c1ec07b8cddb.tar.gz
patches-48b073941e0fc537ab4a35830b95c1ec07b8cddb.zip
patch: Apply xfce settings automatically
Signed-off-by: Mubashshir <ahmubashshir@gmail.com>
-rw-r--r--patch/gtk33
-rwxr-xr-xpatch/xfconf21
2 files changed, 21 insertions, 3 deletions
diff --git a/patch/gtk3 b/patch/gtk3
deleted file mode 100644
index 4098e19..0000000
--- a/patch/gtk3
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/bin/sh
-
-xfconf-query -c xsettings -p /Gtk/DialogsUseHeader -s false
diff --git a/patch/xfconf b/patch/xfconf
new file mode 100755
index 0000000..20e755c
--- /dev/null
+++ b/patch/xfconf
@@ -0,0 +1,21 @@
+#!/bin/sh
+conf()
+{
+ local pth="$1"
+ shift
+ xfconf-query -c "${pth%%/*}" -p "/${pth#*/}" -s "$@"
+}
+
+conf xsettings/Gtk/DialogsUseHeader false
+conf xsettings/Gtk/MenuImages true
+conf xsettings/Gtk/MenuImages true
+conf xsettings/Gtk/ButtonImages true
+conf xsettings/Gtk/DecorationLayout ':minimize,maximize,close'
+
+conf xsettings/Net/ThemeName Materia-dark-compact
+conf xsettings/Net/IconThemeName Papirus-Dark
+conf xsettings/Net/EnableEventSounds true
+conf xsettings/Net/EnableInputFeedbackSounds true
+
+conf xfwm4/general/theme Materia-dark
+conf xfwm4/general/button_layout 'O|HMC'