diff options
author | Mihai Moldovan <ionic@ionic.de> | 2023-08-28 12:55:25 +0200 |
---|---|---|
committer | Mihai Moldovan <ionic@ionic.de> | 2023-08-28 12:55:25 +0200 |
commit | 240d478ae4a74c9b3e13fba84c230f340f45c65d (patch) | |
tree | cc937b3dee3bcc51d93b499092bc85899750d9a8 | |
parent | 50d337807cf6255ebdb55d418b48ba6eddec5c61 (diff) | |
download | arctica-greeter-240d478ae4a74c9b3e13fba84c230f340f45c65d.tar.gz arctica-greeter-240d478ae4a74c9b3e13fba84c230f340f45c65d.tar.bz2 arctica-greeter-240d478ae4a74c9b3e13fba84c230f340f45c65d.zip |
settings: add configuration option for logo alpha.
-rw-r--r-- | data/org.ArcticaProject.arctica-greeter.gschema.xml | 4 | ||||
-rw-r--r-- | src/settings.vala | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/data/org.ArcticaProject.arctica-greeter.gschema.xml b/data/org.ArcticaProject.arctica-greeter.gschema.xml index 5496fe9..28002cc 100644 --- a/data/org.ArcticaProject.arctica-greeter.gschema.xml +++ b/data/org.ArcticaProject.arctica-greeter.gschema.xml @@ -77,6 +77,10 @@ <default>'/usr/share/arctica-greeter/logo.png'</default> <summary>Logo file to use</summary> </key> + <key name="logo-alpha" type="d"> + <default>0.5</default> + <summary>Alpha value for blending the logo onto the background</summary> + </key> <key name="theme-name" type="s"> <default>'Numix'</default> <summary>GTK+ theme to use</summary> diff --git a/src/settings.vala b/src/settings.vala index 30f25ed..7e49894 100644 --- a/src/settings.vala +++ b/src/settings.vala @@ -33,6 +33,7 @@ public class AGSettings : Object public const string KEY_DRAW_GRID = "draw-grid"; public const string KEY_SHOW_HOSTNAME = "show-hostname"; public const string KEY_LOGO = "logo"; + public const string KEY_LOGO_ALPHA = "logo-alpha"; public const string KEY_THEME_NAME = "theme-name"; public const string KEY_HIGH_CONTRAST_THEME_NAME = "high-contrast-theme-name"; public const string KEY_ICON_THEME_NAME = "icon-theme-name"; |