Add swaylock
This commit is contained in:
parent
acb3968daf
commit
d1366a95c6
3 changed files with 23 additions and 0 deletions
|
@ -104,6 +104,10 @@ in
|
|||
"${mod}+Shift+r" = "mode resize";
|
||||
## Screenshot
|
||||
"Print" = "exec ${pkgs.flameshot}/bin/flameshot gui";
|
||||
## Locking
|
||||
"${mod}+semicolon" = "exec ${pkgs.swaylock}/bin/swaylock"
|
||||
+ (if cfg.wallpaper == "" then "" else " -i ${cfg.wallpaper} -s fit")
|
||||
+ " -l -k";
|
||||
} // (
|
||||
# Map the workspaces
|
||||
builtins.listToAttrs (lib.flatten (map
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue