From 4a6d8f422ecbcadb32f54bfa7daacfe59df85beb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Ruiz=20de=20Alegr=C3=ADa?= Date: Thu, 21 Oct 2021 02:56:30 +0200 Subject: [PATCH] Qt: set breeze as the default theme --- debian/control | 1 + debian/kali-themes.postinst | 6 +++--- etc/xdg/qt5ct/qt5ct.conf | 2 +- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/debian/control b/debian/control index fd1fda21..ebd981a4 100644 --- a/debian/control +++ b/debian/control @@ -55,6 +55,7 @@ Package: kali-themes Architecture: all Depends: kali-themes-common (= ${source:Version}), + kde-style-breeze, kwin-style-kali, # gsettings and other config files reference those fonts fonts-cantarell, diff --git a/debian/kali-themes.postinst b/debian/kali-themes.postinst index 3f0b7860..20015316 100644 --- a/debian/kali-themes.postinst +++ b/debian/kali-themes.postinst @@ -74,9 +74,6 @@ 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.0"; then install_config_file /etc/lightdm/lightdm-gtk-greeter.conf force fi @@ -100,6 +97,9 @@ if [ "$1" = "configure" ]; then install_config_file /etc/xdg/kwinrc force install_config_file /etc/xdg/xfce4/xfconf/xfce-perchannel-xml/xfwm4.xml force fi + if dpkg --compare-versions "$2" lt "2021.4.2"; 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 d7507af3..04b94c21 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=Fusion +style=Breeze [Interface] stylesheets=/usr/share/qt5ct/qss/fusion-simple-scrollbar.qss