diff --git a/config/tmux/tmux.conf b/config/tmux/tmux.conf index fbe428a..3eaffc0 100644 --- a/config/tmux/tmux.conf +++ b/config/tmux/tmux.conf @@ -97,6 +97,7 @@ bind / command-prompt "split window 'exec man %%'" bind B command-prompt -p "New Session:" "new-session -A -s '%%'" bind Tab switch-client -l +bind R command-prompt -p "Rename Window:" "rename-window '%%'" bind t run-shell -b "~/.local/bin/t" bind Enter run-shell -b "~/.local/bin/s" bind Q confirm kill-session diff --git a/script/export-container.sh b/script/export-container.sh new file mode 100755 index 0000000..86113d6 --- /dev/null +++ b/script/export-container.sh @@ -0,0 +1,5 @@ +#!/bin/sh + +test -z "$1" && exit + +incus export $1 /srv/backup/$1-$(date +"%Y%m%d").tar.gz