betterlockscreen / betterlockscreen

🍀 sweet looking lockscreen for linux system

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Custom arguments to i3lock-color do not work.

gmatiukhin opened this issue · comments

Is there an existing issue for this?

  • I have searched the existing issues

Operating system

Arch Linux, 6.3.8-arch1-1

Installation method

Package Manager (from OS)

Betterlockscreen & Dependency-Versions

Betterlockscreen: version: v4.0.4 (dunst: true, feh: true)
i3lock: version 2.13.c.5 © 2010 Michael Stapelberg, © 2015 Cassandra Fox, © 2021 Raymond Li
Version: ImageMagick 7.1.1-14 Q16-HDRI x86_64 21286 https://imagemagick.org
Copyright: (C) 1999 ImageMagick Studio LLC
License: https://imagemagick.org/script/license.php
Features: Cipher DPC HDRI Modules OpenCL OpenMP(4.5) 
Delegates (built-in): bzlib cairo djvu fftw fontconfig freetype heic jbig jng jp2 jpeg jxl lcms lqr ltdl lzma openexr pangocairo png raqm raw rsvg tiff webp wmf x xml zip zlib
Compiler: gcc (13.1)
dunst version: 1.9.2
feh version 3.10
Compile-time switches: curl exif inotify help magic stat64 verscmp xinerama 
[B] Betterlockscreen

Bug description

Custom arguments to i3lock as in the example config do not apply.

Seems to be caused by this line of code which resets lockargs after their modification in init_config.

Steps to reproduce

  1. Copy the config file from the examples-directory to the user-configuration directory ~/.config/betterlockscreen/
  2. Uncomment # lockargs+=(--ignore-empty-password)
  3. Run bettelockscreen --lock
  4. Press Enter without typing anything
  5. Empty password is not being ignored

Relevant log output

No response