Browse Source

Add screensaver option in config

master
Marijn Kuijpers 10 months ago
parent
commit
8c2169eea6
  1. 2
      bin/xscreensaver_yubilock.py

2
bin/xscreensaver_yubilock.py

@ -24,7 +24,7 @@ home_dir = os.path.expanduser("~") @@ -24,7 +24,7 @@ home_dir = os.path.expanduser("~")
config = ConfigParser()
config.read([f"{script_dir}/config.ini", f"{home_dir}/.yubilock"])
screensaver = config.get("HOSTCONFIG", "screensaver", fallback="xscreensaver"))
screensaver = config.get("HOSTCONFIG", "screensaver", fallback="xscreensaver")
yubikey_serials = config["USERCONFIG"]["yubikey_serial"].split(',')
# Convert stringlist to intlist

Loading…
Cancel
Save