The big variable overhaul
This commit is contained in:
parent
3f0a235dc8
commit
6dab8fc029
36 changed files with 269 additions and 326 deletions
|
@ -1,16 +1,13 @@
|
|||
{config, pkgs, ...}: let
|
||||
swayLock = let
|
||||
colors = import ../common/colors.nix;
|
||||
fonts = import ../common/fonts.nix;
|
||||
in pkgs.writeScriptBin "swaylock" ''
|
||||
{config, pkgs, outputs, ...}: let
|
||||
swayLock = pkgs.writeScriptBin "swaylock" ''
|
||||
# Set the lock script
|
||||
lockscript() {
|
||||
BLANK='#00000000'
|
||||
CLEAR='#FFFFFF22'
|
||||
DEFAULT='#${colors.prime}FF'
|
||||
DEFAULT='#${outputs.look.colors.prime}FF'
|
||||
TEXT='#FFFFFFFF'
|
||||
WRONG='#${colors.split}FF'
|
||||
VERIFYING='#${colors.accent}FF'
|
||||
WRONG='#${outputs.look.colors.split}FF'
|
||||
VERIFYING='#${outputs.look.colors.accent}FF'
|
||||
|
||||
${pkgs.swaylock-effects}/bin/swaylock -f -e \
|
||||
--key-hl-color=$VERIFYING \
|
||||
|
@ -37,7 +34,7 @@
|
|||
--indicator-radius=80 \
|
||||
--image=~/.wallpapers/lock.png \
|
||||
--clock \
|
||||
--font=${fonts.main} \
|
||||
--font=${outputs.look.fonts.main} \
|
||||
--font-size=30 \
|
||||
--timestr="%I:%M%p" \
|
||||
--datestr="%a %b %d %Y"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue