abbith/swaylock/README.org

76 lines
1.7 KiB
Org Mode
Raw Normal View History

2020-08-18 08:43:06 -04:00
#+TITLE: Swaylock Config
#+PROPERTY: header-args+ :mkdirp yes
#+PROPERTY: header-args+ :tangle ~/.config/swaylock/config
[[https:github.com/swaywm/swaylock][Swaylock]] is a screen locking utility for Wayland compositors. I use the [[https://github.com/mortie/swaylock-effects][swaylock-effects]] fork
2020-08-18 08:50:52 -04:00
* Screenshot
#+CAPTION: Pixelated just enough to hide any text
#+NAME: fig:swaylock
2020-08-18 08:53:43 -04:00
[[file:../screenshots/swaylock.png]]
2020-08-18 08:50:52 -04:00
2020-08-18 08:43:06 -04:00
* Options
When an empty password is provided, do not validate it.
#+begin_src conf
ignore-empty-password
#+end_src
Always show the indicator.
#+begin_src conf
indicator
#+end_src
Show a clock in the indicator.
#+begin_src conf
clock
#+end_src
Use screenshots instead of an image on disk or a color.
#+begin_src conf
screenshots
#+end_src
Give a 30 second grace where I don't have to input the password
#+begin_src conf
grace=30
#+end_src
* Appearance
Pixelate the screenshots with a fade-in just enough to not be able to read the text
and apply a vignette effect.
#+begin_src conf
fade-in=2
effect-pixelate=5
effect-vignette=0.5:0.5
#+end_src
The format for the date and time
=21:00=
=Mon, September 16=
#+begin_src conf
font=Ubuntu
timestr=%R
datestr=%a, %B %e
#+end_src
Colorscheme
#+begin_src conf
indicator-radius=250
indicator-thickness=8
inside-color=2b303b
inside-wrong-color=d08770
inside-clear-color=1b2229
inside-ver-color=c0c5ce
ring-color=232830
ring-wrong-color=d08770
ring-clear-color=c0c5ce
ring-ver-color=c0c5ce
line-color=2b303b
key-hl-color=c0c5ce
bs-hl-color=2b303b
text-color=c0c5ce
text-ver-color=232830
text-clear-color=c0c5ce
text-wrong-color=1b2229
#+end_src