fix(theme): clearer naming and making secondary optional
This commit is contained in:
@@ -36,7 +36,7 @@
|
|||||||
theme = {
|
theme = {
|
||||||
background = {
|
background = {
|
||||||
lockscreen = "wallpaper_2";
|
lockscreen = "wallpaper_2";
|
||||||
desktop = "wallpaper_1";
|
primary = "wallpaper_1";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -36,8 +36,8 @@
|
|||||||
theme = {
|
theme = {
|
||||||
background = {
|
background = {
|
||||||
lockscreen = "wallpaper_4";
|
lockscreen = "wallpaper_4";
|
||||||
desktop = "wallpaper_1";
|
primary = "wallpaper_1";
|
||||||
vertical = "wallpaper_5";
|
secondary = "wallpaper_5";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -23,7 +23,7 @@
|
|||||||
theme = {
|
theme = {
|
||||||
background = {
|
background = {
|
||||||
lockscreen = "wallpaper_2";
|
lockscreen = "wallpaper_2";
|
||||||
desktop = "wallpaper_1";
|
primary = "wallpaper_1";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -18,14 +18,14 @@ in
|
|||||||
apply = name: bgs.${name};
|
apply = name: bgs.${name};
|
||||||
example = "wallpaper_1";
|
example = "wallpaper_1";
|
||||||
};
|
};
|
||||||
desktop = mkOption {
|
primary = mkOption {
|
||||||
type = types.enum bgList;
|
type = types.enum bgList;
|
||||||
apply = name: bgs.${name};
|
apply = name: bgs.${name};
|
||||||
example = "wallpaper_2";
|
example = "wallpaper_2";
|
||||||
};
|
};
|
||||||
vertical = mkOption {
|
secondary = mkOption {
|
||||||
type = types.enum bgList;
|
type = types.enum bgList;
|
||||||
apply = name: bgs.${name};
|
apply = name: if name == null then null else bgs.${name};
|
||||||
example = "wallpaper_3";
|
example = "wallpaper_3";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user