An open API service indexing awesome lists of open source software.

https://github.com/waycrate/waycratelock


https://github.com/waycrate/waycratelock

sessionlock sway

Last synced: about 1 year ago
JSON representation

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
![Show](images/shown.png)