Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
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
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@

Format based on [Keep a Changelog](https://keepachangelog.com/); versioning follows [SemVer](https://semver.org/).

## [Unreleased]

### Fixed
- **Blur rendered solid black on Windows 11.** The classic blur-behind accent is drawn black by Windows 11 (measured on build 26300), whatever the tint. On Windows 11 Blur now uses the acrylic backdrop, and its strength lightens or darkens the glass (that backdrop takes its brightness from the tint colour and ignores the alpha). Windows 10 keeps the classic blur.

### Changed
- **The settings window is now native Windows** (real Win32 controls with the TaskGlass icon) instead of a web page, so there is no Edge window or local server any more. The live preview is drawn in-app with real blur, and shows the maximized and per-app looks and the hidden-icons flyout. The maximized rule has its own tab.

## [1.2.1] - 2026-11-20

### Fixed
Expand Down
Binary file modified cmd/taskglass/resource_windows_amd64.syso
Binary file not shown.
6 changes: 6 additions & 0 deletions cmd/taskglass/taskglass.manifest
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
<assemblyIdentity type="win32" name="AnderCMD.TaskGlass" version="1.2.1.0" processorArchitecture="*"/>
<description>TaskGlass</description>
<dependency>
<dependentAssembly>
<!-- visual styles for the settings window's native controls -->
<assemblyIdentity type="win32" name="Microsoft.Windows.Common-Controls" version="6.0.0.0" processorArchitecture="*" publicKeyToken="6595b64144ccf1df" language="*"/>
</dependentAssembly>
</dependency>
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v3">
<security>
<requestedPrivileges>
Expand Down
7 changes: 6 additions & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,12 @@ go 1.26.7

require (
fyne.io/systray v1.12.2
github.com/lxn/walk v0.0.0-20210112085537-c389da54e794
github.com/lxn/win v0.0.0-20210218163916-a377121e959e
golang.org/x/sys v0.50.0
)

require github.com/godbus/dbus/v5 v5.1.0 // indirect
require (
github.com/godbus/dbus/v5 v5.1.0 // indirect
gopkg.in/Knetic/govaluate.v3 v3.0.0 // indirect
)
7 changes: 7 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,12 @@ fyne.io/systray v1.12.2 h1:Y8DZxgLHsVQt6rY9Zrkkg+j67S7vv/1F2viOWKPpVeA=
fyne.io/systray v1.12.2/go.mod h1:RVwqP9nYMo7h5zViCBHri2FgjXF7H2cub7MAq4NSoLs=
github.com/godbus/dbus/v5 v5.1.0 h1:4KLkAxT3aOY8Li4FRJe/KvhoNFFxo0m6fNuFUO8QJUk=
github.com/godbus/dbus/v5 v5.1.0/go.mod h1:xhWf0FNVPg57R7Z0UbKHbJfkEywrmjJnf7w5xrFpKfA=
github.com/lxn/walk v0.0.0-20210112085537-c389da54e794 h1:NVRJ0Uy0SOFcXSKLsS65OmI1sgCCfiDUPj+cwnH7GZw=
github.com/lxn/walk v0.0.0-20210112085537-c389da54e794/go.mod h1:E23UucZGqpuUANJooIbHWCufXvOcT6E7Stq81gU+CSQ=
github.com/lxn/win v0.0.0-20210218163916-a377121e959e h1:H+t6A/QJMbhCSEH5rAuRxh+CtW96g0Or0Fxa9IKr4uc=
github.com/lxn/win v0.0.0-20210218163916-a377121e959e/go.mod h1:KxxjdtRkfNoYDCUP5ryK7XJJNTnpC8atvtmTheChOtk=
golang.org/x/sys v0.0.0-20201018230417-eeed37f84f13/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.50.0 h1:dkKZEFTEKaLr1sjhs0WiKqoi8Jj5nHbS3Njmx1UoMJs=
golang.org/x/sys v0.50.0/go.mod h1:hNLxWAXmnKAxqDtdwIYC4bM9oQPEecfsnNMuSxOs3og=
gopkg.in/Knetic/govaluate.v3 v3.0.0 h1:18mUyIt4ZlRlFZAAfVetz4/rzlJs9yhN+U02F4u1AOc=
gopkg.in/Knetic/govaluate.v3 v3.0.0/go.mod h1:csKLBORsPbafmSCGTEh3U7Ozmsuq8ZSIlKk1bcqph0E=
18 changes: 7 additions & 11 deletions graphify-out/.graphify_labels.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@
"7": "opacity",
"8": "config.schema.json",
"9": "Changelog",
"10": "theme",
"10": "tray_icon",
"11": "PULL_REQUEST_TEMPLATE.md",
"12": "definitions",
"13": "Config",
"13": "preview.go",
"14": "assets.go",
"15": "bug_report.md",
"16": "feature_request.md",
Expand All @@ -27,7 +27,7 @@
"25": "poll_ms",
"26": "refresh_ms",
"27": "surfaces",
"28": "xaml_fix",
"28": "opacity",
"29": "T",
"30": "Architecture",
"31": "render-assets.ps1",
Expand All @@ -40,16 +40,12 @@
"38": "Contributing",
"39": "Security Policy",
"40": "default",
"41": "main.go",
"41": "apps",
"42": "enabled",
"43": "hotkey",
"44": "enum",
"45": "anchor_windows.go",
"46": "Server",
"47": "exe",
"45": "theme",
"46": "window",
"48": "autostart_windows.go",
"49": "tray_icon",
"50": "language",
"51": "properties",
"52": "locale_other.go"
"50": "language"
}
2 changes: 1 addition & 1 deletion graphify-out/.graphify_labels.json.sig
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"0": "5076d5ac64ef5c4a", "1": "b64346c57c2f1370", "2": "33ff8415b4a61bba", "3": "01646dff01d2eb7e", "4": "8eda15899afbea06", "5": "d91d8c7e6614d2e4", "6": "5f1178d3b76d5916", "7": "c3edf3c38080d85c", "8": "7c8d94ab6376b921", "9": "7fe8c816be42994d", "10": "43dd470eba70e8b2", "11": "e0f13635f45c650b", "12": "277e559f4d0e1ba6", "13": "89b36edeac3661ed", "14": "6c7a71fed0eb24b5", "15": "ec76c5b024eab860", "16": "37bcee490d34fb1d", "17": "5c97800323607746", "18": "136e8401d4dcd739", "19": "5dbe09da18834400", "20": "b8b416d32d64abd5", "21": "6e7b82d0387bf16d", "22": "a0e1e2546c3370b0", "23": "a309b6ae1fe8f288", "24": "420dd9e70a20e9ac", "25": "c36fef69ae3bd6c5", "26": "e9dfc248ad6fcedc", "27": "b8e36120f4e5b47a", "28": "43b67b0ff2e57329", "29": "3c5c92f0728e499a", "30": "4cbef3533d917f67", "31": "39e69bcdefe2b0d2", "32": "804482094d693c22", "33": "077458ac008cc4d9", "34": "77bc2d977d7ff4cd", "35": "13af2a57728b14e4", "36": "bb6ec3da677724b3", "37": "4c1831b02af7bd53", "38": "268b36fafa333572", "39": "89111ec01d66aeef", "40": "a6d5a524b6f14c57", "41": "9346c9771bed4f8d", "42": "25b2731804072e95", "43": "4249983e8612bb1d", "44": "0baabc23a0122bf6", "45": "44ec9eeee4b329e7", "46": "751cd197468d3622", "47": "ab47fb02a9b2717a", "48": "a5b30f9d71bf9f82", "49": "d041a87ea2070ac4", "50": "58627c65df2a80a1", "51": "5259f23670b0c110", "52": "7984419eb8b2f465"}
{"0": "5076d5ac64ef5c4a", "1": "b64346c57c2f1370", "2": "6bef3ac583d4f42c", "3": "01646dff01d2eb7e", "4": "df681840d16ff3d5", "5": "6bda37dc8cb09c04", "6": "5f1178d3b76d5916", "7": "a38ebed4de8f78eb", "8": "7c8d94ab6376b921", "9": "0ea3b56aede6e75a", "10": "952491af3b1e9f78", "11": "e0f13635f45c650b", "12": "c2f6f3578481b87d", "13": "f920c17e32bfb614", "14": "6c7a71fed0eb24b5", "15": "ec76c5b024eab860", "16": "37bcee490d34fb1d", "17": "5c97800323607746", "18": "4974e3d5715a769b", "19": "5dbe09da18834400", "20": "b8b416d32d64abd5", "21": "6e7b82d0387bf16d", "22": "a0e1e2546c3370b0", "23": "a309b6ae1fe8f288", "24": "420dd9e70a20e9ac", "25": "c36fef69ae3bd6c5", "26": "e9dfc248ad6fcedc", "27": "b8e36120f4e5b47a", "28": "029966ca5faa5a2a", "29": "6f1828727aec4f13", "30": "4cbef3533d917f67", "31": "39e69bcdefe2b0d2", "32": "804482094d693c22", "33": "077458ac008cc4d9", "34": "77bc2d977d7ff4cd", "35": "13af2a57728b14e4", "36": "f88db8f9d07d6c49", "37": "4c1831b02af7bd53", "38": "268b36fafa333572", "39": "89111ec01d66aeef", "40": "a6d5a524b6f14c57", "41": "99012460fbf55554", "42": "25b2731804072e95", "43": "4249983e8612bb1d", "44": "4c1a85cc953cf600", "45": "568df988db03bae3", "46": "e93ca5dce766a4ee", "48": "a5b30f9d71bf9f82", "50": "58627c65df2a80a1"}
157 changes: 71 additions & 86 deletions graphify-out/GRAPH_REPORT.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
# Graph Report - TaskGlass (2026-11-20)

