hyprpaper booting
This commit is contained in:
parent
21382e22a0
commit
d7f018939f
3 changed files with 54 additions and 54 deletions
|
|
@ -1,6 +1,7 @@
|
|||
{
|
||||
pkgs,
|
||||
lib,
|
||||
config,
|
||||
isNixOS,
|
||||
...
|
||||
}:
|
||||
|
|
@ -8,13 +9,12 @@
|
|||
{
|
||||
home.packages = lib.mkIf isNixOS [ pkgs.hyprpaper ];
|
||||
|
||||
services.hyprpaper = {
|
||||
enable = true;
|
||||
package = lib.mkIf (!isNixOS) null;
|
||||
settings = {
|
||||
preload = [ "~/img/screen/wallpaper.jpg" ];
|
||||
wallpaper = [ ",~/img/screen/wallpaper.jpg" ];
|
||||
splash = false;
|
||||
};
|
||||
};
|
||||
xdg.configFile."hypr/hyprpaper.conf".text = ''
|
||||
wallpaper {
|
||||
monitor =
|
||||
path = ${config.home.homeDirectory}/img/screen/wallpaper.jpg
|
||||
}
|
||||
|
||||
splash = false
|
||||
'';
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue