pinwheel: Add swaylock

This commit is contained in:
Alexander Heldt
2023-08-09 11:48:24 +02:00
parent 5186345042
commit 12856e3795
2 changed files with 16 additions and 0 deletions

View File

@@ -181,6 +181,7 @@
move = builtins.genList (x: "$mod SHIFT, ${ws x}, movetoworkspacesilent, ${builtins.toString (x + 1)}") 10;
in
select ++ move ++ [
"$mod, x, exec, swaylock"
"$mod SHIFT, x, exec, systemctl suspend"
"$mod, RETURN, exec, foot"
@@ -236,6 +237,15 @@
};
style = '''';
programs.swaylock = {
enable = true;
settings = {
color = "000000";
indicator-idle-visible = false;
show-failed-attempts = true;
};
};
services.dunst.enable = true;