Skip to content

Latest commit

 

History

History
42 lines (35 loc) · 1.46 KB

README.md

File metadata and controls

42 lines (35 loc) · 1.46 KB

Syslock

Syslock is a simple lockscreen for wayland written in gtkmm4
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.