Customise Htop

Did you guys know you can customise Htop? Open a terminal, get htop to run. F2 opens the settings.

Customise away,

5 Likes

Very Cool!

1 Like

Here’s mine (ignore the colours, they’ve come out wrong for some reason):

~/.config/htop/htoprc:

fields=0 48 46 47 2 1 
sort_key=46
sort_direction=1
hide_threads=0
hide_kernel_threads=1
hide_userland_threads=1
shadow_other_users=1
show_thread_names=1
show_program_path=1
highlight_base_name=1
highlight_megabytes=1
highlight_threads=1
tree_view=1
header_margin=0
detailed_cpu_time=1
cpu_count_from_zero=1
update_process_names=1
account_guest_in_cpu_meter=1
color_scheme=0
delay=15
left_meters=Clock Uptime Tasks LoadAverage Memory 
left_meter_modes=2 2 2 2 2 
right_meters=CPU CPU(1) CPU(2) CPU(3) CPU(4) 
right_meter_modes=1 1 1 1 1 
2 Likes

Switched out HTOP for BASHTOP, like this one better.

4 Likes

Htop

htoprc

# Beware! This file is rewritten by htop when settings are changed in the interface.
# The parser is also very primitive, and not human-friendly.
htop_version=3.1.2
config_reader_min_version=2
fields=0 48 17 18 38 39 40 2 46 47 49 1
sort_key=49
sort_direction=-1
tree_sort_key=46
tree_sort_direction=1
hide_kernel_threads=1
hide_userland_threads=1
shadow_other_users=0
show_thread_names=0
show_program_path=0
highlight_base_name=1
highlight_deleted_exe=1
highlight_megabytes=1
highlight_threads=1
highlight_changes=0
highlight_changes_delay_secs=5
find_comm_in_cmdline=1
strip_exe_from_cmdline=1
show_merged_command=0
tree_view=0
tree_view_always_by_pid=0
all_branches_collapsed=0
header_margin=1
detailed_cpu_time=0
cpu_count_from_one=1
show_cpu_usage=1
show_cpu_frequency=0
show_cpu_temperature=0
degree_fahrenheit=0
update_process_names=0
account_guest_in_cpu_meter=0
color_scheme=0
enable_mouse=1
delay=20
hide_function_bar=0
header_layout=two_50_50
column_meters_0=LeftCPUs2 CPU Battery Blank Blank Blank Memory NetworkIO DiskIO
column_meter_modes_0=1 1 1 2 2 2 3 4 4
column_meters_1=RightCPUs2 Memory Swap Blank Blank Blank LoadAverage Uptime Tasks
column_meter_modes_1=1 1 1 2 2 2 3 4 4
5 Likes

Ok so for those of you who use Bashtop and like the Nord color scheme I did a Mod of the built in Nord theme that comes with Bashtop. Feel this color scheme better fits with Nord. Hope someone finds it useful. :slight_smile:

Summary
#Bashtop theme with nord palette (https://www.nordtheme.com)
#by Justin Zobel <justin.zobel@gmail.com>

# Colors should be in 6 or 2 character hexadecimal or single spaced rgb decimal: "#RRGGBB", "#BW" or "0-255 0-255 0-255"
# example for white: "#ffffff", "#ff" or "255 255 255".

# All graphs and meters can be gradients
# For single color graphs leave "mid" and "end" variable empty.
# Use "start" and "end" variables for two color gradient
# Use "start", "mid" and "end" for three color gradient

# Main background, empty for terminal default, need to be empty if you want transparent background
theme[main_bg]="#2B313C"

# Main text color
theme[main_fg]="#81A1C1"

# Title color for boxes
theme[title]="#7FABA7"

# Higlight color for keyboard shortcuts
theme[hi_fg]="#5E81AC"

# Background color of selected item in processes box
theme[selected_bg]="#81A1C1"

# Foreground color of selected item in processes box
theme[selected_fg]="#ECEFF4"

# Color of inactive/disabled text
theme[inactive_fg]="#445576"

# Misc colors for processes box including mini cpu graphs, details memory graph and details status text
theme[proc_misc]="#5E81AC"

# Cpu box outline color
theme[cpu_box]="#81A1C1"

# Memory/disks box outline color
theme[mem_box]="#81A1C1"

# Net up/down box outline color
theme[net_box]="#81A1C1"

# Processes box outline color
theme[proc_box]="#81A1C1"

# Box divider line and small boxes line color
theme[div_line]="#81A1C1"

# Temperature graph colors
theme[temp_start]="#81A1C1"
theme[temp_mid]="#88C0D0"
theme[temp_end]="#ECEFF4"

# CPU graph colors
theme[cpu_start]="#81A1C1"
theme[cpu_mid]="#88C0D0"
theme[cpu_end]="#ECEFF4"

# Mem/Disk free meter
theme[free_start]="#81A1C1"
theme[free_mid]="#88C0D0"
theme[free_end]="#ECEFF4"

# Mem/Disk cached meter
theme[cached_start]="#81A1C1"
theme[cached_mid]="#88C0D0"
theme[cached_end]="#ECEFF4"

# Mem/Disk available meter
theme[available_start]="#81A1C1"
theme[available_mid]="#88C0D0"
theme[available_end]="#ECEFF4"

# Mem/Disk used meter
theme[used_start]="#81A1C1"
theme[used_mid]="#88C0D0"
theme[used_end]="#ECEFF4"

# Download graph colors
theme[download_start]="#81A1C1"
theme[download_mid]="#88C0D0"
theme[download_end]="#ECEFF4"

# Upload graph colors
theme[upload_start]="#81A1C1"
theme[upload_mid]="#88C0D0"
theme[upload_end]="#ECEFF4"

4 Likes