diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2025-03-24 11:09:25 +0100 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2025-03-24 11:10:41 +0100 |
commit | ad0d442b3ccdaabac1a4b17f2c443c9d307c35dc (patch) | |
tree | 5203c1bb4bd20eb2beb97d018c861236878a7a38 | |
parent | 234d74df9ac351bcb86bece6d0132fbc818eb69c (diff) | |
download | arctica-greeter-ad0d442b3ccdaabac1a4b17f2c443c9d307c35dc.tar.gz arctica-greeter-ad0d442b3ccdaabac1a4b17f2c443c9d307c35dc.tar.bz2 arctica-greeter-ad0d442b3ccdaabac1a4b17f2c443c9d307c35dc.zip |
src/menubar.vala: Soften the menubar shadow depending on 'menubar-alpha' gsettings configuration.
-rw-r--r-- | src/menubar.vala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/menubar.vala b/src/menubar.vala index 7b1fb21..e39c1f3 100644 --- a/src/menubar.vala +++ b/src/menubar.vala @@ -186,7 +186,7 @@ public class MenuBar : Gtk.MenuBar try { - shadow_style.load_from_data ("* { box-shadow: 0px 0px 5px 5px #000000; }", -1); + shadow_style.load_from_data ("* { box-shadow: 0px 0px 5px 5px rgba(0.2,0.2,0.2,%f); }".printf(AGSettings.get_double (AGSettings.KEY_MENUBAR_ALPHA)), -1); } catch (Error pError) { |