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 = {
|
programs.hyprlock = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
settings = {
|
||||||
backgrounds = let
|
backgrounds = let
|
||||||
verticalWallpaper = "/home/notoh/Pictures/wallpapers/sparkle.png";
|
verticalWallpaper = "/home/notoh/Pictures/wallpapers/sparkle.png";
|
||||||
horizontalWallpaper = "/home/notoh/Pictures/wallpapers/sparkle2.png";
|
horizontalWallpaper = "/home/notoh/Pictures/wallpapers/sparkle2.png";
|
||||||
|
@ -99,4 +99,5 @@
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,13 +1,12 @@
|
||||||
{
|
{
|
||||||
inputs,
|
|
||||||
pkgs,
|
pkgs,
|
||||||
lib,
|
lib,
|
||||||
config,
|
config,
|
||||||
...
|
...
|
||||||
}: {
|
}: {
|
||||||
imports = [inputs.hypridle.homeManagerModules.default];
|
|
||||||
services.hypridle = {
|
services.hypridle = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
settings = {
|
||||||
ignoreDbusInhibit = false;
|
ignoreDbusInhibit = false;
|
||||||
lockCmd = lib.getExe config.programs.hyprlock.package;
|
lockCmd = lib.getExe config.programs.hyprlock.package;
|
||||||
beforeSleepCmd = "${pkgs.systemd}/bin/loginctl lock-session";
|
beforeSleepCmd = "${pkgs.systemd}/bin/loginctl lock-session";
|
||||||
|
@ -18,9 +17,9 @@
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
timeout = 460;
|
timeout = 460;
|
||||||
onTimeout = "${config.wayland.windowManager.hyprland.package}/bin/hyprctl dispatch dpms off";
|
onTimeout = "${pkgs.systemd}/bin/systemctl suspend";
|
||||||
onResume = "${config.wayland.windowManager.hyprland.package}/bin/hyprctl dispatch dpms on";
|
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{inputs, ...}: {
|
_: {
|
||||||
imports = [inputs.hyprpaper.homeManagerModules.default];
|
|
||||||
services.hyprpaper = {
|
services.hyprpaper = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
settings = {
|
||||||
ipc = true;
|
ipc = true;
|
||||||
splash = false;
|
splash = false;
|
||||||
preloads = [
|
preloads = [
|
||||||
|
@ -15,4 +15,5 @@
|
||||||
"DP-3,~/Pictures/wallpapers/sparkle3.png"
|
"DP-3,~/Pictures/wallpapers/sparkle3.png"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue