diff --git a/.config/cosmic/com.system76.CosmicSettings/v1/active-page b/.config/cosmic/com.system76.CosmicSettings/v1/active-page index 73915e8..5ff0cb0 100644 --- a/.config/cosmic/com.system76.CosmicSettings/v1/active-page +++ b/.config/cosmic/com.system76.CosmicSettings/v1/active-page @@ -1 +1 @@ -"power" \ No newline at end of file +"appearance" \ No newline at end of file diff --git a/.config/kitty/kitty.conf b/.config/kitty/kitty.conf index eba5dd3..994e9d3 100644 --- a/.config/kitty/kitty.conf +++ b/.config/kitty/kitty.conf @@ -1,3 +1,4 @@ +#clear_all_shortcuts yes # vim:ft=kitty ## name: Catppuccin Kitty Mocha @@ -7,7 +8,8 @@ ## blurb: Soothing pastel theme for the high-spirited! hide_window_decorations no -font_family GoMono Nerd Font +#font_family GoMono Nerd Font +font_family JetBrainsMono Nerd Font Mono bold_font auto italic_font auto bold_italic_font auto diff --git a/.config/scripts/new-session.sh b/.config/scripts/new-session.sh index 5f0d510..2d650ee 100755 --- a/.config/scripts/new-session.sh +++ b/.config/scripts/new-session.sh @@ -23,7 +23,7 @@ tmux split-window -v -t "$name:1.1" -c "$dir" tmux resize-pane -t "$name:1.1" -y $(($(tmux display -p '#{window_height}') - $BOTTOM_PANE_WIDTH)) tmux new-window "$name" -n lazygit -c "$dir" sleep 1 -tmux send-keys -t "$name:1.1" 'nvim -c "Neotree filesystem reveal left"' C-m +tmux send-keys -t "$name:1.1" 'nvim' C-m sleep 0.1 tmux send-keys -t "$name:1.3" 'set-env; nvim +CodeCompanionChat -c only' C-m sleep 1 diff --git a/.config/shell/functions.zsh b/.config/shell/functions.zsh index 834dd4c..fa6c95d 100644 --- a/.config/shell/functions.zsh +++ b/.config/shell/functions.zsh @@ -24,45 +24,7 @@ clear-env () } tmux-new () { - local dir=${1:-} - - [ -z "${dir}" ] && local dir=$(find $HOME/Documents/gitlab -mindepth 1 -maxdepth 1 -type d| awk -F/ '{print $(NF-1)"/"$NF " " $0}' | fzf --with-nth=1 | awk '{print $2}') - [ -z "$dir" ] && return 1 - - - local name=$(basename "$dir") - - if [[ $name == .* ]]; then - name=${name#.} - fi - - tmux has-session -t ${name} > /dev/null && { tmux switch-client -t ${name}; return; } - tmux new-session -d -s "$name" -c "$dir" - - RIGHT_PANE_WIDTH=60 - BOTTOM_PANE_WIDTH=15 - - tmux split-window -h -t "$name:1" -c "$dir" - tmux resize-pane -t "$name:1.2" -x $RIGHT_PANE_WIDTH - - tmux split-window -v -t "$name:1.1" -c "$dir" - tmux resize-pane -t "$name:1.1" -y $(($(tmux display -p '#{window_height}') - $BOTTOM_PANE_WIDTH)) - - tmux new-window "$name" -n lazygit -c "$dir" - - sleep 1 - tmux send-keys -t "$name:1.1" 'nvim -c "Neotree filesystem reveal left"' C-m - - sleep 0.1 - tmux send-keys -t "$name:1.3" 'set-env; nvim +CodeCompanionChat -c only' C-m - - sleep 1 - tmux send-keys -t "$name:2" 'lg' C-m - - tmux select-window -t "$name:1" - tmux select-pane -t "$name:1.1" - - tmux switch-client -t "$name" + . $HOME/.config/scripts/new-session.sh } load-profile () { diff --git a/.config/tmux/tmux.conf b/.config/tmux/tmux.conf index 2acdd31..1cfea5c 100644 --- a/.config/tmux/tmux.conf +++ b/.config/tmux/tmux.conf @@ -74,6 +74,7 @@ bind % split-window -h -c "#{pane_current_path}" bind c new-window -c "#{pane_current_path}" bind C-n display-popup -E ". $HOME/.config/scripts/new-session.sh" +bind C-N display-popup -E ". $HOME/.config/scripts/new-session.sh" bind C-s display-popup -E "\ tmux list-sessions -F '#{?session_attached,,#{session_name}}' |\ diff --git a/DesktopAnsible b/DesktopAnsible index 016d1f2..62536f2 160000 --- a/DesktopAnsible +++ b/DesktopAnsible @@ -1 +1 @@ -Subproject commit 016d1f26093cf18d3e22ede113eee61284d197b8 +Subproject commit 62536f240ff4a87097f3b7caeb650b9e947bfde8