diff options
| author | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2025-06-03 11:04:24 +0900 |
|---|---|---|
| committer | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2025-06-03 11:04:24 +0900 |
| commit | a8391ceeeb3311905fcb8c7c455413d0c72dcf0e (patch) | |
| tree | e0874ff1927ced67f01dff189a8bc0c70b85034d | |
| parent | 0d0d5fe9638f8b01dfe862aae5015c9b6c1c5f95 (diff) | |
modified sesh/sesh.toml, modified bin/sessionizer
| -rw-r--r-- | ar/.config/sesh/sesh.toml | 11 | ||||
| -rwxr-xr-x | ar/.local/bin/sessionizer | 2 |
2 files changed, 12 insertions, 1 deletions
diff --git a/ar/.config/sesh/sesh.toml b/ar/.config/sesh/sesh.toml index 17e6085..349c5ba 100644 --- a/ar/.config/sesh/sesh.toml +++ b/ar/.config/sesh/sesh.toml @@ -1,3 +1,10 @@ +sort_order = [ + "tmuxinator", # show first + "tmux", + "config", + "zoxide", # show last +] + [default_session] startup_command = "if git rev-parse --is-inside-work-tree >/dev/null 2>&1; then git status; else clear && ls -I .git; fi" preview_command = "eza -glaa --icons --group-directories-first --color=always {}" @@ -41,3 +48,7 @@ path = "~/.local/bin" [[session]] name = "suckless" path = "~/.local/src/suckless" + +[[window]] +name = "git" +startup_script = "git pull" diff --git a/ar/.local/bin/sessionizer b/ar/.local/bin/sessionizer index eca845c..465dcf8 100755 --- a/ar/.local/bin/sessionizer +++ b/ar/.local/bin/sessionizer @@ -2,7 +2,7 @@ sessionizer() { path="$( - sesh list -c -H | fzf-tmux \ + sesh list --icons | fzf-tmux \ -p 80%,70% --no-sort --cycle --ignore-case --ansi --border=sharp --multi --reverse \ --border-label "╢ TheSiahxyz ╟" \ --header "^a all ^e sesh ^f zoxide ^g git ^t tmux ^u staged files ^x tmux kill M-cr open in editor ^/ help" \ |
