htop: fix applying settings
This commit is contained in:
parent
05ce120f9a
commit
ba1c9854a3
1 changed files with 26 additions and 25 deletions
|
@ -71,31 +71,32 @@ in
|
||||||
|
|
||||||
programs.fish.enable = true;
|
programs.fish.enable = true;
|
||||||
programs.htop.enable = true;
|
programs.htop.enable = true;
|
||||||
programs.htop.settings = {
|
environment.etc."htoprc".text = ''
|
||||||
hide_kernel_threads="1";
|
# Global htop configuration
|
||||||
hide_userland_threads="1";
|
hide_kernel_threads=1
|
||||||
show_thread_names="1";
|
hide_userland_threads=1
|
||||||
show_program_path="0";
|
show_thread_names=1
|
||||||
highlight_base_name="1";
|
show_program_path=0
|
||||||
highlight_deleted_exe="1";
|
highlight_base_name=1
|
||||||
find_comm_in_cmdline="1";
|
highlight_deleted_exe=1
|
||||||
strip_exe_from_cmdline="1";
|
find_comm_in_cmdline=1
|
||||||
show_merged_command="1";
|
strip_exe_from_cmdline=1
|
||||||
show_cpu_usage="1";
|
show_merged_command=1
|
||||||
show_cpu_frequency="1";
|
show_cpu_usage=1
|
||||||
show_cpu_temperature="1";
|
show_cpu_frequency=1
|
||||||
delay="4";
|
show_cpu_temperature=1
|
||||||
header_layout="two_50_50";
|
delay=4
|
||||||
column_meters_0="AllCPUs Memory Swap CPU PressureStallCPUSome";
|
header_layout=two_50_50
|
||||||
column_meter_modes_0="1 1 1 3 2";
|
column_meters_0=AllCPUs Memory Swap CPU PressureStallCPUSome
|
||||||
column_meters_1="Tasks LoadAverage Uptime DiskIO NetworkIO NetworkIO PressureStallIOSome PressureStallMemorySome";
|
column_meter_modes_0=1 1 1 3 2
|
||||||
column_meter_modes_1="2 2 2 1 1 3 2 2";
|
column_meters_1=Tasks LoadAverage Uptime DiskIO NetworkIO NetworkIO PressureStallIOSome PressureStallMemorySome
|
||||||
tree_view="1";
|
column_meter_modes_1=2 2 2 1 1 3 2 2
|
||||||
sort_key="47";
|
tree_view=1
|
||||||
tree_sort_key="47";
|
sort_key=47
|
||||||
sort_direction="-1";
|
tree_sort_key=47
|
||||||
tree_sort_direction="-1";
|
sort_direction=-1
|
||||||
};
|
tree_sort_direction=-1
|
||||||
|
'';
|
||||||
|
|
||||||
# Use the GRUB 2 boot loader.
|
# Use the GRUB 2 boot loader.
|
||||||
boot.loader.grub.enable = true;
|
boot.loader.grub.enable = true;
|
||||||
|
|
Loading…
Add table
Reference in a new issue