about summary refs log tree commit diff
path: root/htop
diff options
context:
space:
mode:
authorAzat Bahawi <azat@bahawi.net>1970-01-01 03:00:00 +0300
committerAzat Bahawi <azat@bahawi.net>2022-09-20 11:51:54 +0300
commit38bab29776950ac2364ed64195b89887717c33de (patch)
treeedaaf366a55dbe96d268019124536bc504c64e87 /htop
chore: init HEAD master
Diffstat (limited to 'htop')
-rw-r--r--htop/.local/etc/htop/htoprc40
-rwxr-xr-xhtop/@install10
2 files changed, 50 insertions, 0 deletions
diff --git a/htop/.local/etc/htop/htoprc b/htop/.local/etc/htop/htoprc
new file mode 100644
index 0000000..124b34c
--- /dev/null
+++ b/htop/.local/etc/htop/htoprc
@@ -0,0 +1,40 @@
+# 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 6 17 18 38 39 40 2 46 47 49 1
+sort_key=47
+sort_direction=1
+tree_sort_key=0
+tree_sort_direction=1
+hide_kernel_threads=1
+hide_userland_threads=1
+shadow_other_users=1
+show_thread_names=1
+show_program_path=0
+highlight_base_name=1
+highlight_megabytes=1
+highlight_threads=1
+highlight_changes=1
+highlight_changes_delay_secs=1
+find_comm_in_cmdline=0
+strip_exe_from_cmdline=0
+show_merged_command=0
+tree_view=1
+tree_view_always_by_pid=1
+header_margin=1
+detailed_cpu_time=1
+cpu_count_from_one=0
+show_cpu_usage=1
+show_cpu_frequency=1
+show_cpu_temperature=1
+degree_fahrenheit=0
+update_process_names=1
+account_guest_in_cpu_meter=1
+color_scheme=0
+enable_mouse=0
+delay=10
+left_meters=AllCPUs Memory Swap
+left_meter_modes=1 1 1
+right_meters=Hostname Clock Uptime Tasks LoadAverage Battery
+right_meter_modes=2 2 2 2 2 2
+hide_function_bar=0
+topology_affinity=1
diff --git a/htop/@install b/htop/@install
new file mode 100755
index 0000000..974ac80
--- /dev/null
+++ b/htop/@install
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+[ ! -d "${XDG_CONFIG_HOME}/htop" ] && \
+    mkdir -p "${XDG_CONFIG_HOME}/htop"
+
+stow \
+    --target="${HOME}" \
+    --ignore="^@.*" \
+    --verbose \
+    htop

Consider giving Nix/NixOS a try! <3