Skip to content

A small drop-down terminal for sway and i3 write in Golang

License

Notifications You must be signed in to change notification settings

zexi/i3-go-quickterm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

i3-go-quickterm

A small drop-down terminal for i3wm and sway.

This is a Golang rewrite version of i3-quickterm for self easy install and use.

Prerequisites

termite used as default terminal emulator, so install it firstly.

Install

# install form source code
$ go get -u github.com/zexi/i3-go-quickterm

# run quickterm inside sway or i3 WM
$ $GOPATH/bin/i3-go-quickterm

Configuration

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

$ cat $HOME/.config/i3-go-quickterm/config.json
{
  "terminal": {
    "command": "termite",
    "extraArgs": [
      "-c",
      "/home/lzx/.config/termite/config.trans"
    ]
  },
  "pos": "top",
  "ratio": 0.5
}

sway or i3 config

# always pop drop down shell
bindsym $mod+g exec "$GOPATH/bin/i3-go-quickterm"

About

A small drop-down terminal for sway and i3 write in Golang

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages