replace swaylock with hyprlock
This commit is contained in:
parent
4ecd855339
commit
e11c7848fa
5 changed files with 9 additions and 40 deletions
|
@ -4,9 +4,9 @@
|
|||
./waybar
|
||||
./auth-agent.nix
|
||||
./dunst.nix
|
||||
./hyprlock.nix
|
||||
./kanshi.nix
|
||||
./swayidle.nix
|
||||
./swaylock.nix
|
||||
./swww.nix
|
||||
./wallpaper.nix
|
||||
];
|
||||
|
|
5
home/wm/addon/hyprlock.nix
Normal file
5
home/wm/addon/hyprlock.nix
Normal file
|
@ -0,0 +1,5 @@
|
|||
_: {
|
||||
programs.hyprlock = {
|
||||
enable = true;
|
||||
};
|
||||
}
|
|
@ -1,36 +0,0 @@
|
|||
_: {
|
||||
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";
|
||||
};
|
||||
};
|
||||
}
|
|
@ -10,7 +10,7 @@ let
|
|||
kitty = "${config.programs.kitty.package}/bin/kitty";
|
||||
playerctl = "${pkgs.playerctl}/bin/playerctl";
|
||||
rofi = "${config.programs.rofi.package}/bin/rofi";
|
||||
swaylock = "${config.programs.swaylock.package}/bin/swaylock";
|
||||
hyprlock = "${config.programs.hyprlock.package}/bin/hyprlock";
|
||||
tmux = "${config.programs.tmux.package}/bin/tmux";
|
||||
wpctl = "${pkgs.wireplumber}/bin/wpctl";
|
||||
|
||||
|
@ -165,7 +165,7 @@ in
|
|||
"SUPER_SHIFT,y, exec, ${pkgs.scripts}/bin/youtube"
|
||||
"SUPER_SHIFT,b, exec, ${pkgs.rofi-bluetooth}/bin/rofi-bluetooth"
|
||||
|
||||
"SUPER,escape, exec, ${swaylock} -f -i /tmp/wallpaper.jpg"
|
||||
"SUPER,escape, exec, ${hyprlock}"
|
||||
"SUPER_SHIFT,W, exec, systemctl --user start wallpaper.service"
|
||||
|
||||
"SUPER,1, workspace, 1"
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
services = {
|
||||
passwd.enableGnomeKeyring = true;
|
||||
login.enableGnomeKeyring = true;
|
||||
swaylock = { };
|
||||
hyprlock = { };
|
||||
};
|
||||
u2f = {
|
||||
enable = true;
|
||||
|
|
Loading…
Reference in a new issue