Skip to content

Commit

Permalink
test(windows): Update defaults for windows
Browse files Browse the repository at this point in the history
  • Loading branch information
devanlooches committed Nov 6, 2022
1 parent 0fa2bed commit 9345314
Show file tree
Hide file tree
Showing 2 changed files with 85 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -999,7 +999,7 @@ mod test {

#[test]
fn check_default_config() {
let config = Config::from_config(String::from("config.toml"));
let config = Config::from_config(String::from("windows_default.toml"));
assert_eq!(Config::default(), config);
}

Expand Down
84 changes: 84 additions & 0 deletions windows_default.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,84 @@
module-order = "user delimiter os host kernel uptime packages cpu"
offset = 4
logo-cmd = "auto"
wrap-lines = true

[format]
mode = "classic"
top-left-corner-char = ""
top-right-corner-char = ""
bottom-left-corner-char = ""
bottom-right-corner-char = ""
horizontal-char = ""
vertical-char = ""
padding-left = 1
padding-right = 1
padding-top = 0

[user]
pre-text-style = "bold.yellow"
pre-text = ""
output-style = "bold.yellow"
separator-style = "white"
separator-char = "@"

[delimiter]
style = "white"
repeat-num = 0
char = "-"

[os]
pre-text-style = "bold.yellow"
pre-text = "OS: "
output-style = "white"

[host]
pre-text-style = "bold.yellow"
pre-text = "Host: "
output-style = "white"

[kernel]
pre-text-style = "bold.yellow"
pre-text = "Kernel: "
output-style = "white"

[uptime]
pre-text-style = "bold.yellow"
pre-text = "Uptime: "
output-style = "white"
time-format = "$days days, $hours hours, $minutes minutes"

[packages]
pre-text-style = "bold.yellow"
pre-text = "Packages: "
output-style = "white"

[shell]
pre-text-style = "bold.yellow"
pre-text = "Shell: "
output-style = "white"

[resolution]
pre-text-style = "bold.yellow"
pre-text = "Resolution: "
output-style = "white"

[desktop-environment]
pre-text-style = "bold.yellow"
pre-text = "Desktop Environment: "
output-style = "white"

[window-manager]
pre-text-style = "bold.yellow"
pre-text = "Window Manager: "
output-style = "white"

[terminal]
pre-text-style = "bold.yellow"
pre-text = "Terminal: "
output-style = "white"

[cpu]
pre-text-style = "bold.yellow"
pre-text = "CPU: "
output-style = "white"

0 comments on commit 9345314

Please sign in to comment.