From 95b7f9972ff35d9050e8e6451bad69b863523326 Mon Sep 17 00:00:00 2001 From: nulln <47261624+nullnothing@users.noreply.github.com> Date: Sat, 23 Jul 2022 17:09:46 +1000 Subject: [PATCH] xfdesktop: GTK hack to draw the background of desktop icon names more like the original Untested on high-DPI because I don't have such a setup to test with --- Theme/Chicago95/gtk-3.0/apps/xfce.css | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/Theme/Chicago95/gtk-3.0/apps/xfce.css b/Theme/Chicago95/gtk-3.0/apps/xfce.css index 51553c4..1341f4d 100644 --- a/Theme/Chicago95/gtk-3.0/apps/xfce.css +++ b/Theme/Chicago95/gtk-3.0/apps/xfce.css @@ -11,11 +11,15 @@ /* Xfdesktop */ XfdesktopIconView.view { - background: @xfd_icon_backdrop; + background-image: -gtk-gradient(linear, left top, right bottom, from (@xfd_icon_backdrop)); + background-repeat: no-repeat; + background-position: 4px 4px; + background-size: calc(100% - 10px) calc(100% - 10px); color: @selected_bg_color; - border-radius: 0px; } + border-radius: 0px; + background-color: rgba(0, 0, 0, 0)} XfdesktopIconView.view:active { - background: @selected_bg_color; + background-image: -gtk-gradient(linear, left top, right bottom, from (@selected_bg_color)); text-shadow: none; color: shade(@selected_bg_color, 3.0); } XfdesktopIconView.view .label {