https://github.com/waycrate/waycratelock
https://github.com/waycrate/waycratelock
sessionlock sway
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/waycrate/waycratelock
- Owner: waycrate
- License: gpl-3.0
- Created: 2023-10-12T14:40:59.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2025-04-02T23:37:48.000Z (about 1 year ago)
- Last Synced: 2025-04-03T00:26:20.977Z (about 1 year ago)
- Topics: sessionlock, sway
- Language: C++
- Size: 5.15 MB
- Stars: 5
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# WayCrateLock
session-lock-v1 with qml
## Toy project -- till now
Support mpris, current only works on sway
Base on [qt-session-lock](https://github.com/waycrate/qt-session-lock)
## Config
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](./assets/config/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:**
```bash
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:**
```bash
cmake -S . -B build
cmake --build build/
cd build
sudo make install
```
## Help needed
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.
## View
