diff --git a/data/lightdm-webkit2-greeter.conf b/data/lightdm-webkit2-greeter.conf index 3f85ad5..fcefbb3 100644 --- a/data/lightdm-webkit2-greeter.conf +++ b/data/lightdm-webkit2-greeter.conf @@ -1,23 +1,27 @@ # # [greeter] -# webkit-theme = Webkit theme to use. -# debug_mode = Greeter theme debug mode. +# debug_mode = Greeter theme debug mode. +# secure_mode = Don't allow themes to make non-local http requests. # screensaver-timeout = Blank the screen after this many seconds of inactivity. +# webkit-theme = Webkit theme to use. # [greeter] -webkit-theme = antergos -debug_mode = false +debug_mode = false +secure_mode = true screensaver-timeout = 300 +webkit-theme = antergos # # [branding] -# logo = Path to logo image for use by greeter themes. -# user_image = Default user image/avatar. This is used by themes for users that have no .face image. +# logo = Path to logo image for use by greeter themes. +# user_image = Default user image/avatar. This is used by themes for users that have no .face image. # background_images = Path to directory that contains background images for use by themes. # +# NOTE: Paths must be accessible to the lightdm system user account (so they cannot be anywhere in /home) +# [branding] -logo = /usr/share/lightdm-webkit/themes/antergos/img/antergos.png -user_image = /usr/share/lightdm-webkit/themes/antergos/img/antergos-logo-user.png +logo = /usr/share/lightdm-webkit/themes/antergos/img/antergos.png +user_image = /usr/share/lightdm-webkit/themes/antergos/img/antergos-logo-user.png background_images = /usr/share/backgrounds diff --git a/src/greeter.c b/src/greeter.c index 36d28cf..52e6b51 100644 --- a/src/greeter.c +++ b/src/greeter.c @@ -68,6 +68,7 @@ static gint config_timeout; static gboolean debug_mode, + secure_mode, heartbeat, heartbeat_exit;