|
| 1 | +#? Config file for btop v. 1.4.x -- MiOS preset (80x20 portal) |
| 2 | +# |
| 3 | +# Operator 2026-05-09: "btop can run if a preset can fit the dimensions |
| 4 | +# provided--just need a profile preset(make it match the entire MiOS |
| 5 | +# themes and color palette". This preset trims the default config to |
| 6 | +# fit the 80x20 MiOS canonical terminal size: hides net + processes |
| 7 | +# boxes, packs cpu+mem into the smallest layout that still shows |
| 8 | +# meaningful info. |
| 9 | + |
| 10 | +# Color theme -- MiOS palette via mios.theme. |
| 11 | +color_theme = "mios" |
| 12 | + |
| 13 | +# Theme background (true = use theme bg, false = terminal default). |
| 14 | +# false preserves WT's acrylic backdrop. |
| 15 | +theme_background = False |
| 16 | + |
| 17 | +# Sets if 24-bit truecolor should be used. |
| 18 | +truecolor = True |
| 19 | + |
| 20 | +# Force tty mode (off -- we have a real terminal). |
| 21 | +force_tty = False |
| 22 | + |
| 23 | +# Presets accessible by pressing `p` then 0-9 in btop. Format: |
| 24 | +# <boxes>:<mode>:<theme> |
| 25 | +# where mode = 0 (full) or 1 (compact/minimal). |
| 26 | +# |
| 27 | +# Operator 2026-05-10: "btop -p 3 that's the correct profile -- make |
| 28 | +# it default launch to preset 3 and have the background be uncolored |
| 29 | +# so we can utilize the Windows acrylic rendering -- make btops |
| 30 | +# colorpalette match and preset 4 to be only showing processes |
| 31 | +# section". The `btop` shell function in /etc/profile.d/mios-verbs.sh |
| 32 | +# (and the Windows-side `btop` wrapper) calls `btop -p 3 "$@"` so the |
| 33 | +# operator's launch defaults match this slot. |
| 34 | +# |
| 35 | +# Preset slots: |
| 36 | +# 0 cpu compact (fallback for tiny windows < 75 cols) |
| 37 | +# 1 cpu full |
| 38 | +# 2 cpu+mem compact |
| 39 | +# 3 cpu+mem full <- canonical launch via `btop -p 3` |
| 40 | +# 4 processes only <- operator-requested process viewer |
| 41 | +# 5 cpu+mem+net+proc full (legacy verbose mode) |
| 42 | +presets = "cpu:1:default,cpu:0:default,cpu mem:1:default,cpu mem:0:default,proc:0:default,cpu mem net proc:0:default user mios" |
| 43 | + |
| 44 | +# Set to True to add "v" mark when value is volatile. |
| 45 | +vim_keys = False |
| 46 | + |
| 47 | +# Rounded corners on boxes (matches MiOS frame chars). |
| 48 | +rounded_corners = True |
| 49 | + |
| 50 | +# Default symbols for graphs: "braille", "block", "tty". |
| 51 | +graph_symbol = "block" |
| 52 | + |
| 53 | +# Individual graph symbol (for cpu graph). |
| 54 | +graph_symbol_cpu = "block" |
| 55 | +graph_symbol_gpu = "block" |
| 56 | +graph_symbol_mem = "block" |
| 57 | +graph_symbol_net = "block" |
| 58 | +graph_symbol_proc = "block" |
| 59 | + |
| 60 | +# Boxes shown at launch. Matches the canonical -p 3 preset |
| 61 | +# (cpu+mem full) so even if btop is invoked without an explicit -p |
| 62 | +# arg, it still loads the operator's intended view. |
| 63 | +shown_boxes = "cpu mem" |
| 64 | + |
| 65 | +# Update time in milliseconds. Operator 2026-05-10: "not 500ms update |
| 66 | +# speed" -- the displayed value was 2000ms. Lock to 500ms here so |
| 67 | +# btop refreshes 2x/sec on the dev VM out of the box. |
| 68 | +update_ms = 500 |
| 69 | + |
| 70 | +# Process sort column (when proc box re-enabled). |
| 71 | +proc_sorting = "cpu lazy" |
| 72 | + |
| 73 | +# Reverse sort. |
| 74 | +proc_reversed = False |
| 75 | + |
| 76 | +# Show command line of processes. |
| 77 | +proc_tree = False |
| 78 | + |
| 79 | +# Show colliding cpu colors in tree mode. |
| 80 | +proc_colors = True |
| 81 | + |
| 82 | +# Show graph for each process (cpu / mem usage). |
| 83 | +proc_gradient = True |
| 84 | + |
| 85 | +# Filter via "/" key. |
| 86 | +proc_filter_kernel = False |
| 87 | + |
| 88 | +# Display PID by default. |
| 89 | +proc_per_core = False |
| 90 | + |
| 91 | +# Show memory in process box. |
| 92 | +proc_mem_bytes = True |
| 93 | + |
| 94 | +# Show CPU graph in process box. |
| 95 | +proc_cpu_graphs = True |
| 96 | + |
| 97 | +# Use psutil for process info (Linux). |
| 98 | +proc_info_smaps = False |
| 99 | + |
| 100 | +# Show command in process box. |
| 101 | +proc_left = False |
| 102 | + |
| 103 | +# Display CPU as percentage (true) or single core load (false). |
| 104 | +proc_filter = "" |
| 105 | + |
| 106 | +# CPU graph height (rows). Minimal for 80x20. |
| 107 | +cpu_graph_upper = "total" |
| 108 | +cpu_graph_lower = "total" |
| 109 | +cpu_invert_lower = True |
| 110 | +cpu_single_graph = True |
| 111 | +cpu_bottom = False |
| 112 | + |
| 113 | +# Show top of CPU box. |
| 114 | +show_uptime = True |
| 115 | + |
| 116 | +# Show cpu temperatures (per-core if available). |
| 117 | +check_temp = True |
| 118 | + |
| 119 | +# Which sensor to use for cpu temperature. |
| 120 | +cpu_sensor = "Auto" |
| 121 | + |
| 122 | +# Show all cores in cpu temp. |
| 123 | +show_coretemp = True |
| 124 | + |
| 125 | +# CPU core map order: layout/numa/etc. |
| 126 | +cpu_core_map = "" |
| 127 | + |
| 128 | +# Custom cpu model name in cpu percentage box. |
| 129 | +custom_cpu_name = "" |
| 130 | + |
| 131 | +# Cpu freq display: True/False. |
| 132 | +show_cpu_freq = True |
| 133 | + |
| 134 | +# Update graphs for processes / cpu freq even when paused. |
| 135 | +clock_format = "%X" |
| 136 | + |
| 137 | +# Background update while paused. |
| 138 | +background_update = True |
| 139 | + |
| 140 | +# Filter all-zero CPU. |
| 141 | +custom_filters = "" |
| 142 | + |
| 143 | +# Memory box -- compact. |
| 144 | +show_swap = True |
| 145 | +swap_disk = True |
| 146 | +show_disks = True |
| 147 | +only_physical = True |
| 148 | +use_fstab = False |
| 149 | +zfs_hide_datasets = False |
| 150 | + |
| 151 | +# Disable disk meter graph for compact 80x20 fit. |
| 152 | +disk_free_priv = False |
| 153 | +show_io_stat = False |
| 154 | +io_mode = False |
| 155 | +io_graph_combined = False |
| 156 | +io_graph_speeds = "" |
| 157 | + |
| 158 | +# Network box (hidden via shown_boxes -- still configured for when re-enabled). |
| 159 | +net_download = 100 |
| 160 | +net_upload = 100 |
| 161 | +net_auto = True |
| 162 | +net_sync = False |
| 163 | +net_iface = "" |
| 164 | + |
| 165 | +# Show battery status (when applicable). |
| 166 | +show_battery = True |
| 167 | +selected_battery = "Auto" |
| 168 | +show_battery_watts = True |
| 169 | + |
| 170 | +# Logging level. |
| 171 | +log_level = "WARNING" |
0 commit comments