session-lock-v1 with qml
Support mpris, current only works on sway
Base on qt-session-lock
WayCrateLock reads configuration from $XDG_CONFIG_HOME/waycratelock/setting.toml
file ($XDG_CONFIG_HOME is typically $HOME/.config/
for most Linux systems)
Here is an example TOML file setting.toml
Note
Ensure that misc/waycratelock
file is copied over to your /etc/pam.d/waycratelock
Without this, the screenlock will NEVER unlock as PAM will continue to fail authenticate you!
Building using CMake:
sudo cp misc/waycratelock /etc/pam.d/waycratelock # ENSURE THAT THIS FILE EXISTS IN /etc/pam.d!!
cmake -S . -B build
cmake --build build/
./build/waycratelock # to run the binary
Installing the application globally:
cmake -S . -B build
cmake --build build/
cd build
sudo make install
The password text field only can input on the first screen registered, I think the problem is in qt-session-lock, the qt binding for session-lock-v1, but I cannot handle it.