aboutsummaryrefslogtreecommitdiffstats
path: root/modules/system/system-monitor/system-monitor.sh
diff options
context:
space:
mode:
authorArpit Chakladar <arpitchakladar+git@gmail.com>2026-08-29 02:22:48 +0530
committerArpit Chakladar <arpitchakladar+git@gmail.com>2026-08-29 03:50:32 +0530
commit673e7b8245a67d5627ff41ab1c113c90b4c8c553 (patch)
tree6b5679bb5ee56fa5a5b5eb5dc9e522503815ce9d /modules/system/system-monitor/system-monitor.sh
parent1cc7caf459c25f8dea24e40e68b89aaf4862eef4 (diff)
downloadhome-manager-config-673e7b8245a67d5627ff41ab1c113c90b4c8c553.tar.gz
home-manager-config-673e7b8245a67d5627ff41ab1c113c90b4c8c553.zip
system: removed system-monitor, removed bottom, added btop
Diffstat (limited to 'modules/system/system-monitor/system-monitor.sh')
-rw-r--r--modules/system/system-monitor/system-monitor.sh26
1 files changed, 0 insertions, 26 deletions
diff --git a/modules/system/system-monitor/system-monitor.sh b/modules/system/system-monitor/system-monitor.sh
deleted file mode 100644
index 7a9e7ea..0000000
--- a/modules/system/system-monitor/system-monitor.sh
+++ /dev/null
@@ -1,26 +0,0 @@
-#!/usr/bin/env bash
-SESSION="system-monitor"
-
-kitty @ set-font-size -- -5
-
-cleanup() {
- kitty @ set-font-size -- +5
-}
-trap cleanup EXIT INT TERM
-
-# Kill any existing session
-tmux kill-session -t "$SESSION" 2>/dev/null
-
-# Start new tmux session with btm wrapped to kill session on exit
-tmux new-session -d -s "$SESSION" -c "$HOME" "bash -c 'btm; tmux kill-session -t $SESSION'"
-
-# Split horizontally: right pane runs nvtop wrapped similarly
-tmux split-window -h -t "$SESSION:0" -c "$HOME" "bash -c 'nvtop; tmux kill-session -t $SESSION'"
-
-tmux set -g status off
-tmux set -g mouse on
-tmux set -g focus-events on
-
-# Select main pane and attach
-tmux select-pane -t "$SESSION:0.0"
-tmux attach-session -t "$SESSION"