feat(desktop): fold calc into combi and rebind the power menu (task 0024)

Move the calc mode into the combi prompt so math results show inline
alongside apps, leaving emoji as the one tab-away mode. Rebind the
power menu from Super+Escape to Super+Shift+X, pairing it with lock on
Super+X. Shorten the layer fade-in so the launcher appears quicker.
This commit is contained in:
2026-07-22 16:04:03 -04:00
parent 2f98344e91
commit 05044de33e
3 changed files with 12 additions and 9 deletions

View File

@@ -41,11 +41,11 @@ in
enable = true;
package = rofiPkg;
# drun, run and window merge into one prompt through combi.
# calc and emoji are the other two modes the same window tabs between.
# drun, run, window and calc share one prompt through combi.
# emoji is the separate mode the same window tabs to.
extraConfig = {
modi = "combi,calc,emoji";
combi-modi = "drun,run,window";
modi = "combi,emoji";
combi-modi = "drun,run,window,calc";
show-icons = true;
};
};
@@ -54,7 +54,7 @@ in
# $mod is defined by the compositor config these binds share.
wayland.windowManager.hyprland.settings.bind = [
"$mod, R, exec, ${rofiPkg}/bin/rofi -show combi"
"$mod, Escape, exec, ${powerMenu}"
"$mod SHIFT, X, exec, ${powerMenu}"
];
};
};