feat(quickshell): replace fuzzel with an in-process launcher

fuzzel could only answer "which app", so launching Brave at a URL meant
picking the app, waiting for it, then typing the address somewhere else.
The launcher now takes a verb and an object in one line: type
`gitlab.enqs.de` and every app that can open it sorts to the top, default
browser first, ready for Enter — or arrow/hjkl down to Brave's New
Incognito Window, which is offered as a peer of Brave itself rather than
hidden behind a submenu.

services/Apps.qml is the brain and holds no UI: it flattens desktop
entries and their actions into one index, classifies the typed argument
(url / mail / path), ranks by fuzzy match plus handler affinity plus
frecency, and launches. Launching through `uwsm app` keeps each app in its
own scope; entries whose Exec declares no field code (Brave's
`--incognito` action, among others) are launched by tokenising Exec per
the Desktop Entry spec and appending the argument, never via `sh -c`.

Four prefixes reuse the same window, so there is one picker and one set of
keys: `>` runs a command, `=` evaluates arithmetic, `:` is clipboard
history (cliphist, which had been a second fuzzel invocation), and a
dmenu mode is driven over IPC.

quickshell/scripts/takemi-dmenu is the bridge for that last one — a
`fuzzel --dmenu` drop-in for scripts that want a picker, symlinked into
~/.local/bin. fluxo's bt menu now goes through it.

Living in the Quickshell process means the window is on screen on the
frame the bind fires, with no process to spawn.

Removes fuzzel entirely: its config, its theme submodule, the package,
and the last consumers (the bar sigil, fluxo's menu_command). Also drops
hypr/scripts/powermenu.sh, which was fuzzel-based and bound to nothing.
This commit is contained in:
nvrl committed 2026-09-16 15:46:51 +02:00
1 parent 9e73c1338f
commit 35048ae283
18 files changed
+1287 -91

No files matched your search

+13 -5
View File
@@ -3,13 +3,21 @@
return {
terminal = "alacritty",
fileManager = "nautilus",
menu = "fuzzel",
-- The launcher lives in the Quickshell process (quickshell/launcher/), so
-- the bind toggles it over IPC instead of spawning anything. Nothing to
-- start up means it is on screen on the same frame as the keypress.
menu = "qs ipc call shell launcher",
-- clipboard history picker
clipboard = "cliphist list | fuzzel --dmenu | cliphist decode | wl-copy",
-- Clipboard history. Opens the launcher already in its ":" mode, which
-- reads cliphist itself and copies the chosen entry back — so the picker is
-- the same window, with the same keys, as everything else.
clipboard = "qs ipc call shell prompt :",
-- pdf picker
pdfs = "pdfs-prompt --dmenu --menu 'fuzzel --dmenu --width 60'",
-- Proton Drive search. --fzf re-queries the daemon on every keystroke, so
-- results appear as you type; a dmenu could only filter a list it was
-- handed once, which made searching a two-step. It spawns its own terminal
-- (class pdfs-prompt, floated in lua/rules/windows.lua).
pdfs = "pdfs-prompt --fzf",
-- bluetooth menu
bluetooth = "fluxo bt menu",
+2 -2
View File
@@ -1,10 +1,10 @@
-- https://wiki.hypr.land/Configuring/Basics/Window-Rules/#layer-rules
--
-- Quickshell surfaces (bar, popouts, OSD) and the fuzzel launcher. Note
-- Quickshell surfaces: the bar, popouts, the OSD and the launcher. Note
-- decoration.blur is off in lua/look.lua, so these only take effect if blur is
-- switched back on.
for _, namespace in ipairs({ "bottom", "top", "launcher" }) do
for _, namespace in ipairs({ "bottom", "top", "takemi-launcher" }) do
hl.layer_rule({
match = { namespace = namespace },
blur = true,
-18
View File
@@ -1,18 +0,0 @@
#!/bin/bash
options="Shutdown\nReboot\nLock\nLogout"
selected=$(echo -e $options | fuzzel --dmenu --prompt='Power:')
case $selected in
"Shutdown")
systemctl poweroff
;;
"Reboot")
systemctl reboot
;;
"Lock")
hyprlock
;;
"Logout")
hyprctl dispatch exit
;;
esac