0.5.0 • Published 3 years ago
hyper-tabs-titles v0.5.0
hyper-tabs-titles

Enhanced Tabs + Tabs Titles Plugin for Hyper. Shows the current working directory in the tab title. Fork of hyper-tabs-enhanced
Features
- Show current working directory in tab title.
- If number of open tabs is greater than N (3 by default), show only the last directory in path.
- All features from hyper-tabs-enhanced
- Tab Icons
- Colored Tabs, Tab Borders, Activity Pulse.
Install
Add following to your ~/.hyper.js config.
module.exports = {
...
plugins: ['hyper-tabs-titles']
...
}Config
Add following to ~/.hyper.js
Configure threshold for shortening tab titles
Default value is 3. After this number of tabs are open, only the last directory in the path will be shown in tab titles.
module.exports = {
config: {
...
hyperTabs: {
openTabsThreshold: 3,
}
...
}
}Enable Traffic Buttons
Default value is false
module.exports = {
config: {
...
hyperTabs: {
trafficButtons: true,
}
...
}
}Enable Border
Default value is false
module.exports = {
config: {
...
hyperTabs: {
border: true,
}
...
}
}Disable Tab Icons
Default value is true
module.exports = {
config: {
...
hyperTabs: {
tabIcons: false,
}
...
}
}Enable Colored Tab Icons
Default value is false
module.exports = {
config: {
...
hyperTabs: {
tabIconsColored: true,
}
...
}
}Change Activity Color
Expected value is CSS color
module.exports = {
config: {
...
hyperTabs: {
activityColor: 'salmon',
}
...
}
}Align Close Button Right
Default value is 'left'
module.exports = {
config: {
...
hyperTabs: {
closeAlign: 'right',
}
...
}
}Disable Activity Pulse
Default value is true
module.exports = {
config: {
...
hyperTabs: {
activityPulse: false,
}
...
}
}Acknowledgements
- This package is a fork of hyper-tabs-enhanced by henrikruscon with added support for modifying tab titles.
0.5.0
3 years ago