builds
This commit is contained in:
parent
7530d1bf0a
commit
256710ac20
|
@ -1,4 +1,5 @@
|
|||
.idea
|
||||
.vscode
|
||||
/darktile
|
||||
/erm
|
||||
*.swp
|
||||
|
|
|
@ -1,41 +0,0 @@
|
|||
before:
|
||||
hooks:
|
||||
- sudo apt install xorg-dev libgl1-mesa-dev
|
||||
- go mod vendor
|
||||
builds:
|
||||
-
|
||||
id: darktile
|
||||
main: ./cmd/darktile
|
||||
binary: darktile
|
||||
ldflags:
|
||||
- "-X github.com/liamg/darktile/internal/app/darktile/version.Version={{.Version}}"
|
||||
env:
|
||||
- GOFLAGS=-mod=vendor
|
||||
goos:
|
||||
- linux
|
||||
goarch:
|
||||
- amd64
|
||||
|
||||
checksum:
|
||||
name_template: '{{ .ProjectName }}_checksums.txt'
|
||||
|
||||
snapshot:
|
||||
name_template: "{{ .Tag }}-next"
|
||||
|
||||
changelog:
|
||||
sort: asc
|
||||
filters:
|
||||
exclude:
|
||||
- '^docs:'
|
||||
- '^test:'
|
||||
|
||||
archives:
|
||||
-
|
||||
format: binary
|
||||
name_template: "{{ .Binary}}-{{ .Os }}-{{ .Arch }}"
|
||||
|
||||
release:
|
||||
prerelease: auto
|
||||
github:
|
||||
owner: liamg
|
||||
name: darktile
|
4
Makefile
4
Makefile
|
@ -1,7 +1,7 @@
|
|||
|
||||
|
||||
darktile: cmd/**/* internal/**/*
|
||||
go build -o darktile ./cmd/darktile
|
||||
erm: cmd/**/* app/**/*
|
||||
go build -o erm ./cmd/erm
|
||||
|
||||
clean:
|
||||
rm darktile
|
||||
|
|
10
README.md
10
README.md
|
@ -1,6 +1,12 @@
|
|||
# erm
|
||||
|
||||
a fork of Darktile
|
||||
|
||||
https://github.com/liamg/darktile
|
||||
|
||||
# Darktile
|
||||
|
||||
Darktile is a GPU rendered terminal emulator designed for tiling window managers.
|
||||
Darktile is a GPU rendered terminal emulator designed for tiling window managers.
|
||||
|
||||
![Demo](demo.gif)
|
||||
|
||||
|
@ -39,7 +45,7 @@ curl -s "https://raw.githubusercontent.com/liamg/darktile/main/scripts/install.s
|
|||
|
||||
## Configuration
|
||||
|
||||
Configuration files should be created in `$XDG_CONFIG_HOME/darktile/` if the variable is defined, otherwise in `$HOME/.config/darktile/`.
|
||||
Configuration files should be created in `$XDG_CONFIG_HOME/darktile/` if the variable is defined, otherwise in `$HOME/.config/darktile/`.
|
||||
|
||||
If you wish, you can create an example config file as a starting point using `darktile --rewrite-config`.
|
||||
|
||||
|
|
|
@ -5,6 +5,8 @@ import (
|
|||
"io/ioutil"
|
||||
"os"
|
||||
"path"
|
||||
|
||||
"sigs.k8s.io/yaml"
|
||||
)
|
||||
|
||||
type Theme struct {
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
package gui
|
||||
|
||||
import (
|
||||
"github.com/hajimehoshi/ebiten/v2"
|
||||
"tuxpa.in/t/erm/app/darktile/gui/render"
|
||||
)
|
||||
|
||||
|
|
|
@ -7,6 +7,8 @@ import (
|
|||
"os"
|
||||
"strings"
|
||||
"time"
|
||||
|
||||
"github.com/hajimehoshi/ebiten/v2"
|
||||
"tuxpa.in/t/erm/app/darktile/font"
|
||||
"tuxpa.in/t/erm/app/darktile/gui/popup"
|
||||
"tuxpa.in/t/erm/app/darktile/hinters"
|
||||
|
|
|
@ -4,6 +4,7 @@ import (
|
|||
"fmt"
|
||||
|
||||
"github.com/d-tsuji/clipboard"
|
||||
"github.com/hajimehoshi/ebiten/v2"
|
||||
)
|
||||
|
||||
var modifiableKeys = map[ebiten.Key]uint8{
|
||||
|
|
|
@ -3,6 +3,8 @@ package gui
|
|||
import (
|
||||
"sync"
|
||||
"time"
|
||||
|
||||
"github.com/hajimehoshi/ebiten/v2"
|
||||
)
|
||||
|
||||
var (
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
package gui
|
||||
|
||||
import (
|
||||
"github.com/hajimehoshi/ebiten/v2"
|
||||
"tuxpa.in/t/erm/app/darktile/termutil"
|
||||
)
|
||||
|
||||
|
|
|
@ -3,6 +3,8 @@ package gui
|
|||
import (
|
||||
"fmt"
|
||||
"time"
|
||||
|
||||
"github.com/hajimehoshi/ebiten/v2"
|
||||
"tuxpa.in/t/erm/app/darktile/hinters"
|
||||
termutil2 "tuxpa.in/t/erm/app/darktile/termutil"
|
||||
)
|
||||
|
|
|
@ -2,6 +2,8 @@ package gui
|
|||
|
||||
import (
|
||||
"image"
|
||||
|
||||
"github.com/hajimehoshi/ebiten/v2"
|
||||
)
|
||||
|
||||
type Option func(g *GUI) error
|
||||
|
|
|
@ -3,6 +3,7 @@ package render
|
|||
import (
|
||||
"image/color"
|
||||
|
||||
"github.com/hajimehoshi/ebiten/v2"
|
||||
"github.com/hajimehoshi/ebiten/v2/ebitenutil"
|
||||
"github.com/hajimehoshi/ebiten/v2/text"
|
||||
)
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
package render
|
||||
|
||||
import (
|
||||
"github.com/hajimehoshi/ebiten/v2"
|
||||
"github.com/hajimehoshi/ebiten/v2/ebitenutil"
|
||||
"github.com/hajimehoshi/ebiten/v2/text"
|
||||
"tuxpa.in/t/erm/app/darktile/termutil"
|
||||
|
|
|
@ -2,6 +2,8 @@ package render
|
|||
|
||||
import (
|
||||
"image"
|
||||
|
||||
"github.com/hajimehoshi/ebiten/v2"
|
||||
"tuxpa.in/t/erm/app/darktile/font"
|
||||
"tuxpa.in/t/erm/app/darktile/gui/popup"
|
||||
termutil2 "tuxpa.in/t/erm/app/darktile/termutil"
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
package render
|
||||
|
||||
import "github.com/hajimehoshi/ebiten/v2"
|
||||
|
||||
func (r *Render) drawSixels() {
|
||||
for _, sixel := range r.buffer.GetVisibleSixels() {
|
||||
op := &ebiten.DrawImageOptions{}
|
||||
|
|
|
@ -2,6 +2,8 @@ package gui
|
|||
|
||||
import (
|
||||
"time"
|
||||
|
||||
"github.com/hajimehoshi/ebiten/v2"
|
||||
"tuxpa.in/t/erm/app/darktile/gui/popup"
|
||||
)
|
||||
|
||||
|
|
|
@ -4,6 +4,7 @@ import (
|
|||
"image"
|
||||
"math"
|
||||
"strings"
|
||||
|
||||
"tuxpa.in/t/erm/app/darktile/sixel"
|
||||
)
|
||||
|
||||
|
|
BIN
cursor.gif
BIN
cursor.gif
Binary file not shown.
Before Width: | Height: | Size: 19 KiB |
Loading…
Reference in New Issue