From ea774fdd8bc150857e6d259336f797f026d59d3e Mon Sep 17 00:00:00 2001 From: Konstantin Demin Date: Thu, 29 Feb 2024 00:02:58 +0300 Subject: [PATCH] dotfiles: update rework htop layout :) --- .config/dotfiles/gitignore | 4 ++-- .config/htop/{htoprc.example => htoprc.dist} | 24 +++++++++----------- .config/mc/{ini.example => ini.dist} | 0 3 files changed, 13 insertions(+), 15 deletions(-) rename .config/htop/{htoprc.example => htoprc.dist} (75%) rename .config/mc/{ini.example => ini.dist} (100%) diff --git a/.config/dotfiles/gitignore b/.config/dotfiles/gitignore index 262117a..227dc03 100644 --- a/.config/dotfiles/gitignore +++ b/.config/dotfiles/gitignore @@ -10,8 +10,8 @@ !/.config/dotfiles/install.sh !/.config/dotfiles/scripts/.keep !/.config/dotfiles/woodpecker.yml -!/.config/htop/htoprc.example -!/.config/mc/ini.example +!/.config/htop/htoprc.dist +!/.config/mc/ini.dist !/.config/zsh/_.zsh !/.config/zsh/_wip/enclave.zsh.wip !/.config/zsh/_wip/starship.zsh.sample diff --git a/.config/htop/htoprc.example b/.config/htop/htoprc.dist similarity index 75% rename from .config/htop/htoprc.example rename to .config/htop/htoprc.dist index 55ac699..247c142 100644 --- a/.config/htop/htoprc.example +++ b/.config/htop/htoprc.dist @@ -1,6 +1,6 @@ # 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.2.1 +htop_version=3.3.0 config_reader_min_version=3 fields=0 48 17 18 38 39 40 2 46 47 49 1 hide_kernel_threads=1 @@ -28,20 +28,18 @@ show_cpu_frequency=1 show_cpu_temperature=1 degree_fahrenheit=0 update_process_names=0 -account_guest_in_cpu_meter=0 +account_guest_in_cpu_meter=1 color_scheme=0 enable_mouse=1 delay=11 hide_function_bar=0 -header_layout=four_25_25_25_25 -column_meters_0=Hostname System DateTime Blank LeftCPUs2 -column_meter_modes_0=2 2 2 2 1 -column_meters_1=Uptime Tasks LoadAverage Blank RightCPUs2 -column_meter_modes_1=2 2 2 2 1 -column_meters_2=Memory Swap PressureStallMemorySome PressureStallMemoryFull -column_meter_modes_2=1 1 2 2 -column_meters_3=DiskIO NetworkIO PressureStallIOSome PressureStallIOFull Blank Battery -column_meter_modes_3=2 2 2 2 2 2 +header_layout=three_30_40_30 +column_meters_0=Hostname System DateTime Uptime Blank Tasks LoadAverage FileDescriptors +column_meter_modes_0=2 2 2 2 2 2 2 2 +column_meters_1=Memory HugePages Swap Blank AllCPUs2 +column_meter_modes_1=1 1 1 2 1 +column_meters_2=DiskIO NetworkIO Battery Blank PressureStallCPUSome PressureStallMemorySome PressureStallMemoryFull PressureStallIOSome PressureStallIOFull +column_meter_modes_2=2 2 2 2 2 2 2 2 2 tree_view=1 sort_key=46 tree_sort_key=0 @@ -52,16 +50,16 @@ all_branches_collapsed=0 screen:Main=PID USER PRIORITY NICE M_VIRT M_RESIDENT M_SHARE STATE PERCENT_CPU PERCENT_MEM TIME Command .sort_key=PERCENT_CPU .tree_sort_key=PID -.tree_view=1 .tree_view_always_by_pid=1 +.tree_view=1 .sort_direction=-1 .tree_sort_direction=1 .all_branches_collapsed=0 screen:I/O=PID USER IO_PRIORITY IO_RATE IO_READ_RATE IO_WRITE_RATE PERCENT_SWAP_DELAY PERCENT_IO_DELAY Command .sort_key=PID .tree_sort_key=PID -.tree_view=1 .tree_view_always_by_pid=1 +.tree_view=1 .sort_direction=-1 .tree_sort_direction=1 .all_branches_collapsed=0 diff --git a/.config/mc/ini.example b/.config/mc/ini.dist similarity index 100% rename from .config/mc/ini.example rename to .config/mc/ini.dist