From 48b073941e0fc537ab4a35830b95c1ec07b8cddb Mon Sep 17 00:00:00 2001 From: Mubashshir Date: Wed, 4 Jan 2023 23:43:36 +0600 Subject: patch: Apply xfce settings automatically Signed-off-by: Mubashshir --- patch/gtk3 | 3 --- patch/xfconf | 21 +++++++++++++++++++++ 2 files changed, 21 insertions(+), 3 deletions(-) delete mode 100644 patch/gtk3 create mode 100755 patch/xfconf 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' -- cgit v1.2.3