From 244238c10fa9a10159e0c3a205e67041388d48c1 Mon Sep 17 00:00:00 2001 From: Jordan Orelli Date: Fri, 16 Sep 2022 20:27:32 -0500 Subject: [PATCH] customize the htop columns --- .config/htop/htoprc | 26 ++++++++++++++++++++++++++ .vimrc | 13 +++++++++++-- install.sh | 1 + 3 files changed, 38 insertions(+), 2 deletions(-) create mode 100644 .config/htop/htoprc diff --git a/.config/htop/htoprc b/.config/htop/htoprc new file mode 100644 index 0000000..76041be --- /dev/null +++ b/.config/htop/htoprc @@ -0,0 +1,26 @@ +# Beware! This file is rewritten by htop when settings are changed in the interface. +# The parser is also very primitive, and not human-friendly. +fields=0 48 39 2 46 47 1 +sort_key=46 +sort_direction=1 +hide_threads=0 +hide_kernel_threads=1 +hide_userland_threads=1 +shadow_other_users=0 +show_thread_names=0 +show_program_path=1 +highlight_base_name=0 +highlight_megabytes=1 +highlight_threads=1 +tree_view=1 +header_margin=1 +detailed_cpu_time=0 +cpu_count_from_zero=0 +update_process_names=0 +account_guest_in_cpu_meter=0 +color_scheme=3 +delay=15 +left_meters=LeftCPUs2 Memory Swap +left_meter_modes=1 1 1 +right_meters=RightCPUs2 Tasks LoadAverage Uptime +right_meter_modes=1 2 2 2 diff --git a/.vimrc b/.vimrc index 55cf482..a7092ec 100644 --- a/.vimrc +++ b/.vimrc @@ -175,12 +175,21 @@ if &t_Co > 2 || has("gui_running") set termguicolors let g:jellybeans_use_term_italics = 1 + let g:jellybeans_overrides = { + \ 'background': { 'ctermbg': 'none', '256ctermbg': 'none' }, + \} + + if has('termguicolors') && &termguicolors + let g:jellybeans_overrides['background']['guibg'] = 'none' + endif try colorscheme jellybeans catch silent! colorscheme delek endtry + + endif " ---------------------------------------------------------------------------}}} @@ -361,8 +370,8 @@ let g:terminal_ansi_colors = [ \ '#ffffff' \ ] -" highlight Terminal guibg='#3b3b3b' -" highlight Terminal guifg='#adadad' +highlight Terminal guibg='#0c0c0c' +highlight Terminal guifg='#cccccc' " ---------------------------------------------------------------------------}}} " Operator-Pending Mode -----------------------------------------------------{{{ diff --git a/install.sh b/install.sh index 0639b2b..40c5d6c 100755 --- a/install.sh +++ b/install.sh @@ -16,6 +16,7 @@ include=( .vim/pack .vim/ftplugin .vimrc + .config/htop/htoprc ) if [[ -d "$backup_dir" ]] ; then