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
# 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 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, E, exec, ${emacsPackage}/bin/emacsclient -c -a 'emacs'

View file

@ -7,7 +7,9 @@ in {
location = "center";
pass.enable = true;
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;
sorting-method = "fzf";
matching = "fuzzy";
@ -17,8 +19,11 @@ in {
drun-display-format = "{icon} {name}";
disable-history = false;
hide-scrollbar = true;
display-run = " 󰅴 Commands ";
display-drun = " 󱓞 Programs ";
display-window = " 󰧨 Move ";
display-run = " 󰅴 Run ";
display-drun = " 󱓞 Launch ";
display-ssh = " 󰢹 SSH ";
display-combi = " 󰛡 Combi ";
};
theme = ./theme.rasi;
};