## Corpus Check
- 50 files · ~97,994 words
- 49 files · ~99,000 words
- Verdict: corpus is large enough that graph structure adds value.

## Summary
- 609 nodes · 1055 edges · 53 communities (48 shown, 5 thin omitted)
- Extraction: 92% EXTRACTED · 8% INFERRED · 0% AMBIGUOUS · INFERRED: 87 edges (avg confidence: 0.8)
- 679 nodes · 1289 edges · 49 communities (44 shown, 5 thin omitted)
- Extraction: 91% EXTRACTED · 9% INFERRED · 0% AMBIGUOUS · INFERRED: 112 edges (avg confidence: 0.8)
- Token cost: 0 input · 0 output

## Graph Freshness
- Built from commit: `c8f79e7d`
- Built from commit: `05ca89d4`
- Run `git rev-parse HEAD` and compare to check if the graph is stale.
- Run `graphify update .` after code changes (no API cost).

Expand All @@ -25,10 +25,10 @@
- opacity
- config.schema.json
- Changelog
- theme
- tray_icon
- PULL_REQUEST_TEMPLATE.md
- definitions
- Config
- preview.go
- github.com/AnderCMD/TaskGlass
- properties
- Watcher
Expand All @@ -39,7 +39,7 @@
- poll_ms
- refresh_ms
- surfaces
- xaml_fix
- opacity
- T
- Architecture
- render-assets.ps1
Expand All @@ -50,29 +50,26 @@
- Contributing
- Security Policy
- default
- main.go
- apps
- enabled
- hotkey
- enum
- anchor_windows.go
- Server
- exe
- theme
- window
- autostart_windows.go
- tray_icon
- language
- properties

## God Nodes (most connected - your core abstractions)
1. `App` - 38 edges
2. `T()` - 38 edges
3. `Config` - 35 edges
4. `Controller` - 21 edges
5. `Default()` - 19 edges
6. `Parse()` - 17 edges
7. `Server` - 17 edges
8. `main()` - 13 edges
9. `logf_()` - 12 edges
10. `Context` - 11 edges
1. `T()` - 41 edges
2. `App` - 38 edges
3. `window` - 35 edges
4. `Config` - 33 edges
5. `Controller` - 21 edges
6. `Render()` - 18 edges
7. `Parse()` - 17 edges
8. `Default()` - 16 edges
9. `Appearance` - 15 edges
10. `window` - 15 edges

## Surprising Connections (you probably didn't know these)
- `main()` --calls--> `Default()` [INFERRED]
Expand All @@ -83,13 +80,13 @@
cmd/taskglass/main_windows.go → internal/config/config.go
- `main()` --calls--> `Save()` [INFERRED]
cmd/taskglass/main_windows.go → internal/config/config.go
- `main()` --calls--> `Parse()` [INFERRED]
tools/genicon/main.go → internal/config/config.go
- `watchForQuit()` --references--> `App` [EXTRACTED]
cmd/taskglass/main_windows.go → internal/app/app_windows.go

