initial commit with AI Code

This commit is contained in:
2025-09-09 20:01:34 +02:00
commit d962c87fe3
6 changed files with 257 additions and 0 deletions

12
plugin.tmux Normal file
View File

@@ -0,0 +1,12 @@
# Binary bauen (still). Wenn go fehlt: überspringen
run-shell "cd '#{plugin_path}' && GO111MODULE=on go mod tidy >/dev/null 2>&1 || true"
run-shell "cd '#{plugin_path}' && GO111MODULE=on go build -ldflags='-s -w' -o bin.sysusage ./cmd/monitor >/dev/null 2>&1 || true"
# tmux-Variable setzen: #{sysusage}
set -g @sysusage_cmd '#{plugin_path}/bin.sysusage'
set -g status-interval 2
# Du kannst später im Theme einfach schreiben:
# set -g status-right "... #{sysusage} ..."
set -g -F @sysusage '#(@sysusage_cmd)'