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
|
let
|
||||||
light = "${pkgs.light}/bin/light";
|
light = "${pkgs.light}/bin/light";
|
||||||
notifysend = "${pkgs.libnotify}/bin/notify-send";
|
notifysend = "${pkgs.libnotify}/bin/notify-send";
|
||||||
|
swaylock = "${config.programs.swaylock.package}/bin/swaylock";
|
||||||
#pamixer = "${pkgs.pamixer}/bin/pamixer";
|
#pamixer = "${pkgs.pamixer}/bin/pamixer";
|
||||||
|
|
||||||
brightnessScript = pkgs.writeShellScriptBin "brightness" ''
|
brightnessScript = pkgs.writeShellScriptBin "brightness" ''
|
||||||
|
|
@ -144,6 +145,9 @@ in
|
||||||
"SUPERSHIFT, 8, movetoworkspace,8"
|
"SUPERSHIFT, 8, movetoworkspace,8"
|
||||||
"SUPERSHIFT, 9, movetoworkspace,9"
|
"SUPERSHIFT, 9, movetoworkspace,9"
|
||||||
"SUPERSHIFT, 0, movetoworkspace,10"
|
"SUPERSHIFT, 0, movetoworkspace,10"
|
||||||
|
|
||||||
|
# Lock Screen
|
||||||
|
"SUPER, Backspace, exec, ${swaylock}"
|
||||||
];
|
];
|
||||||
# ----- MOUSE KEYBINDS ----- #
|
# ----- MOUSE KEYBINDS ----- #
|
||||||
bindm = [
|
bindm = [
|
||||||
|
|
|
||||||
|
|
@ -5,21 +5,9 @@ in
|
||||||
{
|
{
|
||||||
programs.swaylock = {
|
programs.swaylock = {
|
||||||
enable = true;
|
enable = true;
|
||||||
package = pkgs.swaylock-effects;
|
|
||||||
settings = {
|
settings = {
|
||||||
effect-blur = "20x3";
|
font = config.fontProfiles.monospace.family;
|
||||||
fade-in = 0.1;
|
color = "#${colors.base01}";
|
||||||
|
|
||||||
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;
|
|
||||||
|
|
||||||
ring-color = "#${colors.base02}";
|
ring-color = "#${colors.base02}";
|
||||||
inside-wrong-color = "#${colors.base08}";
|
inside-wrong-color = "#${colors.base08}";
|
||||||
ring-wrong-color = "#${colors.base08}";
|
ring-wrong-color = "#${colors.base08}";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue