From c0233eebab9db53df3381d75bd51cd7693ee5181 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Ruiz=20de=20Alegr=C3=ADa?= Date: Fri, 10 Feb 2023 16:36:39 +0100 Subject: [PATCH] Revert "Qt: set breeze as default theme" This reverts commit 31d935254b3156429958bb6c5407a106456e9162. Now that we are adding kali purple themes I've noticed that breeze qt theme doens't follow the color-palette everywhere. In some cases it still shows the blue highlight color. Plus installing it in Xfce as an example takes 40MiB (unpacked) --- debian/control | 1 - debian/kali-themes.postinst | 4 +--- etc/xdg/qt5ct/qt5ct.conf | 4 ++-- 3 files changed, 3 insertions(+), 6 deletions(-) diff --git a/debian/control b/debian/control index d4169aba..0247d590 100644 --- a/debian/control +++ b/debian/control @@ -61,7 +61,6 @@ Depends: fonts-firacode, gtk2-engines-pixbuf, kali-themes-common (= ${source:Version}), - kde-style-breeze, librsvg2-common, plymouth-label, ${misc:Depends}, diff --git a/debian/kali-themes.postinst b/debian/kali-themes.postinst index d3a6d280..d0d3da80 100644 --- a/debian/kali-themes.postinst +++ b/debian/kali-themes.postinst @@ -97,6 +97,7 @@ if [ "$1" = "configure" ]; then install_config_file /etc/xdg/xfce4/xfconf/xfce-perchannel-xml/xfwm4.xml force fi if dpkg --compare-versions "$2" lt "2022.1.0"; then + install_config_file /etc/xdg/qt5ct/qt5ct.conf force install_config_file /etc/lightdm/lightdm-gtk-greeter.conf force install_config_file /etc/xdg/xfce4/xfconf/xfce-perchannel-xml/xfce4-power-manager.xml force fi @@ -120,9 +121,6 @@ if [ "$1" = "configure" ]; then install_config_file /etc/xdg/xfce4/whiskermenu/defaults.rc force install_config_file /etc/xdg/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml force fi - if dpkg --compare-versions "$2" lt "2023.1.3"; then - install_config_file /etc/xdg/qt5ct/qt5ct.conf force - fi # Install remaining new files install_all fi diff --git a/etc/xdg/qt5ct/qt5ct.conf b/etc/xdg/qt5ct/qt5ct.conf index d59655e9..a6e7eb8e 100644 --- a/etc/xdg/qt5ct/qt5ct.conf +++ b/etc/xdg/qt5ct/qt5ct.conf @@ -4,10 +4,10 @@ icon_theme=Flat-Remix-Blue-Dark color_scheme_path=/usr/share/qt5ct/colors/Kali-Dark.conf standard_dialogs=default standard_dialogs=gtk3 -style=Breeze +style=Fusion [Interface] -#stylesheets=/usr/share/qt5ct/qss/fusion-simple-scrollbar.qss +stylesheets=/usr/share/qt5ct/qss/fusion-simple-scrollbar.qss [Fonts] fixed=@Variant(\0\0\0@\0\0\0\x12\0\x46\0i\0r\0\x61\0 \0\x43\0o\0\x64\0\x65@$\0\0\0\0\0\0\xff\xff\xff\xff\x5\x1\0\x39\x10)