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:
@@ -98,6 +98,9 @@ in
|
||||
animation = [
|
||||
"windows, 1, 3, ease"
|
||||
"fade, 1, 3, ease"
|
||||
# Layer surfaces like the launcher appear quicker than windows.
|
||||
"layersIn, 1, 2, ease"
|
||||
"fadeLayersIn, 1, 2, ease"
|
||||
"workspaces, 1, 3, ease"
|
||||
"border, 1, 3, ease"
|
||||
];
|
||||
|
||||
@@ -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}"
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user