setup swaylock

This commit is contained in:
Adithya 2023-11-27 23:11:46 +05:30
parent b2a3407d9d
commit 372180bf08
Signed by: adtya
GPG key ID: 48FC9915FFD326D0
3 changed files with 38 additions and 1 deletions

View file

@ -5,5 +5,6 @@
./dunst.nix ./dunst.nix
./kanshi.nix ./kanshi.nix
./swayidle.nix ./swayidle.nix
./swaylock.nix
]; ];
} }

View file

@ -0,0 +1,36 @@
_: {
programs.swaylock = {
enable = true;
settings = {
color = "282a36";
inside-color = "1F202A";
line-color = "1F202A";
ring-color = "bd93f9";
text-color = "f8f8f2";
layout-bg-color = "1F202A";
layout-text-color = "f8f8f2";
inside-clear-color = "6272a4";
line-clear-color = "1F202A";
ring-clear-color = "6272a4";
text-clear-color = "1F202A";
inside-ver-color = "bd93f9";
line-ver-color = "1F202A";
ring-ver-color = "bd93f9";
text-ver-color = "1F202A";
inside-wrong-color = "ff5555";
line-wrong-color = "1F202A";
ring-wrong-color = "ff5555";
text-wrong-color = "1F202A";
bs-hl-color = "ff5555";
key-hl-color = "50fa7b";
text-caps-lock-color = "f8f8f2";
};
};
}

View file

@ -10,7 +10,7 @@ let
kitty = "${config.programs.kitty.package}/bin/kitty"; kitty = "${config.programs.kitty.package}/bin/kitty";
playerctl = "${pkgs.playerctl}/bin/playerctl"; playerctl = "${pkgs.playerctl}/bin/playerctl";
rofi = "${config.programs.rofi.package}/bin/rofi"; rofi = "${config.programs.rofi.package}/bin/rofi";
swaylock = "${pkgs.swaylock}/bin/swaylock"; swaylock = "${config.programs.swaylock.package}/bin/swaylock";
tmux = "${config.programs.tmux.package}/bin/tmux"; tmux = "${config.programs.tmux.package}/bin/tmux";
wpctl = "${pkgs.wireplumber}/bin/wpctl"; wpctl = "${pkgs.wireplumber}/bin/wpctl";