Skip to content

Simple screen locker for wayland written in gtkmm 4

License

Notifications You must be signed in to change notification settings

System64fumo/syslock

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

65 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Simple screen locker for wayland written in gtkmm 4

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published