mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-22 00:21:34 +01:00
Reduce wrapper file count
This commit is contained in:
parent
058d1b38a3
commit
a290812085
8 changed files with 56 additions and 41 deletions
20
wrappers/hyprpaper.nix
Normal file
20
wrappers/hyprpaper.nix
Normal 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
|
||||
];
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue