feat(tmux): add rename-window keybind and container export script

- Bind R to prompt for window rename in tmux
- Add script to export an incus container to /srv/backup
This commit is contained in:
2026-07-16 01:09:55 -04:00
parent ed31206692
commit 8657e77536
2 changed files with 6 additions and 0 deletions
+1
View File
@@ -97,6 +97,7 @@ bind / command-prompt "split window 'exec man %%'"
bind B command-prompt -p "New Session:" "new-session -A -s '%%'" bind B command-prompt -p "New Session:" "new-session -A -s '%%'"
bind Tab switch-client -l bind Tab switch-client -l
bind R command-prompt -p "Rename Window:" "rename-window '%%'"
bind t run-shell -b "~/.local/bin/t" bind t run-shell -b "~/.local/bin/t"
bind Enter run-shell -b "~/.local/bin/s" bind Enter run-shell -b "~/.local/bin/s"
bind Q confirm kill-session bind Q confirm kill-session
+5
View File
@@ -0,0 +1,5 @@
#!/bin/sh
test -z "$1" && exit
incus export $1 /srv/backup/$1-$(date +"%Y%m%d").tar.gz