Skip to content

Commit a7bb832

Browse files
committed
Docs: Add documentation for integrating with television instead of fzf
1 parent 6487292 commit a7bb832

File tree

1 file changed

+11
-5
lines changed

1 file changed

+11
-5
lines changed

README.md

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -68,13 +68,15 @@ This will download and install the latest version of Sesh. Make sure that your G
6868

6969
To install sesh, run **one** of the following commands, depending on your setup:
7070

71-
* Conda/(micro)mamba users
71+
- Conda/(micro)mamba users
72+
7273
```sh
7374
# Replace with mamba/micromamba if required
7475
conda -c conda-forge install sesh
7576
```
7677

77-
* Pixi users
78+
- Pixi users
79+
7880
```sh
7981
pixi global install sesh
8082
```
@@ -106,19 +108,18 @@ Here are limitations to keep in mind:
106108
## Ulauncher Extension
107109

108110
For Linux users using [Ulauncher](https://ulauncher.io/) there are two extensions to use sesh outside the terminal:
111+
109112
- [Sesh Session Manager](https://ext.ulauncher.io/-/github-jacostag-sesh-ulauncher)
110113
- [SESHion Manager](https://ext.ulauncher.io/-/github-mrinfinidy-seshion-manager)
111114

112115
Here are limitations to keep in mind for Sesh Session Manager:
113116

114117
- tmux has to be running before you can use the extension
115118

116-
117119
## Walker launcher usage (Linux)
118120

119121
Create an action directly on $XDG_CONFIG_HOME/config.toml
120122

121-
122123
```
123124
[[plugins]]
124125
name = "sesh"
@@ -134,9 +135,11 @@ switcher_only = true
134135
### For the dmenu mode you can use:
135136

136137
#### Fish shell:
138+
137139
set ssession $(sesh l -t -T -d -H | walker -d -f -k -p "Sesh sessions"); sesh cn --switch $ssession
138140

139141
#### Bash/Zsh:
142+
140143
ssession=$(sesh l -t -T -d -H | walker -d -f -k -p "Sesh sessions"); sesh cn --switch $ssession
141144

142145
##### For dmenu launchers replace walker -dfk with dmenu or rofi)
@@ -297,7 +300,7 @@ Control how many directory components are used for session names. Default is 1 (
297300
dir_length = 2 # Uses last 2 directories: "projects/sesh" instead of just "sesh"
298301
```
299302

300-
> [!NOTE]
303+
> [!NOTE]
301304
> Works great with [tmux-floatx](https://github.com/omerxx/tmux-floax)
302305
303306
### Sorting
@@ -322,6 +325,7 @@ sort_order = [
322325
"config", # resulting order: config, tmux, tmuxinator, zoxide
323326
]
324327
```
328+
325329
### Default Session
326330

327331
The default session can be configured to run a command when connecting to a session. This is useful for running a dev server or starting a tmux plugin.
@@ -362,10 +366,12 @@ preview_command = "bat --color=always ~/c/dotfiles/.config/tmux/tmux.conf"
362366
```
363367

364368
### Path substitution
369+
365370
If you want to use the path of the selected session in your startup or preview command, you can use the `{}` placeholder.
366371
This will be replaced with the session's path when the command is run.
367372

368373
An example of this in use is the following, where the `tmuxinator` default_project uses the path as key/value pair using [ERB syntax](https://github.com/tmuxinator/tmuxinator?tab=readme-ov-file#erb):
374+
369375
```toml
370376
[default_session]
371377
startup_command = "tmuxinator start default_project path={}"

0 commit comments

Comments
 (0)