mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-11-15 12:54:15 +01:00
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:
parent
eeeaa82bc5
commit
89b9d9f5c6
16
swaylock/.config/swaylock/config
Normal file
16
swaylock/.config/swaylock/config
Normal 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
18
swaylock/README.md
Normal 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
|
Loading…
Reference in New Issue
Block a user