diff --git a/Makefile b/Makefile index e309634..3d11ada 100644 --- a/Makefile +++ b/Makefile @@ -11,14 +11,20 @@ help: ### # INSTALL - USER ### -install_user: install_user_sway install_user_waybar +install_user: install_user_sway install_user_waybar install_user_htop install_user_sway: + mkdir -p $(HOME_PATH)/.config/sway/ cp home/config/sway/* $(HOME_PATH)/.config/sway/config install_user_waybar: + mkdir -p $(HOME_PATH)/.config/waybar/ cp home/config/waybar/* $(HOME_PATH)/.config/waybar/ +install_user_htop: + mkdir -p $(HOME_PATH)/.config/htop/ + cp home/config/htop/* $(HOME_PATH)/.config/htop/ + ### # INSTALL - SYSTEM ### @@ -33,7 +39,7 @@ install_system_lightdm: ### # FETCH ### -fetch: fetch_sway fetch_waybar fetch_lightdm +fetch: fetch_sway fetch_waybar fetch_htop fetch_lightdm fetch_sway: cp $(HOME_PATH)/.config/sway/config home/config/sway/config @@ -42,6 +48,9 @@ fetch_waybar: cp $(HOME_PATH)/.config/waybar/config* home/config/waybar/ cp $(HOME_PATH)/.config/waybar/style.css home/config/waybar/ +fetch_htop: + cp $(HOME_PATH)/.config/htop/htoprc home/config/htop/ + fetch_lightdm: cp /usr/share/wayland-sessions/sway.desktop usr/share/wayland-sessions/ diff --git a/home/config/htop/htoprc b/home/config/htop/htoprc new file mode 100644 index 0000000..d238271 --- /dev/null +++ b/home/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 46 47 38 2 49 1 +sort_key=47 +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=1 +highlight_megabytes=1 +highlight_threads=1 +tree_view=0 +header_margin=1 +detailed_cpu_time=0 +cpu_count_from_zero=0 +update_process_names=0 +account_guest_in_cpu_meter=0 +color_scheme=0 +delay=15 +left_meters=AllCPUs CPU Memory Swap +left_meter_modes=1 2 1 1 +right_meters=Tasks LoadAverage Uptime +right_meter_modes=2 2 2