diff --git a/README.md b/README.md index f52c2a3..7450962 100644 --- a/README.md +++ b/README.md @@ -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" diff --git a/src/btop_config.cpp b/src/btop_config.cpp index 66069d7..c9a5a42 100644 --- a/src/btop_config.cpp +++ b/src/btop_config.cpp @@ -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" @@ -603,4 +603,4 @@ namespace Config { } } } -} \ No newline at end of file +} diff --git a/src/btop_config.hpp b/src/btop_config.hpp index b99e26f..9d2f63c 100644 --- a/src/btop_config.hpp +++ b/src/btop_config.hpp @@ -48,7 +48,7 @@ namespace Config { extern vector 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 diff --git a/src/btop_menu.cpp b/src/btop_menu.cpp index ef159a4..c526521 100644 --- a/src/btop_menu.cpp +++ b/src/btop_menu.cpp @@ -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:", @@ -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", @@ -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\"."},