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={""}
|
||||
|
||||
Reference in New Issue
Block a user