Add configuration for rofi

This commit is contained in:
Alexander Hess 2026-08-13 22:47:35 +02:00
commit b85c3e8f9a
Signed by: alexander
GPG key ID: B46EDB4DFC26805D
3 changed files with 137 additions and 0 deletions

48
.config/rofi/config.rasi Normal file
View file

@ -0,0 +1,48 @@
configuration {
/* Bound in ~/.config/gnome-settings/key-bindings.ini:
- <Super>space => drun
+ <Super>d
- <Super><Shift>space => run
+ <Super><Shift>d
- <Super>Tab => window
*/
modes: "combi,drun,window,run";
combi-modes: [ window, drun ];
combi-hide-mode-prefix: true;
font: "Adwaita Sans 12";
show-icons: true;
icon-theme: "Adwaita";
drun-display-format: "{name}";
window-format: "{w} {c} {t}";
matching: "fuzzy";
sort: true;
terminal: "/usr/bin/alacritty";
/* `vi`-style list navigation */
kb-row-down: "Down,Control+j";
kb-row-up: "Up,Control+k";
kb-mode-next: "Shift+Right,Control+l";
kb-mode-previous: "Shift+Left,Control+h";
kb-accept-entry: "Return,KP_Enter";
kb-cancel: "Escape,Control+bracketleft";
kb-remove-char-back: "BackSpace,Shift+BackSpace";
/* Defaults stripped of the keys taken over above */
kb-clear-line: "";
kb-mode-complete: "";
kb-remove-to-eol: "";
kb-row-select: "Tab"; /* Tab completes the selection into the input */
kb-element-next: ""; /* must be freed first - it owns Tab by default */
}
@theme "theme"