mirror of
https://github.com/wavetermdev/waveterm
synced 2026-05-06 06:58:21 +00:00
An open-source, AI-integrated, cross-platform terminal for seamless workflows
The Window Controls Overlay API applies a transparent overlay on Windows, but not on Linux. This PR addresses this by capturing the area underneath the overlay, averaging the color of the area, and setting this as the overlay background color. It will also detect whether to make the control symbols white or black, depending on how dark the background color is. On Linux, this will set both the background color and the symbol color, on Windows it will just set the symbol color. <img width="721" alt="image" src="https://github.com/user-attachments/assets/e6f9f8f8-a49f-41b6-984e-09e7d52c631d"> |
||
|---|---|---|
| .github | ||
| .storybook | ||
| .vscode | ||
| build | ||
| cmd | ||
| db | ||
| emain | ||
| frontend | ||
| pkg | ||
| public | ||
| scripts/artifacts | ||
| .editorconfig | ||
| .gitignore | ||
| .prettierignore | ||
| .yarnrc.yml | ||
| electron-builder.config.cjs | ||
| electron.vite.config.ts | ||
| eslint.config.js | ||
| go.mod | ||
| go.sum | ||
| index.html | ||
| LICENSE | ||
| package.json | ||
| prettier.config.cjs | ||
| README.md | ||
| Taskfile.yml | ||
| tsconfig.json | ||
| version.cjs | ||
| vitest.config.ts | ||
| yarn.lock | ||
The Next Wave
Prereqs:
You'll need to install "task" (which we're using as a build/run system):
brew install go-task
On first checkout:
yarn
go mod tidy
Then, run the following command to start the app using the Vite dev server (this will enable Hot Module Reloading):
task electron:dev
To run the app without the dev server, run the following instead:
task electron:start