## Import Cycles
- None detected.

## Communities (53 total, 5 thin omitted)
## Communities (49 total, 5 thin omitted)

### Community 0 - "main"
Cohesion: 0.26
Expand All @@ -100,52 +97,52 @@ Cohesion: 0.18
Nodes (10): Before you start, Contributing, Features, How it works, Install, License, Limitations and safety, Roadmap (+2 more)

### Community 2 - "winapi_windows.go"
Cohesion: 0.12
Nodes (28): TestToPolicy(), HWND, Logger, Time, New(), toPolicy(), className(), cloaked() (+20 more)
Cohesion: 0.11
Nodes (31): blurPolicy(), TestToPolicy(), HWND, Logger, Time, lighten(), New(), toPolicy() (+23 more)

### Community 3 - "hotkey_enabled"
Cohesion: 0.50
Nodes (4): default, description, type, hotkey_enabled

### Community 4 - "App"
Cohesion: 0.06
Nodes (27): App, host, menuItems, Options, panicGuard, Int32, check(), Bool (+19 more)
Cohesion: 0.07
Nodes (25): App, host, menuItems, Options, panicGuard, Int32, check(), Bool (+17 more)

### Community 5 - "Controller"
Cohesion: 0.07
Nodes (25): Attr, Handler, GUID, Duration, TrayProbe(), Handle, SetCallWndProcHook(), Available() (+17 more)
Nodes (28): Attr, GUID, Handler, Duration, TaskbarAnchor(), Duration, TrayProbe(), Unhook() (+20 more)

### Community 6 - "tap.c"
Cohesion: 0.07
Nodes (72): DWORD, HINSTANCE, HRESULT, HSTRING, IClassFactory, IDispatchedHandler_, Inst, InstanceHandle (+64 more)

### Community 7 - "opacity"
Cohesion: 0.25
Nodes (11): $ref, properties, type, $ref, properties, appearance, properties, $ref (+3 more)
Cohesion: 0.19
Nodes (14): $ref, properties, type, $ref, properties, appearance, rule, $ref (+6 more)

### Community 8 - "config.schema.json"
Cohesion: 0.29
Nodes (6): additionalProperties, description, $id, $schema, title, type

### Community 9 - "Changelog"
Cohesion: 0.11
Nodes (18): [1.0.0] - 2026-11-17, [1.0.1] - 2026-11-17, [1.1.0] - 2026-11-18, [1.1.1] - 2026-11-18, Added, Added, Added, Changed (+10 more)
Cohesion: 0.08
Nodes (23): [1.0.0] - 2026-11-17, [1.0.1] - 2026-11-17, [1.1.0] - 2026-11-18, [1.1.1] - 2026-11-18, [1.2.0] - 2026-11-20, [1.2.1] - 2026-11-20, Added, Added (+15 more)

