1
0
mirror of https://github.com/Dejvino/pinephone-sway-poc.git synced 2024-12-22 02:28:49 +00:00

Added htop

This commit is contained in:
Dejvino 2020-05-26 23:40:28 +02:00
parent 990f8e7214
commit d4d657d164
2 changed files with 37 additions and 2 deletions

View File

@ -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/

26
home/config/htop/htoprc Normal file
View File

@ -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