feat: variable-based path interpolated hyprpaper config UNTESTED
This commit is contained in:
parent
899c1b4a26
commit
362d2098bf
4 changed files with 38 additions and 7 deletions
15
home-manager/stvnliu/variables.nix
Normal file
15
home-manager/stvnliu/variables.nix
Normal file
|
@ -0,0 +1,15 @@
|
|||
{pkgs, config, lib, ...}:
|
||||
{
|
||||
options = with lib; with types; {
|
||||
myWallPaperPathString = { type = str; };
|
||||
myUserName = { type = str; };
|
||||
myDisplayName = { type = str; };
|
||||
myEmail = { type = str; };
|
||||
};
|
||||
config = rec {
|
||||
myUserName = "stvnliu";
|
||||
myWallPaperPathString = "/home/${config.myUserName}/wallpaper.png";
|
||||
myDisplayName = "Zhongheng Liu";
|
||||
myEmail = "z.liu@outlook.com.gr";
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue