diff --git a/aerc/.config/aerc/aerc.conf b/aerc/.config/aerc/aerc.conf index 55771bb..d9c8bcc 100644 --- a/aerc/.config/aerc/aerc.conf +++ b/aerc/.config/aerc/aerc.conf @@ -96,9 +96,9 @@ index-format=notmuch://~/.local/share/mail # # Default: flags:4,name<20%,subject,date>= #index-columns=flags:4,name<20%,subject,date>= -border-char-vertical="│" +border-char-vertical=" " border-char-horizontal="─" -styleset-name=rose-pine +styleset-name="gruvbox-dark" # # Each name in index-columns must have a corresponding column-$name setting. diff --git a/aerc/.config/aerc/stylesets/gruvbox-dark b/aerc/.config/aerc/stylesets/gruvbox-dark new file mode 100644 index 0000000..65d1e90 --- /dev/null +++ b/aerc/.config/aerc/stylesets/gruvbox-dark @@ -0,0 +1,53 @@ +*.default=true +*.normal=true +*.selected.bold=true +*.selected.bg=#ebdbb2 +*.selected.fg=#282828 + +default.fg=#89b482 + +error.fg=#cc241d +warning.fg=#d65d0e +success.fg=#D8A657 + +tab.fg=#7c6f64 +tab.bg=#282823 +tab.selected.fg=#d5c4a1 +tab.selected.bg=#282828 +tab.selected.bold=true + +border.fg=#d5c4a1 +border.bold=true + +msglist_unread.bold=true +msglist_unread.fg=#d8a657 +msglist_unread.selected.bg=#ebdbb2 +msglist_unread.selected.fg=#282828 +msglist_flagged.fg=#f9e2af +msglist_flagged.bold=true +msglist_result.fg=#458588 +msglist_result.bold=true +msglist_*.selected.bold=true +msglist_*.selected.bg=#ebdbb2 + +dirlist_*.selected.bold=true +dirlist_*.selected.bg=#ebdbb2 + +statusline_default.fg=#ebdbb2 +statusline_default.bg=#282828 +statusline_error.bold=true +statusline_success.bold=true + +[viewer] +url.fg=#458588 +url.underline=true +header.bold=true +signature.dim=true +diff_meta.bold=true +diff_chunk.fg=#458588 +diff_chunk_func.fg=#458588 +diff_chunk_func.bold=true +diff_add.fg=#D8A657 +diff_del.fg=#cc241d +quote_*.fg=#d5c4a1 +quote_1.fg=#b16286 diff --git a/aerc/.config/aerc/test.yml b/aerc/.config/aerc/test.yml new file mode 100644 index 0000000..e69de29 diff --git a/niri/.config/niri/config.kdl b/niri/.config/niri/config.kdl index ba9b782..b1f214e 100644 --- a/niri/.config/niri/config.kdl +++ b/niri/.config/niri/config.kdl @@ -14,7 +14,7 @@ input { touchpad { tap natural-scroll - } + } mouse { } @@ -49,6 +49,7 @@ layout { preset-column-widths { proportion 0.5 proportion 0.66667 + proportion 0.3333 } default-column-width { proportion 0.5 @@ -192,6 +193,13 @@ window-rule { } open-floating true } +window-rule { + match app-id="floating_yazi" + default-column-width { + proportion 0.6667 + } + open-floating true +} window-rule { geometry-corner-radius 5 clip-to-geometry true @@ -243,6 +251,9 @@ binds { Mod+Mod5+Z hotkey-overlay-title="Open network-tui" { spawn "kitty" "--class" "floating_network-tui" "-e" "network-tui" } + Mod+Mod5+Y hotkey-overlay-title="Open Yazi" { + spawn "kitty" "--class" "floating_yazi" "-e" "yazi" + } // Brightness Controll Mod+Ctrl+0 { spawn "sh" "-c" "~/scripts/layer_notify.sh 0" diff --git a/tmux/.tmux.conf b/tmux/.tmux.conf index e060b23..557e923 100644 --- a/tmux/.tmux.conf +++ b/tmux/.tmux.conf @@ -6,6 +6,12 @@ bind -n M-L next-window set -g prefix C-s set -g mouse on +bind _ split-window -h # Split vertical using prefix + | +bind - split-window -v # Split horizontal using prefix + - + +# Reloading +bind r source-file ~/.tmux.conf \; display "Config Reloaded!" + # Start windows and panes at 1, not 0 set -g base-index 1 set -g pane-base-index 1 @@ -107,8 +113,12 @@ set -g @plugin 'christoomey/vim-tmux-navigator' set -g @plugin 'tmux-plugins/tmux-yank' set -g @plugin 'sainnhe/tmux-fzf' set -g @plugin 'alexwforsythe/tmux-which-key' -set -g @plugin 'tmux-plugins/tmux-resurrect' -set -g @plugin 'tmux-plugins/tmux-continuum' +# set -g @plugin 'tmux-plugins/tmux-resurrect' +# set -g @plugin 'tmux-plugins/tmux-continuum' +set -g @plugin 'YlanAllouche/tmux-task-monitor' +set -g @plugin 'rickstaa/tmux-notify' +set -g @plugin 'TheSast/tmux-nav-master' +set -g @plugin 'omerxx/tmux-sessionx' # Other examples: # set -g @plugin 'github_username/plugin_name' diff --git a/tmux/.tmuxp/coding.yaml b/tmux/.tmuxp/coding.yaml new file mode 100755 index 0000000..6dd2363 --- /dev/null +++ b/tmux/.tmuxp/coding.yaml @@ -0,0 +1,20 @@ +session_name: coding +windows: +- focus: 'true' + layout: 2afa,174x42,0,0{87x42,0,0,0,86x42,88,0,2} + options: + automatic-rename: false + panes: + - focus: 'true' + shell_command: nvim + - yazi + start_directory: /mnt/tank/programming/spinstack + window_name: Nvim +- layout: b640,174x42,0,0,3 + options: + automatic-rename: false + panes: + - focus: 'true' + shell_command: opencode + start_directory: /mnt/tank/programming/spinstack + window_name: Opencode diff --git a/tmux/.tmuxp/home.yaml b/tmux/.tmuxp/home.yaml new file mode 100755 index 0000000..a7d8738 --- /dev/null +++ b/tmux/.tmuxp/home.yaml @@ -0,0 +1,32 @@ +session_name: Home +windows: + - focus: "true" + layout: 2afe,174x42,0,0{87x42,0,0,1,86x42,88,0,2} + options: + automatic-rename: false + panes: + - neofetch + - focus: "true" + shell_command: yazi + start_directory: /home/liph + window_name: Base + - layout: 95db,174x42,0,0{87x42,0,0,3,86x42,88,0,43} + options: + automatic-rename: false + panes: + - focus: "true" + shell_command: + - cd /home/liph + # - zsh + - shell_command: + - cd /home/liph/dotfiles/tmux + - nvim + window_name: Yazi + - layout: db54,174x42,0,0,44 + options: + automatic-rename: false + panes: + - focus: "true" + shell_command: aerc + start_directory: /home/liph + window_name: Aerc diff --git a/yazi/.config/yazi/plugins/whoosh.yazi/bookmarks b/yazi/.config/yazi/plugins/whoosh.yazi/bookmarks index 85cd038..a23beff 100644 --- a/yazi/.config/yazi/plugins/whoosh.yazi/bookmarks +++ b/yazi/.config/yazi/plugins/whoosh.yazi/bookmarks @@ -1,10 +1,11 @@ zshrc /home/liph/dotfiles/zshrc z yazi /home/liph/dotfiles/yazi/.config/yazi y +tmux /home/liph/dotfiles/tmux d,t tex /home/liph/Documents/tex D,t tank /mnt/tank t,t scripts /home/liph/scripts d,s r /home/liph/Documents/r D,r -programming /home/liph/programming p +programming /mnt/tank/programming p podman /mnt/flash1/podman t,p ohmyposh /home/liph/dotfiles/ohmyposh/.config/ohmyposh d,o obsidian /home/liph/Documents/obsidian/vault D,o diff --git a/zshrc/.aliases.zsh b/zshrc/.aliases.zsh index 522799d..1d24dda 100644 --- a/zshrc/.aliases.zsh +++ b/zshrc/.aliases.zsh @@ -52,7 +52,9 @@ alias nlof="~/scripts/fzf_listoldfiles.sh" # tmux alias ta='tmux attach' -alias tn='tmux new' +# alias tn='tmux new' +alias tnh='tmuxp load ~/.tmuxp/home.yaml' +alias tnc='tmuxp load ~/.tmuxp/coding.yaml' alias tns='~/scripts/tmux-sessionizer.sh' # eza diff --git a/zshrc/.export.zsh b/zshrc/.export.zsh index c11c1b0..e8ad28b 100644 --- a/zshrc/.export.zsh +++ b/zshrc/.export.zsh @@ -46,3 +46,5 @@ export PATH="$HOME/.local/share/nvim/mason/bin:$PATH" # you-should-use settings (optional) # export YSU_MESSAGE_POSITION="after" # Show reminder after command output # export YSU_HARDCORE=0 # Prevent execution if alias exists (probably too aggressive) + +export GTK_FILE_CHOOSER_BACKEND="yazi" diff --git a/zshrc/.zshrc b/zshrc/.zshrc index ed947a4..05c9269 100644 --- a/zshrc/.zshrc +++ b/zshrc/.zshrc @@ -57,6 +57,7 @@ eval "$(oh-my-posh init zsh --config $HOME/.config/ohmyposh/zen.toml)" # bindkey -e # bindkey '^p' history-search-backward # bindkey '^n' history-search-forward +bindkey -s '^T' ' tea^M ^M' # History HISTSIZE=5000