builds
This commit is contained in:
parent
7530d1bf0a
commit
256710ac20
|
@ -1,4 +1,5 @@
|
||||||
.idea
|
.idea
|
||||||
.vscode
|
.vscode
|
||||||
/darktile
|
/darktile
|
||||||
|
/erm
|
||||||
*.swp
|
*.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/**/*
|
erm: cmd/**/* app/**/*
|
||||||
go build -o darktile ./cmd/darktile
|
go build -o erm ./cmd/erm
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm darktile
|
rm darktile
|
||||||
|
|
10
README.md
10
README.md
|
@ -1,6 +1,12 @@
|
||||||
|
# erm
|
||||||
|
|
||||||
|
a fork of Darktile
|
||||||
|
|
||||||
|
https://github.com/liamg/darktile
|
||||||
|
|
||||||
# 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)
|
![Demo](demo.gif)
|
||||||
|
|
||||||
|
@ -39,7 +45,7 @@ curl -s "https://raw.githubusercontent.com/liamg/darktile/main/scripts/install.s
|
||||||
|
|
||||||
## Configuration
|
## 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`.
|
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"
|
"io/ioutil"
|
||||||
"os"
|
"os"
|
||||||
"path"
|
"path"
|
||||||
|
|
||||||
|
"sigs.k8s.io/yaml"
|
||||||
)
|
)
|
||||||
|
|
||||||
type Theme struct {
|
type Theme struct {
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
package gui
|
package gui
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
"github.com/hajimehoshi/ebiten/v2"
|
||||||
"tuxpa.in/t/erm/app/darktile/gui/render"
|
"tuxpa.in/t/erm/app/darktile/gui/render"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -7,6 +7,8 @@ import (
|
||||||
"os"
|
"os"
|
||||||
"strings"
|
"strings"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
|
"github.com/hajimehoshi/ebiten/v2"
|
||||||
"tuxpa.in/t/erm/app/darktile/font"
|
"tuxpa.in/t/erm/app/darktile/font"
|
||||||
"tuxpa.in/t/erm/app/darktile/gui/popup"
|
"tuxpa.in/t/erm/app/darktile/gui/popup"
|
||||||
"tuxpa.in/t/erm/app/darktile/hinters"
|
"tuxpa.in/t/erm/app/darktile/hinters"
|
||||||
|
|
|
@ -4,6 +4,7 @@ import (
|
||||||
"fmt"
|
"fmt"
|
||||||
|
|
||||||
"github.com/d-tsuji/clipboard"
|
"github.com/d-tsuji/clipboard"
|
||||||
|
"github.com/hajimehoshi/ebiten/v2"
|
||||||
)
|
)
|
||||||
|
|
||||||
var modifiableKeys = map[ebiten.Key]uint8{
|
var modifiableKeys = map[ebiten.Key]uint8{
|
||||||
|
|
|
@ -3,6 +3,8 @@ package gui
|
||||||
import (
|
import (
|
||||||
"sync"
|
"sync"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
|
"github.com/hajimehoshi/ebiten/v2"
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
package gui
|
package gui
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
"github.com/hajimehoshi/ebiten/v2"
|
||||||
"tuxpa.in/t/erm/app/darktile/termutil"
|
"tuxpa.in/t/erm/app/darktile/termutil"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -3,6 +3,8 @@ package gui
|
||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
|
"github.com/hajimehoshi/ebiten/v2"
|
||||||
"tuxpa.in/t/erm/app/darktile/hinters"
|
"tuxpa.in/t/erm/app/darktile/hinters"
|
||||||
termutil2 "tuxpa.in/t/erm/app/darktile/termutil"
|
termutil2 "tuxpa.in/t/erm/app/darktile/termutil"
|
||||||
)
|
)
|
||||||
|
|
|
@ -2,6 +2,8 @@ package gui
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"image"
|
"image"
|
||||||
|
|
||||||
|
"github.com/hajimehoshi/ebiten/v2"
|
||||||
)
|
)
|
||||||
|
|
||||||
type Option func(g *GUI) error
|
type Option func(g *GUI) error
|
||||||
|
|
|
@ -3,6 +3,7 @@ package render
|
||||||
import (
|
import (
|
||||||
"image/color"
|
"image/color"
|
||||||
|
|
||||||
|
"github.com/hajimehoshi/ebiten/v2"
|
||||||
"github.com/hajimehoshi/ebiten/v2/ebitenutil"
|
"github.com/hajimehoshi/ebiten/v2/ebitenutil"
|
||||||
"github.com/hajimehoshi/ebiten/v2/text"
|
"github.com/hajimehoshi/ebiten/v2/text"
|
||||||
)
|
)
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
package render
|
package render
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
"github.com/hajimehoshi/ebiten/v2"
|
||||||
"github.com/hajimehoshi/ebiten/v2/ebitenutil"
|
"github.com/hajimehoshi/ebiten/v2/ebitenutil"
|
||||||
"github.com/hajimehoshi/ebiten/v2/text"
|
"github.com/hajimehoshi/ebiten/v2/text"
|
||||||
"tuxpa.in/t/erm/app/darktile/termutil"
|
"tuxpa.in/t/erm/app/darktile/termutil"
|
||||||
|
|
|
@ -2,6 +2,8 @@ package render
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"image"
|
"image"
|
||||||
|
|
||||||
|
"github.com/hajimehoshi/ebiten/v2"
|
||||||
"tuxpa.in/t/erm/app/darktile/font"
|
"tuxpa.in/t/erm/app/darktile/font"
|
||||||
"tuxpa.in/t/erm/app/darktile/gui/popup"
|
"tuxpa.in/t/erm/app/darktile/gui/popup"
|
||||||
termutil2 "tuxpa.in/t/erm/app/darktile/termutil"
|
termutil2 "tuxpa.in/t/erm/app/darktile/termutil"
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
package render
|
package render
|
||||||
|
|
||||||
|
import "github.com/hajimehoshi/ebiten/v2"
|
||||||
|
|
||||||
func (r *Render) drawSixels() {
|
func (r *Render) drawSixels() {
|
||||||
for _, sixel := range r.buffer.GetVisibleSixels() {
|
for _, sixel := range r.buffer.GetVisibleSixels() {
|
||||||
op := &ebiten.DrawImageOptions{}
|
op := &ebiten.DrawImageOptions{}
|
||||||
|
|
|
@ -2,6 +2,8 @@ package gui
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
|
"github.com/hajimehoshi/ebiten/v2"
|
||||||
"tuxpa.in/t/erm/app/darktile/gui/popup"
|
"tuxpa.in/t/erm/app/darktile/gui/popup"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -4,6 +4,7 @@ import (
|
||||||
"image"
|
"image"
|
||||||
"math"
|
"math"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
"tuxpa.in/t/erm/app/darktile/sixel"
|
"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