Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/System64fumo/syslock

Simple screen locker for wayland written in gtkmm 4
https://github.com/System64fumo/syslock

Last synced: 6 days ago
JSON representation

Simple screen locker for wayland written in gtkmm 4

Awesome Lists containing this project

README

        

# Syslock
Syslock is a simple lockscreen for wayland written in gtkmm4

![preview](https://github.com/System64fumo/syslock/blob/main/preview.gif "preview")

> [!CAUTION]
> This program does not use the ext session lock protocol. *Yet*

> Additional info at the bottom.

# Configuration
syslock can be configured in 2 ways

1: By changing config.hpp and recompiling (Suckless style)

2: Using a config file (~/.config/sys64/lock/config.conf)

3: Using launch arguments

```
arguments:
-s Start unlocked
-k Enable the keypad
-l Set password length (For automatic unlocks)
-m Set primary monitor
-e Enable experimental session lock
-d Enable debug mode
-v Prints version info
```

# Signals
You can send a signal to show the window/s again.

``pkill -10 syslock``

# Theming
syslock uses your gtk4 theme by default, However it can be also load custom css,

Just copy the included style.css file to ~/.config/sys64/lock/style.css

# Session lock
Currently the session lock protocol is implemented but disabled by default due to instability and generally being broken.

Though if you are curious and wish to give it a try you can enable it by using the -e launch flag.

Things that will happen when the experimental session lock option is enabled:

* syslock will crash upon succesfully authenticating.

* The primary window gets mirrored to all displays.

* Touch inputs will not work.

Help with this would be greatly appreciated.