Skip to content

Enhance traybar icons #857

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Nov 20, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
remove dark mode detection (it was not working)
  • Loading branch information
umbynos committed Nov 16, 2023
commit 3544cc1d18b15c6f1bd830f40f90791a3a6d3df0
23 changes: 23 additions & 0 deletions icon/icon_darwin.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
package icon

import _ "embed" // import embed to embed the icon

// GetIcon will return the icon
func GetIcon() []byte {
return data
}

// GetIconHiber will return the hibernated icon
func GetIconHiber() []byte {
return dataHibernate
}

// data represents the icon
//
//go:embed icon_mac.png
var data []byte

// dataHibernate represents the icon hibernated
//
//go:embed icon_mac_hiber.png
var dataHibernate []byte
52 changes: 0 additions & 52 deletions icon/icondarwin.go

This file was deleted.