mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 18:41:34 +01:00
Wrap hyprlock
This commit is contained in:
parent
08dae72f8d
commit
e7fbcb4a49
5 changed files with 28 additions and 105 deletions
|
|
@ -1,5 +1,4 @@
|
|||
{
|
||||
inputs,
|
||||
pkgs,
|
||||
lib,
|
||||
...
|
||||
|
|
@ -17,13 +16,6 @@
|
|||
|
||||
wayland.windowManager.hyprland.settings.monitor = "DP-2,2560x1440@144,0x0,1";
|
||||
|
||||
programs.hyprlock.package = inputs.hyprlock.packages.${pkgs.system}.default.overrideAttrs {
|
||||
postPatch = ''
|
||||
substituteInPlace src/core/hyprlock.cpp \
|
||||
--replace "5000" "16"
|
||||
'';
|
||||
};
|
||||
|
||||
services.hypridle.settings.general.before_sleep_cmd = lib.mkForce "";
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue