diff options
| author | Craig Jennings <c@cjennings.net> | 2026-01-29 22:07:19 -0600 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-01-29 22:07:19 -0600 |
| commit | 0a12cc9b6c8f4de426c2551cd3e07965fe9e403e (patch) | |
| tree | a5d9ed92d5a0a80c2681b3b3ded0592f1a8c8428 | |
| parent | 24897b004e4c05acee4166237992e8bb7f342e52 (diff) | |
| download | archsetup-0a12cc9b6c8f4de426c2551cd3e07965fe9e403e.tar.gz archsetup-0a12cc9b6c8f4de426c2551cd3e07965fe9e403e.zip | |
fix(hyprland): simplify monitor scratchpad to btop onlyv0.5
Remove tmux session and other monitoring tools (s-tui, nvtop,
duf, bandwhich, wavemon, powertop). Just run btop directly.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
| -rwxr-xr-x | dotfiles/hyprland/.local/bin/monitor-dashboard | 38 |
1 files changed, 2 insertions, 36 deletions
diff --git a/dotfiles/hyprland/.local/bin/monitor-dashboard b/dotfiles/hyprland/.local/bin/monitor-dashboard index 9236d20..ad456d4 100755 --- a/dotfiles/hyprland/.local/bin/monitor-dashboard +++ b/dotfiles/hyprland/.local/bin/monitor-dashboard @@ -1,37 +1,3 @@ #!/bin/sh -# monitor-dashboard - tmux session with system monitoring tools -# Each tool gets its own window for full screen real estate - -SESSION="monitor" - -# Check if system has a battery -has_battery() { - [ -d /sys/class/power_supply/BAT0 ] || [ -d /sys/class/power_supply/BAT1 ] -} - -# Attach to existing session or create new one -if tmux has-session -t "$SESSION" 2>/dev/null; then - exec tmux attach-session -t "$SESSION" -fi - -# Create new session with btop in first window -tmux new-session -d -s "$SESSION" -n btop btop - -# Add windows for other monitoring tools (grouped logically) -# CPU/GPU -tmux new-window -t "$SESSION" -n s-tui s-tui -tmux new-window -t "$SESSION" -n nvtop nvtop -# Disk -tmux new-window -t "$SESSION" -n duf "watch --color -n 60 duf" -# Network -tmux new-window -t "$SESSION" -n bandwhich "sudo bandwhich" -tmux new-window -t "$SESSION" -n wavemon wavemon -# Power (laptop only) -if has_battery; then - tmux new-window -t "$SESSION" -n powertop "sudo powertop" -fi - -# Start on btop window -tmux select-window -t "$SESSION:btop" - -exec tmux attach-session -t "$SESSION" +# monitor-dashboard - system monitor +exec btop |
