From 2a0f219d336d65b3aa1999195fb730dd435af5dd Mon Sep 17 00:00:00 2001 From: Oliver Ladner Date: Thu, 8 Feb 2024 16:01:45 +0100 Subject: [PATCH] move tmux to $XDG_CONFIG_HOME --- spotify.applescript => .config/tmux/spotify.applescript | 0 .tmux.conf => .config/tmux/tmux.conf | 4 ++-- tmux_left.sh => .config/tmux/tmux_left.sh | 2 +- tmux_right.sh => .config/tmux/tmux_right.sh | 0 4 files changed, 3 insertions(+), 3 deletions(-) rename spotify.applescript => .config/tmux/spotify.applescript (100%) rename .tmux.conf => .config/tmux/tmux.conf (93%) rename tmux_left.sh => .config/tmux/tmux_left.sh (65%) rename tmux_right.sh => .config/tmux/tmux_right.sh (100%) diff --git a/spotify.applescript b/.config/tmux/spotify.applescript similarity index 100% rename from spotify.applescript rename to .config/tmux/spotify.applescript diff --git a/.tmux.conf b/.config/tmux/tmux.conf similarity index 93% rename from .tmux.conf rename to .config/tmux/tmux.conf index 53a8f4f..0fef948 100644 --- a/.tmux.conf +++ b/.config/tmux/tmux.conf @@ -35,10 +35,10 @@ set -g status-style fg=#9d7cd8,bg=#16161e set-window-option -g window-status-current-style bg=#3e3158 set -g status-position top set -g status-interval 10 -set -g status-left "#( ~/tmux_left.sh )" +set -g status-left "#( ~/.config/tmux/tmux_left.sh )" set -g status-left-length 60 set -g status-justify centre -set -g status-right "#( ~/tmux_right.sh )" +set -g status-right "#( ~/.config/tmux/tmux_right.sh )" set -g status-right-length 60 # Get good colors diff --git a/tmux_left.sh b/.config/tmux/tmux_left.sh similarity index 65% rename from tmux_left.sh rename to .config/tmux/tmux_left.sh index aa85373..c81eb24 100755 --- a/tmux_left.sh +++ b/.config/tmux/tmux_left.sh @@ -2,5 +2,5 @@ # Trigger Applescript when on macOS if [[ "$OSTYPE" == "darwin"* ]]; then - ~/git/dotfiles/spotify.applescript + ~/git/dotfiles/.config/tmux/spotify.applescript fi diff --git a/tmux_right.sh b/.config/tmux/tmux_right.sh similarity index 100% rename from tmux_right.sh rename to .config/tmux/tmux_right.sh