mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-03-22 23:29:08 +01:00
hyprland/noctalia: Use hypridle for idle management
This commit is contained in:
parent
ed5b3adf2d
commit
0b09699cc5
4 changed files with 26 additions and 8 deletions
|
|
@ -14,7 +14,13 @@
|
|||
noctalia-shell.enable = true;
|
||||
};
|
||||
|
||||
services.cliphist.enable = true;
|
||||
services = {
|
||||
cliphist.enable = true;
|
||||
hypridle = {
|
||||
enable = true;
|
||||
lockCommand = "noctalia-shell ipc call lockScreen lock";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
home.packages = [ pkgs.grimblast ];
|
||||
|
|
@ -35,8 +41,8 @@
|
|||
bind = SUPER, V, exec, $ipc launcher clipboard
|
||||
|
||||
# Manage session
|
||||
bindrl = SUPER CONTROL, L, exec, $ipc lockScreen lock
|
||||
bindrl = SUPER CONTROL, S, exec, $ipc sessionMenu lockAndSuspend
|
||||
bindrl = SUPER CONTROL, L, exec, loginctl lock-session
|
||||
bindrl = SUPER CONTROL, S, exec, systemctl sleep
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue