Repository navigation
Releases
Releases · bphenriques/quick-key
v0.27.0-beta.16
A fix from daily use.
Fixed
RETruns the row the arrow cursor is on, a capital's too: Power off, Reboot and a top-levelAran only onS-RET, and nothing said so. Moving the cursor there is the deliberate step, as in any session menu; a capital's own key still takes Shift.
v0.27.0-beta.15
The next event at a glance.
Added
- The
calendarstatus has amorefield: how many of today's timed events start after the one it shows, as+2, and nothing when none do. Right of the clock,{ desc = "Next"; status = "calendar"; format = "{when} {title}|{more}"; }reads "14:00 Design review +2"; a crowded bar shortens the title and keeps the count, the whole line on hover.
v0.27.0-beta.14
Two fixes from daily use.
Changed
- The bar's left shows only the actions of the island with the cursor, so it stays minimal as the menu opens. Keys still act on whichever island shows them (with tasks pinned,
2andswork at open), and?lists the actions of an island without the cursor.
Fixed
- The brightness pop-up no longer shows as the shell starts: brightness is ready once its level and the outputs have been read.
v0.27.0-beta.13
Keys between islands, from first daily use.
Changed
- The islands on screen share one key map: a key goes to the island that shows it, wherever the cursor is. With tasks pinned at the top,
2ticks the second task andssorts them as the menu opens, whileastill opens Audio output; no key sits dead. TABgoes round the inputs on screen (Ask's, then a pinned level's "Add a task…"), then back to the rows;S-TABthe other way.↑↓past an island's first or last row move the cursor onto the island beside it;←→never cross.- The bar's left holds every island's actions, so it holds still as the cursor moves, and names a key only on the island it reaches. Ctrl reaches the bar wherever the keys are.
?lists each pinned level's key.- The check refuses two things on one key on one screen: a pinned level's letter on a body letter, two pinned lists on a level, a pinned row on a bar key with Ctrl, a row on a key its view takes.
Under the hood
- Keys are data:
keymap.jsbuilds the menu's key table per mode, and one router dispatches through it;?, the legends and the check read the same table.
v0.27.0-beta.12
The menu as a layout of islands, and fixes found while building it.
Changed (rename your config)
menu.headeris nowmenu.bar, an entry'sheaderis nowbar, andmenu.islandsis nowmenu.splitBar. The check says what to write instead.
Added
menu.layoutlists the menu's islands top to bottom, the last against the screen's edge:input,body(where levels draw),bar, and pinned levels. The default,[ "input" "body" "bar" ], looks as before.- A pinned level,
{ level = "t"; }, shows that top-level entry on an island of its own, its row leaving the body: tasks above the menu, say. Its key or a click gives it the keys, and the bar's left side follows them;ESCgives them back to the body. A pinned level shows only on the level that pins it. - An entry may set its own
layout, which holds untilESCleaves its level. heighton a level (andmenu.height): the rows its body holds at least, so shorter levels stop moving what lies above.limiton a pinned list: the rows it shows,0listing the rest.
Behaviour
- An island the layout lists holds its place while the menu is open: one with nothing shows empty, and only islands at the far end stay out. Session, Music and other bare levels now keep a bar, showing
? keys. - A crowded bar shows an action by its glyph alone, its value in the tip.
- Ask notifies, and marks unread, an answer that finishes while its input is hidden by a pinned level or another panel, and clears it once shown.
Fixed
- Adding a task works again: the tasks input spun and refused adds since beta.10.
- Ask's conversation is per level and is no longer left running or swallowed as levels and layouts change.
v0.27.0-beta.11
Arrow keys across every menu, from a cursor the UI kit now owns.
Changed
- The arrow cursor moves over a menu's rows too (the top level, Session, a device's actions), as laid out:
↓↑a row,←→a column, wherever the level leaves that pair free.RETruns the row as its key would. - A row whose key takes Shift (Reboot, Power off,
A) runs from the cursor only onS-RET, never onRET. ESCback to a level finds the cursor on the row you left, and leaving the filter keeps the row its arrows reached.?names↑↓←→,RETandS-RETwhere they act.- The cursor is a kit piece (
Cursor, with its moves incursor.js), so a plugin's surface can use it as is.
Fixed
- A level without a bar no longer grows one when its cursor shows, and the top bar holds still as the cursor moves: the
REThint shows on lists only.
v0.27.0-beta.10
Tasks under fast presses, arrow keys on lists, and a check that rejects only what cannot work.
Changed
↑↓move a cursor on a list level whose entries bind neither arrow;RETruns its item andM-RETopens its menu. Digits keep their items and a key path never goes through the cursor.- The starter's volume steps on
←→, freeing↑↓on the device levels. A config that binds↓↑keeps them. - A held letter or digit acts once; a held pair still repeats.
- The check no longer asks a row for an icon, nor a bar entry for more than its text.
Fixed
- Ticking and unticking a task quickly no longer turns it red. todoman numbers a task anew on every write, so a queued press carried a stale id; a task's id is now its title (todoman's number only between same-titled tasks), and a tick acts on the task of its title. Every refusal stays: two tasks of one title, a series, a task already done or gone.
- A burst of presses on one task writes at most once running and once queued, and the row no longer flickers after the last press.
- The wheel steps a pair on any keys; over Apps' volume and the Track row it did nothing.
- A task titled like a JavaScript built-in (
constructor) no longer reads as pending.
Docs
- A
filesource's writer should replace the file by a rename. - A bar entry with no status or icon shows its text, dimmed.
v0.27.0-beta.9
Two small follow-ups to beta.8.
Fixed
- A bar status cut to fit, such as the clock beside a long centre, shows its full value in a tip on hover.
Docs
- A recipe shows the built-in brightness and power profiles, which need no command.
v0.27.0-beta.8
A review round: fixes, cuts and docs, no new features.
Removed
- A plugin's
every: areadsource is read as the menu opens, as rule 3 says for every setting. A config that sets it fails the check. - The
pickaction:/filters every list level. - A plugin's state-line
kind, which no surface read.
Fixed
- An approval shows the agent's command exactly as sent. It went through Markdown, so
*and link syntax could hide part of the command. - A held
C-yno longer answers the approval queued behind the one shown. - A bar entry showing only a plugin's status takes a click, as its Ctrl key did.
- A bar with a centre slot settles at small font sizes; it looped its layout and opened blank.
- A row's label stays whole beside its value, and a long detail stays inside the card.
- Hover lights only what takes a click.
calendar.remindBefore: 0reminds at the event's start; it never reminded.- Near a change to summer time, an event a week on no longer reads as this week's weekday.
- A fractional stylix font size no longer fails the build: it is rounded.
- A glyph list given as another kind fails the check; it passed and drew a broken glyph.
- A plugin may be named
notifications;menuanddrafts, which the shell uses itself, are refused. - The module's check sees in-store theme files, so it no longer warns that a stylix or user theme is missing.
- Check messages read "is removed" and "neither built in nor".
Docs
- The introduction and getting started lead with key paths as bindings (
menu press "a 2"). - Every recipe passes the check as pasted, now a flake check; six recipes fixed, their images retaken.
- The plugin API lists everything the shipped plugins use, with the imports and a template to copy.
v0.27.0-beta.7
A fix from daily use.
Fixed
- The pop-up and the corner pills no longer flash a block of blurred wallpaper as they fade in. A compositor blurs behind a surface at full strength from its first frame (niri from the wallpaper), so the blur now waits for the fade in and goes as the fade out starts.