Move files out of their respective fs structure into program dirs in root and symlink dotfils using HM.

This commit is contained in:
Martin Larsson 2025-01-16 23:49:38 +00:00
parent 10bab010b7
commit fb2adb4547
72 changed files with 9 additions and 0 deletions

13
tmux/tmux-set-resize-mode.sh Executable file
View file

@ -0,0 +1,13 @@
#!/bin/zsh
desired_state=$1
current_state=$(tmux show-environment -g @resize_mode 2>/dev/null | cut -d '=' -f 2)
[ "$current_state" = "$desired_state" ] && exit 0
tmux set -g @tmux_resize_mode $desired_state
if [ "$desired_state" = "1" ]; then
tmux display-message "Resize mode ON"
else
tmux display-message "Resize mode OFF"
fi