### Community 10 - "theme"
### Community 10 - "tray_icon"
Cohesion: 0.24
Nodes (10): theme, default, description, enum, type, enum, auto, color (+2 more)
Nodes (10): tray_icon, enum, default, description, enum, type, auto, color (+2 more)

### Community 12 - "definitions"
Cohesion: 0.20
Nodes (10): description, pattern, type, definitions, color, opacity, description, maximum (+2 more)
Cohesion: 0.25
Nodes (8): description, type, description, pattern, type, definitions, accent, color

### Community 13 - "Config"
Cohesion: 0.09
Nodes (16): Accent, Appearance, AppRule, Config, Percent, Rule, Surface, Surfaces (+8 more)
### Community 13 - "preview.go"
Cohesion: 0.19
Nodes (30): at(), blur(), boxH(), boxV(), clamp8(), Color(), drawFlyout(), drawTaskbarContents() (+22 more)

### Community 18 - "properties"
Cohesion: 0.22
Nodes (9): description, $ref, properties, maximized, $schema, version, type, const (+1 more)
Cohesion: 0.15
Nodes (13): description, $ref, properties, maximized, $schema, version, xaml_fix, type (+5 more)

### Community 19 - "Watcher"
Cohesion: 0.33
Expand Down Expand Up @@ -175,13 +172,13 @@ Nodes (6): refresh_ms, default, description, maximum, minimum, type
Cohesion: 0.25
Nodes (8): surfaces, tray_overflow, additionalProperties, description, properties, type, description, $ref

### Community 28 - "xaml_fix"
Cohesion: 0.50
Nodes (4): xaml_fix, default, description, type
### Community 28 - "opacity"
Cohesion: 0.40
Nodes (5): opacity, description, maximum, minimum, type

### Community 29 - "T"
Cohesion: 0.09
Nodes (44): Lang, Default(), Load(), Parse(), TestAppRuleMatching(), TestAutoColorFollowsTheme(), TestDefaultIsValid(), TestExplicitFalseSticks() (+36 more)
Cohesion: 0.06
Nodes (57): Accent, Appearance, AppRule, Config, Percent, Rule, Surface, Surfaces (+49 more)

### Community 30 - "Architecture"
Cohesion: 0.18
Expand All @@ -192,8 +189,8 @@ Cohesion: 0.18
Nodes (10): Antes de empezar, Características, Contribuir, Cómo funciona, Hoja de ruta, Instalación, Licencia, Limitaciones y seguridad (+2 more)

### Community 36 - "items"
Cohesion: 0.22
Nodes (9): description, items, maxItems, type, additionalProperties, required, type, apps (+1 more)
Cohesion: 0.18
Nodes (11): items, description, minLength, pattern, type, additionalProperties, properties, required (+3 more)

### Community 37 - "Configuration"
Cohesion: 0.22
Expand All @@ -211,9 +208,9 @@ Nodes (4): Reporting a vulnerability, Scope, Security Policy, Supported versions
Cohesion: 0.50
Nodes (4): additionalProperties, description, type, default

### Community 41 - "main.go"
Cohesion: 0.83
Nodes (3): entry, main(), writeICO()
### Community 41 - "apps"
Cohesion: 0.50
Nodes (4): description, maxItems, type, apps

### Community 42 - "enabled"
Cohesion: 0.25
Expand All @@ -224,56 +221,44 @@ Cohesion: 0.50
Nodes (4): default, description, type, hotkey

### Community 44 - "enum"
Cohesion: 0.22
Nodes (9): description, enum, type, accent, acrylic, blur, clear, normal (+1 more)

### Community 45 - "anchor_windows.go"
Cohesion: 0.40
Nodes (5): Duration, TaskbarAnchor(), msg, point, wndClassEx
Cohesion: 0.33
Nodes (6): enum, acrylic, blur, clear, normal, opaque

### Community 46 - "Server"
Cohesion: 0.20
Nodes (12): HandlerFunc, Handler, loopbackHost(), New(), writeErr(), writeJSON(), Listener, Mutex (+4 more)
### Community 45 - "theme"
Cohesion: 0.50
Nodes (4): theme, default, description, type

