Skip to content

Commit edece28

Browse files
committed
Updated example config file
1 parent 36a3c7f commit edece28

File tree

1 file changed

+18
-5
lines changed

1 file changed

+18
-5
lines changed

README.md

Lines changed: 18 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -557,7 +557,7 @@ Also needs a UTF8 locale and a font that covers:
557557
```
558558
sudo snap install btop --edge
559559
```
560-
560+
561561
* **Connect the interface**
562562
563563
```bash
@@ -573,14 +573,14 @@ Config and log files stored in `$XDG_CONFIG_HOME/btop` or `$HOME/.config/btop` f
573573
#### btop.cfg: (auto generated if not found)
574574
575575
```bash
576-
#? Config file for btop v. 0.1.0
576+
#? Config file for btop v. 1.2.2
577577
578578
#* Name of a btop++/bpytop/bashtop formatted ".theme" file, "Default" and "TTY" for builtin themes.
579579
#* Themes should be placed in "../share/btop/themes" relative to binary or "$HOME/.config/btop/themes"
580580
color_theme = "Default"
581581
582582
#* If the theme set background should be shown, set to False if you want terminal background transparency.
583-
theme_background = False
583+
theme_background = True
584584
585585
#* Sets if 24-bit truecolor should be used, will convert 24-bit colors to 256 color (6x6x6 color cube) if false.
586586
truecolor = True
@@ -595,6 +595,10 @@ force_tty = False
595595
#* Example: "cpu:0:default,mem:0:tty,proc:1:default cpu:0:braille,proc:0:tty"
596596
presets = "cpu:1:default,proc:0:default cpu:0:default,mem:0:default,net:0:default cpu:0:block,net:0:tty"
597597
598+
#* Set to True to enable "h,j,k,l" keys for directional control in lists.
599+
#* Conflicting keys for h:"help" and k:"kill" is accessible while holding shift.
600+
vim_keys = False
601+
598602
#* Rounded corners on boxes, is ignored if TTY mode is ON.
599603
rounded_corners = True
600604
@@ -618,10 +622,10 @@ graph_symbol_net = "default"
618622
graph_symbol_proc = "default"
619623
620624
#* Manually set which boxes to show. Available values are "cpu mem net proc", separate values with whitespace.
621-
shown_boxes = "cpu mem net proc"
625+
shown_boxes = "proc cpu mem net"
622626
623627
#* Update time in milliseconds, recommended 2000 ms or above for better sample times for graphs.
624-
update_ms = 2000
628+
update_ms = 1500
625629
626630
#* Processes sorting, "pid" "program" "arguments" "threads" "user" "memory" "cpu lazy" "cpu responsive",
627631
#* "cpu lazy" sorts top process over time (easier to follow), "cpu responsive" updates top process directly.
@@ -689,6 +693,9 @@ cpu_core_map = ""
689693
#* Which temperature scale to use, available values: "celsius", "fahrenheit", "kelvin" and "rankine".
690694
temp_scale = "celsius"
691695

696+
#* Use base 10 for bits/bytes sizes, KB = 1000 instead of KiB = 1024.
697+
base_10_sizes = False
698+
692699
#* Show CPU frequency.
693700
show_cpu_freq = True
694701

@@ -727,6 +734,9 @@ only_physical = True
727734
#* Read disks list from /etc/fstab. This also disables only_physical.
728735
use_fstab = False
729736

737+
#* Set to true to show available disk space for privileged users.
738+
disk_free_priv = False
739+
730740
#* Toggles if io activity % (disk busy time) should be shown in regular disk usage view.
731741
show_io_stat = True
732742

@@ -757,6 +767,9 @@ net_iface = "br0"
757767
#* Show battery stats in top right if battery is present.
758768
show_battery = True
759769

770+
#* Which battery to use if multiple are present. "Auto" for auto detection.
771+
selected_battery = "Auto"
772+
760773
#* Set loglevel for "~/.config/btop/btop.log" levels are: "ERROR" "WARNING" "INFO" "DEBUG".
761774
#* The level set includes all lower levels, i.e. "DEBUG" will show all logging info.
762775
log_level = "DEBUG"

0 commit comments

Comments
 (0)