stabbed is a very simple script invoking suckless tabbed with st,
resulting in a terminal with tabs support built-in.
Patches and custom configuration are provided to achieve the desired behavior.
In order to build both tabbed and st, you need the Xlib header files.
Alpha patch(opacity) requires an X composite manager (e.g. xcompmgr, picom).
A custom patch has been created, to work with latest master, combining the following patches:
A custom patch has been created, to work with latest master, combining the following patches:
- alpha
- blinking cursor
- bold is not bright
- scrollback
- scrollback-ringbuffer
- scrollback-mouse
- scrollback-mouse-altscreen
- simple-plumb
- universcroll
On first pull, we have to also pull suckless repos, so execute:
% git submodule update --init
Then, you can build everything using the provided makefile:
% make
This will first apply all patches and then build tabbed, st and stabbed inside project folder.
To run stabbed, you have to first give the corresponding permissions to the script, and then execute it:
% chmod a+x stabbed
% ./stabbed
To install the script into your system, simply execute:
% make install
If you also want to generate and install a .desktop file for the script, execute:
% make desktop
Or in a single command:
% make install desktop
These commands will NOT install tabbed or st in your system, as the script uses the patched ones from the project folder.
Stabbed is configured to use zsh
as default shell.
You can use a different shell using SHELL={shell}
make flag.
To configure opacity, use OPACITY={value}
make flag.
This is our custom key bindings configuration for stabbed:
Key | Action |
---|---|
Ctrl+Shift+t | Spawn new tab |
Ctrl+PageUp | Go to previous tab |
Ctrl+PageDown | Go to next tab |
Ctrl+Shift+PageUp | Move tab to previous position |
Ctrl+Shift+PageDown | Move tab to next position |
Shift+PageUp | Scroll up |
Shift+PageDown | Scroll down |
Ctrl+Minus | Zoom out |
Ctrl+Shift+Plus | Zoom in |
A custom plumber script is provided, which is invoked using mouse Button3(right click) for highlighted selection.
Sofrware used by the plumber:
- feh
- mpv
- hurl (requires lbtls-devel)
- imagemagick
- sacc (requires lbtls-devel)
- firefox or any of its forks
You can configure the script to use different software and/or expand its capabilities.
Massive thanks to the suckless team for making software that sucks less.
Original plumber script was kindly provided by parazyd.
Stabbed custom icon uses a vector kindly provided from List Heist.