feat(menu): adopt rofi plugins for calc, files, emoji
Replace the hand-rolled calc/files modules with purpose-built rofi modi (via programs.rofi.plugins) and add an emoji picker — all themed through the same .rasi as every other modi: - calc -> rofi-calc: live results as you type via libqalculate directly, which also dodges the qalc CLI's "15% of 200" -> rem(15, 1 B) misparse. Enter copies; the menu persists to chain calculations. Drops the libqalculate (qalc CLI) dependency. - files -> rofi-file-browser-extended: live directory navigation + xdg-open, replacing the flat 50k-cap `fd` dump of $HOME. yazi (SUPER+E) stays the power browser; `fd` already ships via shell.nix. - emoji -> rofi-emoji (new module): glyph picker, copies through the plugin's Wayland clipboard adapter. Bound to SUPER+CTRL+E in keybinds.nix (so it lands in the SUPER+? cheatsheet too). rofi 2.0 rebuilds cleanly with all three plugin .so (ABI-matched, same nixpkgs). README roadmap updated: calc rework marked shipped, with a follow-up item for the script-based plugins (network/secrets/audio). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -41,7 +41,8 @@
|
||||
{ mods = "$mod CTRL"; key = "V"; action = "exec, nomarchy-menu clipboard"; desc = "Clipboard history"; }
|
||||
{ mods = "$mod CTRL"; key = "C"; action = "exec, nomarchy-menu calc"; desc = "Calculator"; }
|
||||
{ mods = "$mod CTRL"; key = "W"; action = "exec, nomarchy-menu web"; desc = "Web search"; }
|
||||
{ mods = "$mod CTRL"; key = "F"; action = "exec, nomarchy-menu files"; desc = "File search"; }
|
||||
{ mods = "$mod CTRL"; key = "F"; action = "exec, nomarchy-menu files"; desc = "File browser"; }
|
||||
{ mods = "$mod CTRL"; key = "E"; action = "exec, nomarchy-menu emoji"; desc = "Emoji picker"; }
|
||||
{ mods = "$mod CTRL"; key = "N"; action = "exec, nomarchy-menu network"; desc = "Network (nmtui)"; }
|
||||
{ mods = "$mod CTRL"; key = "B"; action = "exec, nomarchy-menu bluetooth"; desc = "Bluetooth"; }
|
||||
{ mods = "$mod CTRL"; key = "S"; action = "exec, nomarchy-menu capture"; desc = "Screenshot / capture"; }
|
||||
|
||||
Reference in New Issue
Block a user