commit 24f4af33b32502a42bd0e9fcf89036d9561b6da6
parent 0343fd7f56fdb37f152fdb0e9d1165a96402b618
Author: awy <awy@awy.one>
Date: Fri, 11 Jul 2025 18:51:54 +0300
btop
Diffstat:
6 files changed, 12 insertions(+), 70 deletions(-)
diff --git a/.config/btop/btop.conf b/.config/btop/btop.conf
@@ -0,0 +1,6 @@
+color_theme = "/usr/share/btop/themes/nord.theme"
+theme_background = False
+vim_keys = True
+rounded_corners = False
+shown_boxes = "cpu net proc mem gpu0"
+proc_sorting = "memory"
diff --git a/.config/htop/htoprc b/.config/htop/htoprc
@@ -1,64 +0,0 @@
-# Beware! This file is rewritten by htop when settings are changed in the interface.
-# The parser is also very primitive, and not human-friendly.
-htop_version=3.4.1-3.4.1
-config_reader_min_version=3
-fields=0 48 17 18 38 39 40 2 46 47 49 1
-hide_kernel_threads=1
-hide_userland_threads=1
-hide_running_in_container=0
-shadow_other_users=0
-show_thread_names=0
-show_program_path=1
-highlight_base_name=0
-highlight_deleted_exe=1
-shadow_distribution_path_prefix=0
-highlight_megabytes=1
-highlight_threads=1
-highlight_changes=0
-highlight_changes_delay_secs=5
-find_comm_in_cmdline=1
-strip_exe_from_cmdline=1
-show_merged_command=0
-header_margin=1
-screen_tabs=1
-detailed_cpu_time=0
-cpu_count_from_one=0
-show_cpu_usage=1
-show_cpu_frequency=0
-show_cpu_temperature=0
-degree_fahrenheit=0
-show_cached_memory=1
-update_process_names=0
-account_guest_in_cpu_meter=0
-color_scheme=0
-enable_mouse=1
-delay=15
-hide_function_bar=0
-header_layout=two_50_50
-column_meters_0=LeftCPUs2 Memory Swap
-column_meter_modes_0=1 1 1
-column_meters_1=RightCPUs2 Tasks LoadAverage Uptime
-column_meter_modes_1=1 2 2 2
-tree_view=0
-sort_key=47
-tree_sort_key=0
-sort_direction=-1
-tree_sort_direction=1
-tree_view_always_by_pid=0
-all_branches_collapsed=0
-screen:Main=PID USER PRIORITY NICE M_VIRT M_RESIDENT M_SHARE STATE PERCENT_CPU PERCENT_MEM TIME Command
-.sort_key=PERCENT_MEM
-.tree_sort_key=PID
-.tree_view_always_by_pid=0
-.tree_view=0
-.sort_direction=-1
-.tree_sort_direction=1
-.all_branches_collapsed=0
-screen:I/O=PID USER IO_PRIORITY IO_RATE IO_READ_RATE IO_WRITE_RATE PERCENT_SWAP_DELAY PERCENT_IO_DELAY Command
-.sort_key=IO_RATE
-.tree_sort_key=PID
-.tree_view_always_by_pid=0
-.tree_view=0
-.sort_direction=-1
-.tree_sort_direction=1
-.all_branches_collapsed=0
diff --git a/.local/bin/statusbar/sb-cpu b/.local/bin/statusbar/sb-cpu
@@ -2,10 +2,10 @@
case $BLOCK_BUTTON in
1) notify-send "🖥 CPU hogs" "$(ps axch -o cmd,%cpu | awk '{cmd[$1]+=$2} END {for (i in cmd) print i, cmd[i]}' | sort -nrk2 | head)\\n(100% per core)" ;;
- 2) setsid -f "$TERMINAL" -e htop >/dev/null 2>&1 ;;
+ 2) setsid -f "$TERMINAL" -e btop >/dev/null 2>&1 ;;
3) notify-send "🖥 CPU module " "\- Shows CPU temperature.
- Click to show intensive processes.
-- Middle click to open htop." ;;
+- Middle click to open btop." ;;
8) setsid -f "$TERMINAL" -e "$EDITOR" "$0" >/dev/null 2>&1 ;;
esac
diff --git a/.local/bin/statusbar/sb-cpubars b/.local/bin/statusbar/sb-cpubars
@@ -9,7 +9,7 @@
cache=/tmp/cpubarscache
case $BLOCK_BUTTON in
- 2) setsid -f "$TERMINAL" -e htop >/dev/null 2>&1 ;;
+ 2) setsid -f "$TERMINAL" -e btop >/dev/null 2>&1 ;;
3) notify-send "🪨 CPU load module" "Each bar represents
one CPU core";;
8) setsid -f "$TERMINAL" -e "$EDITOR" "$0" >/dev/null 2>&1 ;;
diff --git a/.local/bin/statusbar/sb-memory b/.local/bin/statusbar/sb-memory
@@ -2,10 +2,10 @@
case $BLOCK_BUTTON in
1) notify-send "🧠Memory hogs" "$(ps axch -o cmd,%mem | awk '{cmd[$1]+=$2} END {for (i in cmd) print i, cmd[i]}' | sort -nrk2 | head)" ;;
- 2) setsid -f "$TERMINAL" -e htop >/dev/null 2>&1 ;;
+ 2) setsid -f "$TERMINAL" -e btop >/dev/null 2>&1 ;;
3) notify-send "🧠Memory module" "\- Shows Memory Used/Total.
- Click to show memory hogs.
-- Middle click to open htop." ;;
+- Middle click to open btop." ;;
8) setsid -f "$TERMINAL" -e "$EDITOR" "$0" >/dev/null 2>&1 ;;
esac
diff --git a/dependencies.txt b/dependencies.txt
@@ -60,7 +60,7 @@ openssh
fakeroot
polkit
fastfetch
-htop
+btop
libnotify
pkgconf
exfat-utils