From d2f09eeb4099de9b8c17cc9ee196e20c51cf43db Mon Sep 17 00:00:00 2001 From: Tristan Jahnke Date: Sat, 27 May 2023 20:43:11 -0500 Subject: [PATCH] gitignore --- .gitignore | 1 + scripts/setup.sh | 2 +- tmux/tmux-layouts/test.session.sh | 21 +++++++++++++++++++++ tmux/tmux.conf | 4 +--- 4 files changed, 24 insertions(+), 4 deletions(-) create mode 100644 .gitignore create mode 100644 tmux/tmux-layouts/test.session.sh diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..048a105 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +nvim/plugin/packer_compiled.lua diff --git a/scripts/setup.sh b/scripts/setup.sh index 52214b4..f260bf9 100755 --- a/scripts/setup.sh +++ b/scripts/setup.sh @@ -18,6 +18,6 @@ ln -s -f "$HOME/dot_files/zshrc" "$HOME/.zshrc" # Neovim setup mkdir -p "$HOME/.config/nvim" -ln -s -f "$HOME/dot_files/nvim/" "$HOME/.config/nvim" +ln -s -f "$HOME/dot_files/nvim" "$HOME/.config/nvim" git clone --depth 1 https://github.com/wbthomason/packer.nvim\ "$HOME/.local/share/nvim/site/pack/packer/start/packer.nvim" diff --git a/tmux/tmux-layouts/test.session.sh b/tmux/tmux-layouts/test.session.sh new file mode 100644 index 0000000..b2d2773 --- /dev/null +++ b/tmux/tmux-layouts/test.session.sh @@ -0,0 +1,21 @@ +# Set a custom session root path. Default is `$HOME`. +# Must be called before `initialize_session`. +#session_root "~/Projects/test" + +# Create session with specified name if it does not already exist. If no +# argument is given, session name will be based on layout file name. +if initialize_session "test"; then + + # Create a new window inline within session layout definition. + #new_window "misc" + + # Load a defined window layout. + #load_window "example" + + # Select the default active window on session creation. + #select_window 1 + +fi + +# Finalize session creation and switch/attach to it. +finalize_and_go_to_session diff --git a/tmux/tmux.conf b/tmux/tmux.conf index 00ab5bb..54ac8fb 100644 --- a/tmux/tmux.conf +++ b/tmux/tmux.conf @@ -252,7 +252,7 @@ tmux_conf_theme_right_separator_sub='\uE0B3' # PowerlineSymbols.otf font, see # - #{username} # - #{username_ssh} tmux_conf_theme_status_left=" ❐ #S | ↑#{?uptime_y, #{uptime_y}y,}#{?uptime_d, #{uptime_d}d,}#{?uptime_h, #{uptime_h}h,}#{?uptime_m, #{uptime_m}m,} " -tmux_conf_theme_status_right=" #{prefix}#{mouse}#{pairing}#{synchronized}#{?battery_status,#{battery_status},}#{?battery_bar, #{battery_bar},}#{?battery_percentage, #{battery_percentage},} , %A %d %b %Y ,%l:%M %p ,| #{tmux-spotify-info}" +tmux_conf_theme_status_right=" #{prefix}#{mouse}#{pairing}#{synchronized}#{?battery_status,#{battery_status},}#{?battery_bar, #{battery_bar},}#{?battery_percentage, #{battery_percentage},} , %A %d %b %Y ,%l:%M %p ,|" # status left style tmux_conf_theme_status_left_fg="$tmux_conf_theme_colour_6,$tmux_conf_theme_colour_7,$tmux_conf_theme_colour_8" @@ -348,7 +348,6 @@ tmux_conf_theme_clock_style="24" # on Linux, this requires xsel, xclip or wl-copy tmux_conf_copy_to_os_clipboard=true - # -- user customizations ------------------------------------------------------- # this is the place to override or undo settings @@ -376,7 +375,6 @@ bind C-a send-prefix # move status line to top set -g status-position top - # -- tpm ----------------------------------------------------------------------- # while I don't use tpm myself, many people requested official support so here