Change behavior name from 'pure' to 'clean'.
This commit is contained in:
parent
1269e379a5
commit
db02d276d3
1 changed files with 2 additions and 2 deletions
|
@ -75,7 +75,7 @@ class _ConfigLib:
|
||||||
logger.error("There is no wallpaper behavior specified in general, defaulting to fill...")
|
logger.error("There is no wallpaper behavior specified in general, defaulting to fill...")
|
||||||
print("ERROR: There is no wallpaper behavior specified in general, defaulting to fill...")
|
print("ERROR: There is no wallpaper behavior specified in general, defaulting to fill...")
|
||||||
|
|
||||||
human_behaviors: List[str] = ["pure", "tile", "center", "fill", "max", "scale"]
|
human_behaviors: List[str] = ["plain", "tile", "center", "fill", "max", "scale"]
|
||||||
machine_behaviors: List[str] = ["--bg", "--bg-tile", "--bg-center", "--bg-fill", "--bg-max", "--bg-scale"]
|
machine_behaviors: List[str] = ["--bg", "--bg-tile", "--bg-center", "--bg-fill", "--bg-max", "--bg-scale"]
|
||||||
behavior: str = self.config_general.get("behavior", "--bg-fill").lower()
|
behavior: str = self.config_general.get("behavior", "--bg-fill").lower()
|
||||||
if behavior not in human_behaviors and behavior not in machine_behaviors:
|
if behavior not in human_behaviors and behavior not in machine_behaviors:
|
||||||
|
@ -84,7 +84,7 @@ class _ConfigLib:
|
||||||
|
|
||||||
if behavior not in machine_behaviors:
|
if behavior not in machine_behaviors:
|
||||||
match behavior:
|
match behavior:
|
||||||
case "pure":
|
case "plain":
|
||||||
behavior = "--bg"
|
behavior = "--bg"
|
||||||
case "tile":
|
case "tile":
|
||||||
behavior = "--bg-tile"
|
behavior = "--bg-tile"
|
||||||
|
|
Loading…
Reference in a new issue