summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2018-08-18 14:23:31 (EDT)
committer P. J. McDermott <pj@pehjota.net>2018-08-18 14:25:14 (EDT)
commit4fff7a4d69a9e2613c2142954a02a414044278f0 (patch)
tree0bea0cd39eb4a452c365fb4452b79e6d70c827a8
downloadhtop-4fff7a4d69a9e2613c2142954a02a414044278f0.zip
htop-4fff7a4d69a9e2613c2142954a02a414044278f0.tar.gz
htop-4fff7a4d69a9e2613c2142954a02a414044278f0.tar.bz2
.config/htop/htoprc: Add default settings
-rw-r--r--.config/htop/htoprc26
-rw-r--r--.gitignore.d/htop15
2 files changed, 41 insertions, 0 deletions
diff --git a/.config/htop/htoprc b/.config/htop/htoprc
new file mode 100644
index 0000000..6641dba
--- /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 17 18 38 39 40 2 46 47 49 1
+sort_key=46
+sort_direction=1
+hide_threads=0
+hide_kernel_threads=1
+hide_userland_threads=0
+shadow_other_users=0
+show_thread_names=0
+show_program_path=1
+highlight_base_name=0
+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=LeftCPUs Memory Swap
+left_meter_modes=1 1 1
+right_meters=RightCPUs Tasks LoadAverage Uptime
+right_meter_modes=1 2 2 2
diff --git a/.gitignore.d/htop b/.gitignore.d/htop
new file mode 100644
index 0000000..33f5351
--- /dev/null
+++ b/.gitignore.d/htop
@@ -0,0 +1,15 @@
+# Exclude all files
+*
+
+# Include relevant files
+!/.config/
+!/.config/htop/
+!/.config/htop/htoprc
+!/.gitignore.d/
+!/.gitignore.d/htop
+
+# Exclude swap and backup files
+*.s[a-w]?
+*.vim
+*~
+*.orig