Skip to content

Commit

Permalink
Merge pull request #208 from mariogrip/fix-spelling-mistakes
Browse files Browse the repository at this point in the history
Fix spelling mistakes caught by debian lintian
  • Loading branch information
aristocratos committed Dec 29, 2021
2 parents 3cc19a5 + de27c58 commit c5fd59f
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -507,8 +507,8 @@ truecolor = True
force_tty = False
#* Define presets for the layout of the boxes. Preset 0 is always all boxes shown with default settings. Max 9 presets.
#* Format: "box_name:P:G,box_name:P:G" P=(0 or 1) for alternate positons, G=graph symbol to use for box.
#* Use withespace " " as seprator between different presets.
#* Format: "box_name:P:G,box_name:P:G" P=(0 or 1) for alternate positions, G=graph symbol to use for box.
#* Use withespace " " as separator between different presets.
#* Example: "cpu:0:default,mem:0:tty,proc:1:default cpu:0:braille,proc:0:tty"
presets = "cpu:1:default,proc:0:default cpu:0:default,mem:0:default,net:0:default cpu:0:block,net:0:tty"
Expand Down
6 changes: 3 additions & 3 deletions src/btop_config.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ namespace Config {
"#* Will force 16-color mode and TTY theme, set all graph symbols to \"tty\" and swap out other non tty friendly symbols."},

{"presets", "#* Define presets for the layout of the boxes. Preset 0 is always all boxes shown with default settings. Max 9 presets.\n"
"#* Format: \"box_name:P:G,box_name:P:G\" P=(0 or 1) for alternate positons, G=graph symbol to use for box.\n"
"#* Use withespace \" \" as seprator between different presets.\n"
"#* Format: \"box_name:P:G,box_name:P:G\" P=(0 or 1) for alternate positions, G=graph symbol to use for box.\n"
"#* Use withespace \" \" as separator between different presets.\n"
"#* Example: \"cpu:0:default,mem:0:tty,proc:1:default cpu:0:braille,proc:0:tty\""},

{"vim_keys", "#* Set to True to enable \"h,j,k,l\" keys for directional control in lists.\n"
Expand Down Expand Up @@ -603,4 +603,4 @@ namespace Config {
}
}
}
}
}
2 changes: 1 addition & 1 deletion src/btop_config.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ namespace Config {
extern vector<string> available_batteries;
extern int current_preset;

//* Check if string only contains space seperated valid names for boxes
//* Check if string only contains space separated valid names for boxes
bool check_boxes(const string& boxes);

//* Toggle box and update config string shown_boxes
Expand Down
8 changes: 4 additions & 4 deletions src/btop_menu.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -194,10 +194,10 @@ namespace Menu {
"Max 9 presets.",
"",
"Format: \"box_name:P:G,box_name:P:G\"",
"P=(0 or 1) for alternate positons.",
"P=(0 or 1) for alternate positions.",
"G=graph symbol to use for box.",
"",
"Use withespace \" \" as seprator between",
"Use withespace \" \" as separator between",
"different presets.",
"",
"Example:",
Expand All @@ -206,7 +206,7 @@ namespace Menu {
"Manually set which boxes to show.",
"",
"Available values are \"cpu mem net proc\".",
"Seperate values with whitespace.",
"Separate values with whitespace.",
"",
"Toggle between presets with key \"p\"."},
{"update_ms",
Expand Down Expand Up @@ -435,7 +435,7 @@ namespace Menu {
"equals 100 percent in the io graphs.",
"(100 MiB/s by default).",
"",
"Format: \"device:speed\" seperate disks with",
"Format: \"device:speed\" separate disks with",
"whitespace \" \".",
"",
"Example: \"/dev/sda:100, /dev/sdb:20\"."},
Expand Down

0 comments on commit c5fd59f

Please sign in to comment.