### Community 47 - "exe"
Cohesion: 0.40
Nodes (5): description, minLength, pattern, type, exe
### Community 46 - "window"
Cohesion: 0.06
Nodes (41): Bitmap, CheckBox, ComboBox, Composite, ImageView, Container, window, unsafeSizeofChooseColor() (+33 more)

### Community 48 - "autostart_windows.go"
Cohesion: 0.38
Nodes (8): clearDisabled(), command(), Enabled(), Repair(), sameCommand(), Set(), TestCommandIsPlainQuotedPath(), TestSameCommandRecognisesLegacyDoubledBackslashes()

### Community 49 - "tray_icon"
Cohesion: 0.50
Nodes (4): tray_icon, default, description, type

### Community 50 - "language"
Cohesion: 0.29
Nodes (7): default, description, enum, type, language, en, es

### Community 51 - "properties"
Cohesion: 0.50
Nodes (4): rule, additionalProperties, properties, type

## Knowledge Gaps
- **162 isolated node(s):** `$schema`, `$id`, `title`, `description`, `type` (+157 more)
- **165 isolated node(s):** `$schema`, `$id`, `title`, `description`, `type` (+160 more)
These have ≤1 connection - possible missing edges or undocumented components.
- **5 thin communities (<3 nodes) omitted from report** — run `graphify query` to explore isolated nodes.

## Suggested Questions
_Questions this graph is uniquely positioned to answer:_

- **Why does `App` connect `App` to `main`, `winapi_windows.go`, `Controller`, `Config`, `Server`, `Watcher`?**
_High betweenness centrality (0.095) - this node is a cross-community bridge._
- **Why does `Config` connect `Config` to `winapi_windows.go`, `App`, `T`, `Server`?**
_High betweenness centrality (0.072) - this node is a cross-community bridge._
- **Why does `properties` connect `properties` to `hotkey_enabled`, `items`, `config.schema.json`, `default`, `enabled`, `hotkey`, `theme`, `tray_icon`, `language`, `enum`, `taskbars`, `debounce_ms`, `poll_ms`, `refresh_ms`, `surfaces`, `xaml_fix`?**
_High betweenness centrality (0.050) - this node is a cross-community bridge._
- **Why does `App` connect `App` to `main`, `winapi_windows.go`, `Controller`, `window`, `Watcher`, `T`?**
_High betweenness centrality (0.082) - this node is a cross-community bridge._
- **Why does `Config` connect `T` to `winapi_windows.go`, `App`, `window`?**
_High betweenness centrality (0.077) - this node is a cross-community bridge._
- **Why does `T()` connect `T` to `winapi_windows.go`, `App`, `Controller`, `preview.go`, `window`, `autostart_windows.go`?**
_High betweenness centrality (0.052) - this node is a cross-community bridge._
- **Are the 2 inferred relationships involving `T()` (e.g. with `.syncMenu()` and `.t()`) actually correct?**
_`T()` has 2 INFERRED edges - model-reasoned connections that need verification._
- **What connects `$schema`, `$id`, `title` to the rest of the system?**
_162 weakly-connected nodes found - possible documentation gaps or missing edges._
_165 weakly-connected nodes found - possible documentation gaps or missing edges._
- **Should `winapi_windows.go` be split into smaller, more focused modules?**
_Cohesion score 0.11764705882352941 - nodes in this community are weakly interconnected._
_Cohesion score 0.10810810810810811 - nodes in this community are weakly interconnected._
- **Should `App` be split into smaller, more focused modules?**
_Cohesion score 0.061955965181771634 - nodes in this community are weakly interconnected._
- **Should `Controller` be split into smaller, more focused modules?**
_Cohesion score 0.07342995169082125 - nodes in this community are weakly interconnected._
_Cohesion score 0.06779661016949153 - nodes in this community are weakly interconnected._
Loading