add: swaylock bind for hyprland
This commit is contained in:
parent
ab6a54545e
commit
c305458223
2 changed files with 7 additions and 15 deletions
|
|
@ -3,6 +3,7 @@
|
|||
let
|
||||
light = "${pkgs.light}/bin/light";
|
||||
notifysend = "${pkgs.libnotify}/bin/notify-send";
|
||||
swaylock = "${config.programs.swaylock.package}/bin/swaylock";
|
||||
#pamixer = "${pkgs.pamixer}/bin/pamixer";
|
||||
|
||||
brightnessScript = pkgs.writeShellScriptBin "brightness" ''
|
||||
|
|
@ -144,6 +145,9 @@ in
|
|||
"SUPERSHIFT, 8, movetoworkspace,8"
|
||||
"SUPERSHIFT, 9, movetoworkspace,9"
|
||||
"SUPERSHIFT, 0, movetoworkspace,10"
|
||||
|
||||
# Lock Screen
|
||||
"SUPER, Backspace, exec, ${swaylock}"
|
||||
];
|
||||
# ----- MOUSE KEYBINDS ----- #
|
||||
bindm = [
|
||||
|
|
|
|||
|
|
@ -5,21 +5,9 @@ in
|
|||
{
|
||||
programs.swaylock = {
|
||||
enable = true;
|
||||
package = pkgs.swaylock-effects;
|
||||
settings = {
|
||||
effect-blur = "20x3";
|
||||
fade-in = 0.1;
|
||||
|
||||
font = config.fontProfiles.regular.family;
|
||||
font-size = 15;
|
||||
|
||||
line-uses-inside = true;
|
||||
disable-caps-lock-text = true;
|
||||
indicator-caps-lock = true;
|
||||
indicator-radius = 40;
|
||||
indicator-idle-visible = true;
|
||||
indicator-y-position = 1000;
|
||||
|
||||
font = config.fontProfiles.monospace.family;
|
||||
color = "#${colors.base01}";
|
||||
ring-color = "#${colors.base02}";
|
||||
inside-wrong-color = "#${colors.base08}";
|
||||
ring-wrong-color = "#${colors.base08}";
|
||||
|
|
@ -40,4 +28,4 @@ in
|
|||
separator-color = "#${colors.base02}";
|
||||
};
|
||||
};
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue