Add rofi combi mode

This commit is contained in:
Evie Litherland-Smith 2023-09-05 20:04:00 +01:00
parent 2ea2aff32d
commit 7f271191f3
2 changed files with 10 additions and 5 deletions

View file

@ -87,9 +87,9 @@ in ''
bind = SUPER SHIFT, P, exec, pkill rofi || ${rofiPackage}/bin/rofi -show power-menu bind = SUPER SHIFT, P, exec, pkill rofi || ${rofiPackage}/bin/rofi -show power-menu
# Common program shortcuts # Common program shortcuts
bind = SUPER, Space, exec, pkill rofi || ${rofiPackage}/bin/rofi -show drun bind = SUPER, Space, exec, pkill rofi || ${rofiPackage}/bin/rofi -show combi
bind = SUPER, Return, exec, ${pkgs.alacritty}/bin/alacritty bind = SUPER, Return, exec, ${pkgs.alacritty}/bin/alacritty
bind = SUPER SHIFT, Return, exec, pkill rofi || ${rofiPackage}/bin/rofi -show drun bind = SUPER SHIFT, Return, exec, pkill rofi || ${rofiPackage}/bin/rofi -show run
bind = SUPER ALT, Space, submap, launch bind = SUPER ALT, Space, submap, launch
bind = SUPER ALT, E, exec, ${emacsPackage}/bin/emacsclient -c -a 'emacs' bind = SUPER ALT, E, exec, ${emacsPackage}/bin/emacsclient -c -a 'emacs'

View file

@ -7,7 +7,9 @@ in {
location = "center"; location = "center";
pass.enable = true; pass.enable = true;
extraConfig = { extraConfig = {
modi = "run,drun,power-menu:${pkgs.rofi-power-menu}/bin/rofi-power-menu"; modi =
"window,run,drun,ssh,combi,power-menu:${pkgs.rofi-power-menu}/bin/rofi-power-menu";
combi-modi = "window,drun,ssh";
sort = true; sort = true;
sorting-method = "fzf"; sorting-method = "fzf";
matching = "fuzzy"; matching = "fuzzy";
@ -17,8 +19,11 @@ in {
drun-display-format = "{icon} {name}"; drun-display-format = "{icon} {name}";
disable-history = false; disable-history = false;
hide-scrollbar = true; hide-scrollbar = true;
display-run = " 󰅴 Commands "; display-window = " 󰧨 Move ";
display-drun = " 󱓞 Programs "; display-run = " 󰅴 Run ";
display-drun = " 󱓞 Launch ";
display-ssh = " 󰢹 SSH ";
display-combi = " 󰛡 Combi ";
}; };
theme = ./theme.rasi; theme = ./theme.rasi;
}; };