From a1129a757ec58a64219e0d4f5f6bfab755c86065 Mon Sep 17 00:00:00 2001 From: Arnaud Rebillout Date: Mon, 8 Nov 2021 15:49:51 +0700 Subject: [PATCH] Revert "Qt: set breeze as the default theme" This reverts commit 4a6d8f422ecbcadb32f54bfa7daacfe59df85beb. Adding a dependency to `kde-style-breeze` pulls in around 35 new packages, for an additional size of 40 MB (unpacked). It's basically a part of the KDE stack that is installed. Not nice for users who don't run KDE. --- debian/control | 1 - debian/kali-themes.postinst | 4 +++- etc/xdg/qt5ct/qt5ct.conf | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/debian/control b/debian/control index e49328a4..aabd5f24 100644 --- a/debian/control +++ b/debian/control @@ -55,7 +55,6 @@ Package: kali-themes Architecture: all Depends: kali-themes-common (= ${source:Version}), - kde-style-breeze, # gsettings and other config files reference those fonts fonts-cantarell, fonts-firacode, diff --git a/debian/kali-themes.postinst b/debian/kali-themes.postinst index bacd7cde..14d341f6 100644 --- a/debian/kali-themes.postinst +++ b/debian/kali-themes.postinst @@ -77,6 +77,9 @@ if [ "$1" = "configure" ]; then if dpkg --compare-versions "$2" lt "2021.1.1"; then remove_config_file /etc/xdg/Trolltech.conf fi + if dpkg --compare-versions "$2" lt "2021.1.2"; then + install_config_file /etc/xdg/qt5ct/qt5ct.conf force + fi if dpkg --compare-versions "$2" lt "2021.2.1"; then install_config_file /etc/xdg/xfce4/whiskermenu/defaults.rc force fi @@ -97,7 +100,6 @@ if [ "$1" = "configure" ]; then install_config_file /etc/lightdm/lightdm-gtk-greeter.conf force install_config_file /etc/xdg/kickoffrc force install_config_file /etc/xdg/menus/xfce-settings-manager.menu force - install_config_file /etc/xdg/qt5ct/qt5ct.conf force install_config_file /etc/xdg/xfce4/panel/default.xml force install_config_file /etc/xdg/xfce4/xfconf/xfce-perchannel-xml/xfce4-session.xml force install_config_file /etc/xdg/xfce4/xfconf/xfce-perchannel-xml/xfwm4.xml force diff --git a/etc/xdg/qt5ct/qt5ct.conf b/etc/xdg/qt5ct/qt5ct.conf index 04b94c21..d7507af3 100644 --- a/etc/xdg/qt5ct/qt5ct.conf +++ b/etc/xdg/qt5ct/qt5ct.conf @@ -3,7 +3,7 @@ custom_palette=true icon_theme=Flat-Remix-Blue-Dark color_scheme_path=/usr/share/qt5ct/colors/Kali-Dark.conf standard_dialogs=default -style=Breeze +style=Fusion [Interface] stylesheets=/usr/share/qt5ct/qss/fusion-simple-scrollbar.qss