diff --git a/etc/xdg/qt5ct/qt5ct.conf b/etc/xdg/qt5ct/qt5ct.conf index 5d398088..f355dcae 100644 --- a/etc/xdg/qt5ct/qt5ct.conf +++ b/etc/xdg/qt5ct/qt5ct.conf @@ -2,8 +2,11 @@ custom_palette=true icon_theme=Flat-Remix-Blue-Dark color_scheme_path=/usr/share/qt5ct/colors/Kali-Dark.conf -standard_dialogs=gtk2 -style=gtk2 +standard_dialogs=default +style=Fusion + +[Interface] +stylesheets=/home/kali/.config/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) diff --git a/share/qt5ct/qss/fusion-simple-scrollbar.qss b/share/qt5ct/qss/fusion-simple-scrollbar.qss new file mode 100644 index 00000000..ceb128e3 --- /dev/null +++ b/share/qt5ct/qss/fusion-simple-scrollbar.qss @@ -0,0 +1,27 @@ +QScrollBar { background: transparent; } + +QScrollBar:vertical { max-width: 8px; } +QScrollBar:horizontal { max-height: 8px; } + +QScrollBar::handle { + padding: 0; + margin: 2px; + border-radius: 2px; + border: 0; + background: rgba(127, 127, 127, .5); +} +QScrollBar::handle:hover { background: rgba(127, 127, 127, 1); } +QScrollBar::handle:pressed { background: palette(highlight); } + +QScrollBar::add-line , QScrollBar::sub-line { + height: 0; + border: 0; +} + +QScrollBar::up-arrow, QScrollBar::down-arrow { + border: 0; + width: 0; + height: 0; +} + +QScrollBar::add-page, QScrollBar::sub-page { background: none; }