Giter Site home page Giter Site logo

aggstam / stabbed Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 49 KB

Very simple script invoking suckless tabbed with st, resulting in a terminal with tabs support built-in.

License: MIT License

Makefile 68.08% Shell 31.92%
suckless suckless-st tabbed terminal-emulator

stabbed's Introduction

stabbed Screenshot

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.

Requirements

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).

Patches

tabbed

A custom patch has been created, to work with latest master, combining the following patches:

  1. alpha
  2. drag

st

A custom patch has been created, to work with latest master, combining the following patches:

  1. alpha
  2. blinking cursor
  3. bold is not bright
  4. scrollback
  5. scrollback-ringbuffer
  6. scrollback-mouse
  7. scrollback-mouse-altscreen
  8. simple-plumb
  9. universcroll

Build

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.

Execution

To run stabbed, you have to first give the corresponding permissions to the script, and then execute it:

% chmod a+x stabbed
% ./stabbed

Installation

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.

Usage

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

Plumber

A custom plumber script is provided, which is invoked using mouse Button3(right click) for highlighted selection.
Sofrware used by the plumber:

  1. feh
  2. mpv
  3. hurl (requires lbtls-devel)
  4. imagemagick
  5. sacc (requires lbtls-devel)
  6. firefox or any of its forks

You can configure the script to use different software and/or expand its capabilities.

Credits

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.

stabbed's People

Contributors

aggstam avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.