wayland: update hypr* configs
This commit is contained in:
parent
68404bfbc7
commit
2b5b502192
3 changed files with 128 additions and 127 deletions
|
@ -1,7 +1,7 @@
|
|||
{inputs, ...}: {
|
||||
imports = [inputs.hyprlock.homeManagerModules.default];
|
||||
_: {
|
||||
programs.hyprlock = {
|
||||
enable = true;
|
||||
settings = {
|
||||
backgrounds = let
|
||||
verticalWallpaper = "/home/notoh/Pictures/wallpapers/sparkle.png";
|
||||
horizontalWallpaper = "/home/notoh/Pictures/wallpapers/sparkle2.png";
|
||||
|
@ -99,4 +99,5 @@
|
|||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,13 +1,12 @@
|
|||
{
|
||||
inputs,
|
||||
pkgs,
|
||||
lib,
|
||||
config,
|
||||
...
|
||||
}: {
|
||||
imports = [inputs.hypridle.homeManagerModules.default];
|
||||
services.hypridle = {
|
||||
enable = true;
|
||||
settings = {
|
||||
ignoreDbusInhibit = false;
|
||||
lockCmd = lib.getExe config.programs.hyprlock.package;
|
||||
beforeSleepCmd = "${pkgs.systemd}/bin/loginctl lock-session";
|
||||
|
@ -18,9 +17,9 @@
|
|||
}
|
||||
{
|
||||
timeout = 460;
|
||||
onTimeout = "${config.wayland.windowManager.hyprland.package}/bin/hyprctl dispatch dpms off";
|
||||
onResume = "${config.wayland.windowManager.hyprland.package}/bin/hyprctl dispatch dpms on";
|
||||
onTimeout = "${pkgs.systemd}/bin/systemctl suspend";
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{inputs, ...}: {
|
||||
imports = [inputs.hyprpaper.homeManagerModules.default];
|
||||
_: {
|
||||
services.hyprpaper = {
|
||||
enable = true;
|
||||
settings = {
|
||||
ipc = true;
|
||||
splash = false;
|
||||
preloads = [
|
||||
|
@ -15,4 +15,5 @@
|
|||
"DP-3,~/Pictures/wallpapers/sparkle3.png"
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue