feat(menu): Google web search; note calc rework in the roadmap
The web module now opens google.com/search instead of DuckDuckGo. Also log a roadmap item to rework calc: qalc -t misparses common phrasings (15% of 200 -> rem(15, 1 B)) and the result only shows in the next menu's -mesg line -- move toward live results as you type. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
11
README.md
11
README.md
@@ -272,7 +272,7 @@ close · `SUPER+1..9` workspaces · `Print` region screenshot.
|
||||
`nomarchy-menu` dispatcher: root picker (no args) · `power`
|
||||
(lock/logout/suspend/hibernate/reboot/shutdown, SUPER+X) ·
|
||||
`theme` (SUPER+T) · `clipboard` (cliphist, SUPER+CTRL+V) · `calc`
|
||||
(qalc, copy/chain) · `files` (fd → xdg-open) · `web` (DuckDuckGo).
|
||||
(qalc, copy/chain) · `files` (fd → xdg-open) · `web` (Google).
|
||||
SUPER+D is `rofi -show drun`.
|
||||
- ✓ shipped modules: `network` (nmtui in `$TERMINAL`) · `bluetooth`
|
||||
(blueman-manager) · `capture` (grim/slurp submenu: region/full →
|
||||
@@ -294,6 +294,15 @@ close · `SUPER+1..9` workspaces · `Print` region screenshot.
|
||||
launcher, no second theming pipeline; the dispatcher owns the menu
|
||||
structure, so the renderer stays swappable (we moved fuzzel → rofi 2.0
|
||||
once mainline gained native Wayland, for its richer theming)
|
||||
- **Calculator module rework:** the current `calc` flow
|
||||
(`modules/home/rofi.nix`) is unsatisfying — you commit the expression
|
||||
blind, then the result only appears in the *next* menu's `-mesg` line,
|
||||
and `qalc -t` misparses common phrasings (e.g. `15% of 200` →
|
||||
`rem(15, 1 B)` instead of `30`). Rework toward live results as you type
|
||||
(rofi-calc-style: each keystroke re-evaluates and the answer is the top
|
||||
entry, Enter copies), a more robust qalc invocation, and graceful
|
||||
handling of parse errors. Decide whether to keep the hand-rolled dmenu
|
||||
loop or adopt a dedicated calc mode/plugin.
|
||||
- **Theme parity with legacy:** summer-day/night now carry their legacy
|
||||
bar layouts as `waybar.jsonc` whole-swaps (adapted: dead legacy script
|
||||
modules dropped, Nerd-Fonts-v2 codepoints remapped to FontAwesome/v3,
|
||||
|
||||
@@ -106,7 +106,7 @@ let
|
||||
web)
|
||||
q=$(rofi -dmenu -p search < /dev/null) || exit 0
|
||||
[ -n "$q" ] || exit 0
|
||||
exec xdg-open "https://duckduckgo.com/?q=$(urlencode "$q")" ;;
|
||||
exec xdg-open "https://www.google.com/search?q=$(urlencode "$q")" ;;
|
||||
|
||||
network)
|
||||
# nmtui in a terminal (NetworkManager is the system network stack).
|
||||
|
||||
Reference in New Issue
Block a user