1
0
forked from extern/nix-config

meta: Add swaylock

Note that for now we're using random pictures and blurring them,
although in the future I may make this more specific.
This commit is contained in:
Donovan Glover 2022-03-24 10:30:47 -04:00
parent eeeaa82bc5
commit 89b9d9f5c6
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65
2 changed files with 34 additions and 0 deletions

View File

@ -0,0 +1,16 @@
# swaylock
show-keyboard-layout
daemonize
font="Noto Sans CJK JP"
font-size=20
indicator-radius=75
indicator-thickness=15
image=$(fd . ~/Pictures | shuf -n 1)
# swaylock-effects
effect-blur=5x2
clock
indicator
font-size=25
indicator-radius=85
indicator-thickness=16

18
swaylock/README.md Normal file
View File

@ -0,0 +1,18 @@
# swaylock
[swaylock][swaylock] is a screen locker for Wayland. [swaylock-effects][swaylock-effects] adds additional features such as blur.
## Use Cases
swaylock can be used to:
- Lock the screen in a reasonable way
You should not use swaylock if:
- You're running on Xorg (use [xsecurelock][xsecurelock] instead)
- You use a desktop environment that already has a screen locker
[swaylock]: https://github.com/swaywm/swaylock
[swaylock-effects]: https://github.com/mortie/swaylock-effects
[xsecurelock]: https://github.com/google/xsecurelock