Style tooltips and drop the Dictate tile
Claude-Session: https://claude.ai/code/session_014ADhvRXuiTvrXSbConxUey
This commit is contained in:
@@ -408,6 +408,22 @@
|
||||
color: @foreground;
|
||||
}
|
||||
|
||||
tooltip,
|
||||
tooltip.background {
|
||||
background-color: #000000;
|
||||
border: 1px solid alpha(@foreground, 0.25);
|
||||
border-radius: 0;
|
||||
color: @foreground;
|
||||
}
|
||||
|
||||
tooltip label,
|
||||
tooltip.background label {
|
||||
color: @foreground;
|
||||
background-color: transparent;
|
||||
font-size: 12px;
|
||||
padding: 4px 6px;
|
||||
}
|
||||
|
||||
.qs-side-panel {
|
||||
min-width: 280px;
|
||||
}
|
||||
|
||||
@@ -57,11 +57,6 @@ const [stayAwake, setStayAwake] = pollBool(
|
||||
2000,
|
||||
)
|
||||
|
||||
const [dictating] = pollBool(
|
||||
"omarchy-voxtype-status 2>/dev/null | grep -q recording && echo on || echo off",
|
||||
2000,
|
||||
)
|
||||
|
||||
const [recording] = pollBool(
|
||||
"pgrep -f '^gpu-screen-recorder' >/dev/null && echo on || echo off",
|
||||
2000,
|
||||
@@ -214,13 +209,6 @@ function Toggles() {
|
||||
sh("omarchy-toggle-idle toggle")
|
||||
}}
|
||||
/>
|
||||
<Tile
|
||||
icon={""}
|
||||
label="Dictate"
|
||||
active={dictating}
|
||||
tooltip={dictating.as((on: boolean) => (on ? "Stop dictation" : "Start voxtype dictation"))}
|
||||
onClicked={() => sh("voxtype record toggle")}
|
||||
/>
|
||||
<Tile icon={""} label="Pick Color" onClicked={() => { closePanel(); sh("hyprpicker -a") }} />
|
||||
<Tile
|
||||
icon={""}
|
||||
|
||||
+1
-1
@@ -14,7 +14,7 @@ Ported from the old `waybar/config.jsonc`, section for section:
|
||||
| `hyprland/workspaces` | `blob.workspaces` (cloned plugin) |
|
||||
| `clock` | `blob.clock` (custom module) |
|
||||
| `custom/update` | `omarchy.system-update` |
|
||||
| `custom/voxtype` | AGS quick settings -> Dictate tile |
|
||||
| `custom/voxtype` | dropped (voxtype is not installed) |
|
||||
| `custom/screenrecording-indicator` | AGS quick settings -> Record tile |
|
||||
| `custom/idle-indicator` | AGS quick settings -> Stay Awake tile |
|
||||
| `custom/notification-silencing-indicator` | AGS quick settings -> Silence tile |
|
||||
|
||||
Reference in New Issue
Block a user