All Projects → lbonn → I3 Quickterm

lbonn / I3 Quickterm

Licence: mit
A small drop-down terminal for i3 and sway

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to I3 Quickterm

Tty Pager
Terminal output paging - cross-platform, major ruby interpreters
Stars: ✭ 37 (-51.32%)
Mutual labels:  terminal, console
Crossterm
Cross platform terminal library rust
Stars: ✭ 1,023 (+1246.05%)
Mutual labels:  terminal, console
Nmcli Rofi
A simple manager for network connections using rofi and nmcli
Stars: ✭ 39 (-48.68%)
Mutual labels:  rofi, i3
Wonders
🌈 Declarative JavaScript framework to build command-line applications.
Stars: ✭ 34 (-55.26%)
Mutual labels:  terminal, console
Listr2
NodeJS Task List derived from the best! Create beautiful CLI interfaces via easy and logical to implement task lists that feel alive and interactive.
Stars: ✭ 73 (-3.95%)
Mutual labels:  terminal, console
Langterm
🕹️ WebGL-based VT220 emulator, made as a learning example and frontend for a text adventure
Stars: ✭ 35 (-53.95%)
Mutual labels:  terminal, console
Tty Font
Terminal fonts
Stars: ✭ 44 (-42.11%)
Mutual labels:  terminal, console
Radian
A 21 century R console
Stars: ✭ 878 (+1055.26%)
Mutual labels:  terminal, console
Rang
A Minimal, Header only Modern c++ library for terminal goodies 💄✨
Stars: ✭ 1,080 (+1321.05%)
Mutual labels:  terminal, console
Crossline
A small, self-contained, zero-config, MIT licensed, cross-platform, readline and libedit replacement.
Stars: ✭ 53 (-30.26%)
Mutual labels:  terminal, console
Terminus
Bring a real terminal to Sublime Text
Stars: ✭ 967 (+1172.37%)
Mutual labels:  terminal, console
Gritty
web terminal emulator
Stars: ✭ 63 (-17.11%)
Mutual labels:  terminal, console
Video To Ascii
It is a simple python package to play videos in the terminal using characters as pixels
Stars: ✭ 960 (+1163.16%)
Mutual labels:  terminal, console
Dotfiles
Get ready for dotfiles. Contains i3, i3blocks, rofi, dunst, picom, vim, tmux, and zsh.
Stars: ✭ 985 (+1196.05%)
Mutual labels:  rofi, i3
Tldr
📚 Collaborative cheatsheets for console commands
Stars: ✭ 36,408 (+47805.26%)
Mutual labels:  terminal, console
Termtools
Customize your terminal using JavaScript. With themes, extra alias and functions, we combine the power from both JavaScript and Bash.
Stars: ✭ 42 (-44.74%)
Mutual labels:  terminal, console
Tui Consolelauncher
Linux CLI Launcher for Android
Stars: ✭ 861 (+1032.89%)
Mutual labels:  terminal, console
Closestx11color
Find the closest xterm-256 colors (between 0 and 255) to an arbitrary HTML hexa color (e.g. #ABCDEF)
Stars: ✭ 13 (-82.89%)
Mutual labels:  terminal, console
Colorette
Easily set the color and style of text in the terminal.
Stars: ✭ 1,047 (+1277.63%)
Mutual labels:  terminal, console
Asciichart
Nice-looking lightweight console ASCII line charts ╭┈╯ for NodeJS, browsers and terminal, no dependencies
Stars: ✭ 1,107 (+1356.58%)
Mutual labels:  terminal, console

i3-quickterm

Packaging status

A small drop-down terminal for i3wm and sway

Features

  • use your favourite terminal emulator
  • can select a shell with dmenu / rofi
  • adapt to screen width
  • multi-monitor aware

Usage

When launched, it will minimize the quickterm on the current screen if there is one. Otherwise, it will either prompt the user for the shell to open or use the one supplied in argument.

If the requested shell is already opened on another screen, it will be moved on the current screen.

It is recommended to map it to an i3 binding:

# with prompt
bindsym $mod+p exec i3-quickterm
# always pop standard shell, without the menu
bindsym $mod+b exec i3-quickterm shell

Configuration

The configuration is read from ~/.config/i3/i3-quickterm.json.

  • menu: the dmenu-compatible application used to select the shell
  • term: the terminal emulator of choice
  • history: a file to save the last-used shells order, last-used ordering is disabled if set to null
  • ratio: the percentage of the screen height to use
  • pos: where to pop the terminal (top or bottom)
  • shells: registered shells ({ name: command })

term can be either:

  • a format string, like this one: urxvt -t {title} -e {expanded} with the correct arguments format of your terminal. Some terminals, like xfce4-terminal need the command argument to be passed as a string. In this case, replace {expanded} by {string}
  • a terminal name from the hardcoded list, which should work out of the box. Right now, the only reference for the list is the source code (search for TERMS =). If you'd like to add another terminal (or correct an error), please open a pull request.

menu, term, history and shell can contain placeholders for environment variables: {$var}.

Unspecified keys are inherited from the defaults:

{
    "menu": "rofi -dmenu -p 'quickterm: ' -no-custom -auto-select",
    "term": "urxvt",
    "history": "{$HOME}/.cache/i3/i3-quickterm.order",
    "ratio": 0.25,
    "pos": "top",
    "shells": {
        "haskell": "ghci",
        "js": "node",
        "python": "ipython3 --no-banner",
        "shell": "{$SHELL}"
    }
}

Requirements

  • python >= 3.4
  • i3 >= v3.11 or sway >= 1.2
  • i3ipc-python >= v2.0.1
  • dmenu or rofi (optional)
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].