Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/o98k-ok/tab-switch-flow
Switch Iterm2 tab
https://github.com/o98k-ok/tab-switch-flow
alfred4-workflow emoji iterm2 python switch tabs tabset
Last synced: about 1 month ago
JSON representation
Switch Iterm2 tab
- Host: GitHub
- URL: https://github.com/o98k-ok/tab-switch-flow
- Owner: o98k-ok
- Created: 2022-02-14T09:17:23.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-09-18T03:21:50.000Z (3 months ago)
- Last Synced: 2024-09-18T06:36:10.421Z (3 months ago)
- Topics: alfred4-workflow, emoji, iterm2, python, switch, tabs, tabset
- Language: AppleScript
- Homepage:
- Size: 262 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# STab
Switch Iterm2 tab## Introduce
Simple python version for [florianeckerstorfer/alfred-iterm2-tabs](https://github.com/florianeckerstorfer/alfred-iterm2-tabs).
Because php version has terrible cooperation with Alfred## Installation
Download [latest](https://github.com/o98k-ok/STab/releases) version, and install it.## TabTitle
### tabset
Here I introduce a useful tool [Tabset](https://www.npmjs.com/package/iterm2-tab-set).```shell
# npm i iterm2-tab-set
# tabset $keyinfo
```After running `tabset $keyinfo`, tabset will do three steps:
1. Random setting a color of tab title bar.
2. Setting tab title as $keyinfo
3. Setting tab badge as $keyinfo![pics](./pics/tabset.jpg)
### Iterm2 config
In my prictice, I pick the following configs:
1. Setting the `profile name` as `badge`. When I open a new tab, the tab' session name will be set to `badge`, in order to list and select it.
2. Setting default badge value as [a random emoji](https://github.com/JuanitoFatas/mojime). In your cases/scripts, you should set a useful info as badge.![pics](./pics/iterm2-setting.jpg)
## Custom show
![pics](./pics/show.jpg)## Acknowledgement
1. Thanks [florianeckerstorfer/alfred-iterm2-tabs](https://github.com/florianeckerstorfer/alfred-iterm2-tabs)
2. [Tabset](https://www.npmjs.com/package/iterm2-tab-set) may help too.
3. [Badges](https://iterm2.com/documentation-badges.html) is amazing too.