An open-source, AI-integrated, cross-platform terminal for seamless workflows
Find a file
Evan Simkowitz e6003c310e
Set background color for window controls on Linux (#247)
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">
2024-08-19 14:16:09 -07:00
.github bump node version 2024-08-01 02:18:27 -07:00
.storybook Make magnify icon always visible, transition from magnify to minimize (#197) 2024-08-05 16:13:26 -07:00
.vscode Fix yaml formatting (#121) 2024-07-18 15:53:20 -07:00
build remove wails deps 2024-06-12 11:58:17 -07:00
cmd set up remote connserver (#245) 2024-08-18 21:26:44 -07:00
db adding telemetry updates (#209) 2024-08-08 18:24:54 -07:00
emain Set background color for window controls on Linux (#247) 2024-08-19 14:16:09 -07:00
frontend Set background color for window controls on Linux (#247) 2024-08-19 14:16:09 -07:00
pkg get remote preview working (#246) 2024-08-19 11:02:40 -07:00
public try adding the wave logo to header 2024-08-06 16:41:00 -07:00
scripts/artifacts update readme 2024-08-16 18:17:10 -07:00
.editorconfig Fix prettier formatting 2024-05-28 12:12:28 -07:00
.gitignore Set up electron-builder for new app (#113) 2024-07-17 18:42:49 -07:00
.prettierignore Add filewatcher for config files (#63) 2024-06-19 23:59:41 -07:00
.yarnrc.yml Fix prettier formatting 2024-05-28 12:12:28 -07:00
electron-builder.config.cjs Add auto updater configuration (#122) 2024-07-18 16:55:04 -07:00
electron.vite.config.ts Set background color for window controls on Linux (#247) 2024-08-19 14:16:09 -07:00
eslint.config.js Switch to using electron-vite instead of WebPack (#45) 2024-06-13 16:49:25 -07:00
go.mod Windows Pty (#206) 2024-08-09 18:49:35 -07:00
go.sum Windows Pty (#206) 2024-08-09 18:49:35 -07:00
index.html Simplify frontend/wave path in index.html (#48) 2024-06-13 17:00:07 -07:00
LICENSE Setup the Build Helper pipeline (#116) 2024-07-17 22:39:22 -07:00
package.json Set background color for window controls on Linux (#247) 2024-08-19 14:16:09 -07:00
prettier.config.cjs Switch to using electron-vite instead of WebPack (#45) 2024-06-13 16:49:25 -07:00
README.md Switch to using electron-vite instead of WebPack (#45) 2024-06-13 16:49:25 -07:00
Taskfile.yml SSH Wsh Install (#225) 2024-08-15 21:32:08 -07:00
tsconfig.json modals component and model and TOS modal (#164) 2024-07-30 11:44:19 -07:00
version.cjs Get version for Taskfile from version.js (#49) 2024-06-13 18:11:21 -07:00
vitest.config.ts Switch to using electron-vite instead of WebPack (#45) 2024-06-13 16:49:25 -07:00
yarn.lock Set background color for window controls on Linux (#247) 2024-08-19 14:16:09 -07:00

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