MirrorBar Plus 13: Claude and Grok flyout, clipboard history button, mp3 player

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JW57Zw8fvgzpeDkbUYT7sG
This commit is contained in:
Claude
2026-11-21 01:47:48 +00:00
parent 7ffd3c5e22
commit 3c58a4d8a5
13 changed files with 1187 additions and 8 deletions
+10 -1
View File
@@ -20,6 +20,9 @@ var (
showVolume = true
showWifi = true
showEmoji = true // the emoji panel button
showClip = true // the clipboard history button
showAI = true // the Claude and Grok button
showMusic = true // the mp3 player button
)
func featuresFile() string { return filepath.Join(dataDir(), "features.txt") }
@@ -58,12 +61,18 @@ func loadFeatures() {
showWifi = on
case "emoji":
showEmoji = on
case "clip":
showClip = on
case "ai":
showAI = on
case "music":
showMusic = on
}
}
}
func saveFeatures() {
s := "weather=" + b01(showWeather) + "\nnews=" + b01(showNews) + "\nsys=" + b01(showSys) + "\nmessages=" + b01(showGM) + "\npanelfade=" + b01(flyMatchBar) + "\ngroup=" + b01(groupWins) + "\nautohide=" + b01(autoHide) + "\nbattery=" + b01(showBattery) + "\nvolume=" + b01(showVolume) + "\nwifi=" + b01(showWifi) + "\nemoji=" + b01(showEmoji) + "\n"
s := "weather=" + b01(showWeather) + "\nnews=" + b01(showNews) + "\nsys=" + b01(showSys) + "\nmessages=" + b01(showGM) + "\npanelfade=" + b01(flyMatchBar) + "\ngroup=" + b01(groupWins) + "\nautohide=" + b01(autoHide) + "\nbattery=" + b01(showBattery) + "\nvolume=" + b01(showVolume) + "\nwifi=" + b01(showWifi) + "\nemoji=" + b01(showEmoji) + "\nclip=" + b01(showClip) + "\nai=" + b01(showAI) + "\nmusic=" + b01(showMusic) + "\n"
_ = os.MkdirAll(dataDir(), 0o755)
_ = os.WriteFile(featuresFile(), []byte(s), 0o644)
}