mirror of
https://github.com/Astatin3/raylock.git
synced 2026-06-09 00:28:00 -06:00
14 lines
437 B
Markdown
14 lines
437 B
Markdown
# raylock
|
|
##### Swaylock alternitive made in rust
|
|
---
|
|
Unfortunatly this is not the most secure desktop locker, as it involves using sway config, and not PAM for key validiation. But it seems to work just fine.
|
|
|
|
```
|
|
# Add this to your sway config:
|
|
for_window [title="^raylock$"] sticky enable, fullscreen
|
|
mode "lock" {
|
|
bindsym XF86MonBrightnessUp exec brightnessctl s +5%
|
|
bindsym XF86MonBrightnessDown exec brightnessctl s 5%-
|
|
}
|
|
```
|