diff --git a/.config/cosmic/com.system76.CosmicSettings/v1/active-page b/.config/cosmic/com.system76.CosmicSettings/v1/active-page index 5a11790..a8164e7 100644 --- a/.config/cosmic/com.system76.CosmicSettings/v1/active-page +++ b/.config/cosmic/com.system76.CosmicSettings/v1/active-page @@ -1 +1 @@ -"panel_applets" \ No newline at end of file +"display" \ No newline at end of file diff --git a/.config/tmux/tmux.conf b/.config/tmux/tmux.conf index 78dcc36..65994c5 100644 --- a/.config/tmux/tmux.conf +++ b/.config/tmux/tmux.conf @@ -15,7 +15,6 @@ set -g mouse on set -g set-clipboard on set -g @yank_selection_mouse 'clipboard' set -g @yank_selection 'clipboard' -set -g status-right "#(cd #{pane_current_path}; git rev-parse --abbrev-ref HEAD) " set -g status-justify centre set -g detach-on-destroy off set -g status-interval 3 @@ -69,6 +68,15 @@ set -g @plugin 'pschmitt/tmux-ssh-split' set -g @plugin 'nhdaly/tmux-better-mouse-mode' set -g @plugin 'tmux-plugins/tmux-resurrect' set -g @catppuccin_flavor 'mocha' +set -g @catppuccin_window_status_style "rounded" + +set -g @catppuccin_window_text ' #W' +set -g @catppuccin_window_current_text ' #W' +set -g status-left "#[fg=#{@thm_crust},bg=#{@thm_mauve}] #S " +set -g status-right "#[fg=#{@thm_crust},bg=#{@thm_mauve}] #(git rev-parse --abbrev-ref HEAD) " + +set -g window-status-format "##I" +set -g window-status-current-format "##I" # Resurrect set -g @resurrect-capture-pane-contents 'on' @@ -107,4 +115,10 @@ bind S if-shell -F '#{==:#{session_name},scratch}' { display-popup -d "#{pane_current_path}" -xC -yC -w 80% -h 75% -E 'tmux attach-session -t scratch || tmux new-session -s scratch nvim new' } +bind N if-shell -F '#{==:#{session_name},notes}' { + detach-client +} { + display-popup -d "#{pane_current_path}" -xC -yC -w 80% -h 75% -E 'tmux attach-session -t notes || cd ~/Documents/notes; tmux new-session -s notes nvim Welcome.md' +} + run '~/.tmux/plugins/tpm/tpm'