Skip to content

Commit

Permalink
ci(workflow): Add seperate config file for workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
devanlooches committed Nov 4, 2022
1 parent dc22133 commit 11e95d8
Show file tree
Hide file tree
Showing 2 changed files with 85 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,4 @@ jobs:
- name: Build
run: cargo build
- name: Run
run: ./target/debug/rocketfetch --no-line-wrap
run: ./target/debug/rocketfetch -c workflow_config.toml
84 changes: 84 additions & 0 deletions workflow_config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,84 @@
module-order = "user delimiter os host kernel uptime packages shell resolution desktop-environment window-manager cpu"
offset = 4
logo-cmd = "auto"
wrap-lines = false

[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 11e95d8

Please sign in to comment.