dot

vizie's NixOS desktop: Hyprland, CachyOS kernel and gaming tweaks

286 lines10917 bytes
1#? Config file for btop v.1.4.7
2
3#* Name of a btop++/bpytop/bashtop formatted ".theme" file, "Default" and "TTY" for builtin themes.
4#* Themes should be placed in "../share/btop/themes" relative to binary or "$HOME/.config/btop/themes"
5color_theme = "Default"
6
7#* If the theme set background should be shown, set to False if you want terminal background transparency.
8theme_background = true
9
10#* Sets if 24-bit truecolor should be used, will convert 24-bit colors to 256 color (6x6x6 color cube) if false.
11truecolor = true
12
13#* Set to true to force tty mode regardless if a real tty has been detected or not.
14#* Will force 16-color mode and TTY theme, set all graph symbols to "tty" and swap out other non tty friendly symbols.
15force_tty = false
16
17#* Option to disable presets. Either the default preset, custom presets, or all presets.
18#* "Off" All presets are enabled.
19#* "Default" preset is disabled.#* "Custom" presets are disabled.#* "All" presets are disabled.
20disable_presets = "Off"
21
22#* Define presets for the layout of the boxes. Preset 0 is always all boxes shown with default settings. Max 9 presets.
23#* Format: "box_name:P:G,box_name:P:G" P=(0 or 1) for alternate positions, G=graph symbol to use for box.
24#* Use whitespace " " as separator between different presets.
25#* Example: "cpu:0:default,mem:0:tty,proc:1:default cpu:0:braille,proc:0:tty"
26presets = "cpu:1:default,proc:0:default cpu:0:default,mem:0:default,net:0:default cpu:0:block,net:0:tty"
27
28#* Set to True to enable "h,j,k,l,g,G" keys for directional control in lists.
29#* Conflicting keys for h:"help" and k:"kill" is accessible while holding shift.
30vim_keys = false
31
32#* Disable all mouse events.
33disable_mouse = false
34
35#* Rounded corners on boxes, is ignored if TTY mode is ON.
36rounded_corners = true
37
38#* Use terminal synchronized output sequences to reduce flickering on supported terminals.
39terminal_sync = true
40
41#* Default symbols to use for graph creation, "braille", "block" or "tty".
42#* "braille" offers the highest resolution but might not be included in all fonts.
43#* "block" has half the resolution of braille but uses more common characters.
44#* "tty" uses only 3 different symbols but will work with most fonts and should work in a real TTY.
45#* Note that "tty" only has half the horizontal resolution of the other two, so will show a shorter historical view.
46graph_symbol = "braille"
47
48# Graph symbol to use for graphs in cpu box, "default", "braille", "block" or "tty".
49graph_symbol_cpu = "default"
50
51# Graph symbol to use for graphs in gpu box, "default", "braille", "block" or "tty".
52graph_symbol_gpu = "default"
53
54# Graph symbol to use for graphs in cpu box, "default", "braille", "block" or "tty".
55graph_symbol_mem = "default"
56
57# Graph symbol to use for graphs in cpu box, "default", "braille", "block" or "tty".
58graph_symbol_net = "default"
59
60# Graph symbol to use for graphs in cpu box, "default", "braille", "block" or "tty".
61graph_symbol_proc = "default"
62
63#* Manually set which boxes to show. Available values are "cpu mem net proc" and "gpu0" through "gpu5", separate values with whitespace.
64shown_boxes = "proc net mem cpu gpu0"
65
66#* Update time in milliseconds, recommended 2000 ms or above for better sample times for graphs.
67update_ms = 100
68
69#* Processes sorting, "pid" "program" "arguments" "threads" "user" "memory" "cpu lazy" "cpu direct",
70#* "cpu lazy" sorts top process over time (easier to follow), "cpu direct" updates top process directly.
71proc_sorting = "cpu lazy"
72
73#* Reverse sorting order, True or False.
74proc_reversed = false
75
76#* Show processes as a tree.
77proc_tree = false
78
79#* Use the cpu graph colors in the process list.
80proc_colors = true
81
82#* Use a darkening gradient in the process list.
83proc_gradient = true
84
85#* If process cpu usage should be of the core it's running on or usage of the total available cpu power.
86proc_per_core = false
87
88#* Show process memory as bytes instead of percent.
89proc_mem_bytes = true
90
91#* Show cpu graph for each process.
92proc_cpu_graphs = true
93
94#* Use /proc/[pid]/smaps for memory information in the process info box (very slow but more accurate)
95proc_info_smaps = false
96
97#* Show proc box on left side of screen instead of right.
98proc_left = false
99
100#* (Linux) Filter processes tied to the Linux kernel(similar behavior to htop).
101proc_filter_kernel = false
102
103#* Should the process list follow the selected process when detailed view is open.
104proc_follow_detailed = true
105
106#* In tree-view, always accumulate child process resources in the parent process.
107proc_aggregate = false
108
109#* Should cpu and memory usage display be preserved for dead processes when paused.
110keep_dead_proc_usage = false
111
112#* Sets the CPU stat shown in upper half of the CPU graph, "total" is always available.
113#* Select from a list of detected attributes from the options menu.
114cpu_graph_upper = "Auto"
115
116#* Sets the CPU stat shown in lower half of the CPU graph, "total" is always available.
117#* Select from a list of detected attributes from the options menu.
118cpu_graph_lower = "Auto"
119
120#* If gpu info should be shown in the cpu box. Available values = "Auto", "On" and "Off".
121show_gpu_info = "Auto"
122
123#* Toggles if the lower CPU graph should be inverted.
124cpu_invert_lower = true
125
126#* Set to True to completely disable the lower CPU graph.
127cpu_single_graph = false
128
129#* Show cpu box at bottom of screen instead of top.
130cpu_bottom = false
131
132#* Shows the system uptime in the CPU box.
133show_uptime = true
134
135#* Shows the CPU package current power consumption in watts. Requires running `make setcap` or `make setuid` or running with sudo.
136show_cpu_watts = true
137
138#* Show cpu temperature.
139check_temp = true
140
141#* Which sensor to use for cpu temperature, use options menu to select from list of available sensors.
142cpu_sensor = "Auto"
143
144#* Show temperatures for cpu cores also if check_temp is True and sensors has been found.
145show_coretemp = true
146
147#* Set a custom mapping between core and coretemp, can be needed on certain cpus to get correct temperature for correct core.
148#* Use lm-sensors or similar to see which cores are reporting temperatures on your machine.
149#* Format "x:y" x=core with wrong temp, y=core with correct temp, use space as separator between multiple entries.
150#* Example: "4:0 5:1 6:3"
151cpu_core_map = ""
152
153#* Which temperature scale to use, available values: "celsius", "fahrenheit", "kelvin" and "rankine".
154temp_scale = "celsius"
155
156#* Use base 10 for bits/bytes sizes, KB = 1000 instead of KiB = 1024.
157base_10_sizes = false
158
159#* Show CPU frequency.
160show_cpu_freq = true
161
162#* How to calculate CPU frequency, available values: "first", "range", "lowest", "highest" and "average".
163freq_mode = "first"
164
165#* Draw a clock at top of screen, formatting according to strftime, empty string to disable.
166#* Special formatting: /host = hostname | /user = username | /uptime = system uptime
167clock_format = "%X"
168
169#* Update main ui in background when menus are showing, set this to false if the menus is flickering too much for comfort.
170background_update = true
171
172#* Custom cpu model name, empty string to disable.
173custom_cpu_name = ""
174
175#* Optional filter for shown disks, should be full path of a mountpoint, separate multiple values with whitespace " ".
176#* Only disks matching the filter will be shown. Prepend exclude= to only show disks not matching the filter. Examples: disk_filter="/boot /home/user", disks_filter="exclude=/boot /home/user"
177disks_filter = ""
178
179#* Show graphs instead of meters for memory values.
180mem_graphs = true
181
182#* Show mem box below net box instead of above.
183mem_below_net = false
184
185#* Count ZFS ARC in cached and available memory.
186zfs_arc_cached = true
187
188#* If swap memory should be shown in memory box.
189show_swap = true
190
191#* Show swap as a disk, ignores show_swap value above, inserts itself after first disk.
192swap_disk = true
193
194#* If mem box should be split to also show disks info.
195show_disks = true
196
197#* Filter out non physical disks. Set this to False to include network disks, RAM disks and similar.
198only_physical = true
199
200#* Read disks list from /etc/fstab. This also disables only_physical.
201use_fstab = true
202
203#* Setting this to True will hide all datasets, and only show ZFS pools. (IO stats will be calculated per-pool)
204zfs_hide_datasets = false
205
206#* Set to true to show available disk space for privileged users.
207disk_free_priv = false
208
209#* Toggles if io activity % (disk busy time) should be shown in regular disk usage view.
210show_io_stat = true
211
212#* Toggles io mode for disks, showing big graphs for disk read/write speeds.
213io_mode = false
214
215#* Set to True to show combined read/write io graphs in io mode.
216io_graph_combined = false
217
218#* Set the top speed for the io graphs in MiB/s (100 by default), use format "mountpoint:speed" separate disks with whitespace " ".
219#* Example: "/mnt/media:100 /:20 /boot:1".
220io_graph_speeds = ""
221
222#* Swap the positions of the upload and download speed graphs. When true, upload will be on top.
223swap_upload_download = false
224
225#* Set fixed values for network graphs in Mebibits. Is only used if net_auto is also set to False.
226net_download = 100
227
228net_upload = 100
229
230#* Use network graphs auto rescaling mode, ignores any values set above and rescales down to 10 Kibibytes at the lowest.
231net_auto = true
232
233#* Sync the auto scaling for download and upload to whichever currently has the highest scale.
234net_sync = true
235
236#* Starts with the Network Interface specified here.
237net_iface = ""
238
239#* "True" shows bitrates in base 10 (Kbps, Mbps). "False" shows bitrates in binary sizes (Kibps, Mibps, etc.). "Auto" uses base_10_sizes.
240base_10_bitrate = "Auto"
241
242#* Show battery stats in top right if battery is present.
243show_battery = true
244
245#* Which battery to use if multiple are present. "Auto" for auto detection.
246selected_battery = "Auto"
247
248#* Show power stats of battery next to charge indicator.
249show_battery_watts = true
250
251#* Set loglevel for "~/.local/state/btop.log" levels are: "ERROR" "WARNING" "INFO" "DEBUG".
252#* The level set includes all lower levels, i.e. "DEBUG" will show all logging info.
253log_level = "WARNING"
254
255#* Automatically save current settings to config file on exit.
256save_config_on_exit = true
257
258#* Measure PCIe throughput on NVIDIA cards, may impact performance on certain cards.
259nvml_measure_pcie_speeds = true
260
261#* Measure PCIe throughput on AMD cards, may impact performance on certain cards.
262rsmi_measure_pcie_speeds = true
263
264#* Horizontally mirror the GPU graph.
265gpu_mirror_graph = true
266
267#* Set which GPU vendors to show. Available values are "nvidia amd intel apple"
268shown_gpus = "nvidia amd intel apple"
269
270#* Custom gpu0 model name, empty string to disable.
271custom_gpu_name0 = ""
272
273#* Custom gpu1 model name, empty string to disable.
274custom_gpu_name1 = ""
275
276#* Custom gpu2 model name, empty string to disable.
277custom_gpu_name2 = ""
278
279#* Custom gpu3 model name, empty string to disable.
280custom_gpu_name3 = ""
281
282#* Custom gpu4 model name, empty string to disable.
283custom_gpu_name4 = ""
284
285#* Custom gpu5 model name, empty string to disable.
286custom_gpu_name5 = ""