swaylock layout config and a bit cleaner
This commit is contained in:
parent
244fba19a1
commit
c1b4791f3b
1 changed files with 39 additions and 24 deletions
|
@ -1,32 +1,47 @@
|
||||||
{ lib, config, ... }: {
|
{ lib, config, ... }: let
|
||||||
|
inherit (lib.strings) concatStrings;
|
||||||
|
inherit (config) theme;
|
||||||
|
in {
|
||||||
ignore-empty-password = true;
|
ignore-empty-password = true;
|
||||||
screenshots = true;
|
|
||||||
clock = true;
|
|
||||||
submit-on-touch = true;
|
submit-on-touch = true;
|
||||||
|
|
||||||
|
effect-blur = "30x10";
|
||||||
|
screenshots = true;
|
||||||
|
|
||||||
|
clock = true;
|
||||||
|
|
||||||
indicator = true;
|
indicator = true;
|
||||||
indicator-caps-lock = true;
|
indicator-caps-lock = true;
|
||||||
indicator-radius = 100;
|
indicator-radius = 100;
|
||||||
indicator-thickness = 4;
|
indicator-thickness = 4;
|
||||||
inside-color = lib.strings.concatStrings [ config.theme.overlay "aa" ];
|
|
||||||
inside-clear-color = lib.strings.concatStrings [ config.theme.subtle "aa" ];
|
inside-color = concatStrings [ theme.overlay "aa" ];
|
||||||
inside-caps-lock-color = lib.strings.concatStrings [ config.theme.rose "aa" ];
|
inside-clear-color = concatStrings [ theme.subtle "aa" ];
|
||||||
inside-ver-color = lib.strings.concatStrings [ config.theme.foam "aa" ];
|
inside-caps-lock-color = concatStrings [ theme.rose "aa" ];
|
||||||
inside-wrong-color = lib.strings.concatStrings [ config.theme.love "aa" ];
|
inside-ver-color = concatStrings [ theme.foam "aa" ];
|
||||||
|
inside-wrong-color = concatStrings [ theme.love "aa" ];
|
||||||
line-uses-inside = true;
|
line-uses-inside = true;
|
||||||
ring-color = config.theme.surface;
|
|
||||||
ring-clear-color = config.theme.muted;
|
ring-color = theme.surface;
|
||||||
ring-caps-lock-color = config.theme.gold;
|
ring-clear-color = theme.muted;
|
||||||
ring-ver-color = config.theme.pine;
|
ring-caps-lock-color = theme.gold;
|
||||||
ring-wrong-color = config.theme.love;
|
ring-ver-color = theme.pine;
|
||||||
separator-color = config.theme.base;
|
ring-wrong-color = theme.love;
|
||||||
key-hl-color = config.theme.iris;
|
|
||||||
bs-hl-color = config.theme.love;
|
separator-color = theme.base;
|
||||||
caps-lock-key-hl-color = config.theme.iris;
|
|
||||||
caps-lock-bs-hl-color = config.theme.love;
|
key-hl-color = theme.iris;
|
||||||
text-color = config.theme.text;
|
bs-hl-color = theme.love;
|
||||||
text-clear-color = config.theme.text;
|
caps-lock-key-hl-color = theme.iris;
|
||||||
text-caps-lock-color = config.theme.text;
|
caps-lock-bs-hl-color = theme.love;
|
||||||
text-ver-color = config.theme.text;
|
|
||||||
text-wrong-color = config.theme.text;
|
layout-bg-color = concatStrings [ theme.overlay "aa" ];
|
||||||
effect-blur = "30x10";
|
layout-border-color = concatStrings [ theme.overlay "aa" ];
|
||||||
|
layout-text-color = theme.text;
|
||||||
|
|
||||||
|
text-color = theme.text;
|
||||||
|
text-clear-color = theme.text;
|
||||||
|
text-caps-lock-color = theme.text;
|
||||||
|
text-ver-color = theme.text;
|
||||||
|
text-wrong-color = theme.text;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue