feat(sway): use kanagawa for lockscreen
This commit is contained in:
parent
d8fe0b8681
commit
6fb0387f7d
1 changed files with 21 additions and 1 deletions
|
@ -88,6 +88,26 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
keybindings =
|
keybindings =
|
||||||
|
let
|
||||||
|
swaylockConf = pkgs.writeText "swaylock.conf" ''
|
||||||
|
ignore-empty-password
|
||||||
|
color=${theme.primary.background}
|
||||||
|
bs-hl-color=${theme.normal.red}
|
||||||
|
caps-lock-bs-hl-color=${theme.normal.red}
|
||||||
|
caps-lock-key-hl-color=${theme.bright.green}
|
||||||
|
inside-color=${theme.primary.background}
|
||||||
|
inside-clear-color=${theme.normal.yellow}
|
||||||
|
inside-caps-lock-color=${theme.primary.background}
|
||||||
|
inside-ver-color=${theme.normal.blue}
|
||||||
|
inside-wrong-color=${theme.normal.red}
|
||||||
|
key-hl-color=${theme.bright.green}
|
||||||
|
ring-color=${theme.normal.green}
|
||||||
|
ring-clear-color=${theme.normal.yellow}
|
||||||
|
ring-caps-lock-color=${theme.bright.yellow}
|
||||||
|
ring-ver-color=${theme.bright.blue}
|
||||||
|
ring-wrong-color=${theme.bright.red}
|
||||||
|
'';
|
||||||
|
in
|
||||||
{
|
{
|
||||||
"${mod}+Shift+c" = "kill";
|
"${mod}+Shift+c" = "kill";
|
||||||
"${mod}+Control+r" = "reload";
|
"${mod}+Control+r" = "reload";
|
||||||
|
@ -95,7 +115,7 @@
|
||||||
|
|
||||||
"${mod}+Shift+Return" = "exec ${terminal}";
|
"${mod}+Shift+Return" = "exec ${terminal}";
|
||||||
"${mod}+i" = "exec ${browser}";
|
"${mod}+i" = "exec ${browser}";
|
||||||
"${mod}+Shift+y" = "exec ${pkgs.swaylock}/bin/swaylock -ec '${theme.primary.background}'";
|
"${mod}+Shift+y" = "exec ${pkgs.swaylock}/bin/swaylock -C '${swaylockConf}'";
|
||||||
"${mod}+z" = "exec ${pkgs.brightnessctl}/bin/brightnessctl s 1%-";
|
"${mod}+z" = "exec ${pkgs.brightnessctl}/bin/brightnessctl s 1%-";
|
||||||
"${mod}+x" = "exec ${pkgs.brightnessctl}/bin/brightnessctl s 1%+";
|
"${mod}+x" = "exec ${pkgs.brightnessctl}/bin/brightnessctl s 1%+";
|
||||||
"${mod}+Shift+z" = "exec ${pkgs.brightnessctl}/bin/brightnessctl s 5%-";
|
"${mod}+Shift+z" = "exec ${pkgs.brightnessctl}/bin/brightnessctl s 5%-";
|
||||||
|
|
Loading…
Reference in a new issue