Reduce wrapper file count

This commit is contained in:
SebastianStork 2024-05-23 12:02:15 +02:00
parent 058d1b38a3
commit a290812085
8 changed files with 56 additions and 41 deletions

20
wrappers/hyprpaper.nix Normal file
View file

@ -0,0 +1,20 @@
{ assembleWrapper, moduleArgs, ... }:
let
inherit (moduleArgs) pkgs;
in
assembleWrapper {
basePackage = pkgs.hyprpaper;
flags =
let
hyprpaper-config = pkgs.writeText "hyprpaper-config" ''
preload = ~/Pictures/.wallpaper
wallpaper = , ~/Pictures/.wallpaper
splash = false
'';
in
[
"--config"
hyprpaper-config
];
}