Add swayidle and swaylock config
This commit is contained in:
parent
717ce61bd3
commit
f18968f7f3
|
@ -35,20 +35,42 @@ let
|
|||
screenshots
|
||||
indicator
|
||||
clock
|
||||
grace=2
|
||||
grace=5
|
||||
|
||||
effect-pixelate=10
|
||||
fade-in=0.2
|
||||
effect-pixelate=50
|
||||
fade-in=0.5
|
||||
|
||||
indicator-radius=90
|
||||
indicator-thickness=4
|
||||
inside-color=#282828cc
|
||||
text-color=#ebdbb2
|
||||
ring-color=#458588
|
||||
font=FiraCode Nerd Font Mono
|
||||
font-size=60
|
||||
inside-ver-color=#b16286
|
||||
font-size=70
|
||||
indicator-radius=120
|
||||
indicator-thickness=3
|
||||
key-hl-color=#fbf1c7
|
||||
bs-hl-color=#d65d0e
|
||||
|
||||
inside-color=#282828cc
|
||||
line-color=#282828
|
||||
ring-color=#d5c5a1
|
||||
text-color=#ebdbb2
|
||||
|
||||
inside-clear-color=#282828cc
|
||||
line-clear-color=#282828
|
||||
ring-clear-color=#d5c5a1
|
||||
text-clear-color=#ebdbb2
|
||||
|
||||
inside-ver-color=#282828cc
|
||||
line-ver-color=#282828
|
||||
ring-ver-color=#d5c5a1
|
||||
text-ver-color=#ebdbb2
|
||||
|
||||
inside-wrong-color=#282828cc
|
||||
line-wrong-color=#282828
|
||||
ring-wrong-color=#cc241d
|
||||
text-wrong-color=#ebdbb2
|
||||
|
||||
inside-caps-lock-color=#282828cc
|
||||
line-caps-lock-color=#282828
|
||||
ring-caps-lock-color=#d65d0e
|
||||
text-caps-lock-color=#ebdbb2
|
||||
'';
|
||||
|
||||
in {
|
||||
|
@ -262,7 +284,7 @@ in {
|
|||
Service = {
|
||||
Type = "simple";
|
||||
ExecStart = ''
|
||||
${pkgs.swayidle}/bin/swayidle -w \
|
||||
${pkgs.swayidle}/bin/swayidle \
|
||||
timeout 300 swaylock \
|
||||
timeout 600 'systemctl suspend' \
|
||||
'';
|
||||
|
|
Loading…
Reference in a new issue