Use rofi as an app launcher (for now)

This commit is contained in:
2025-12-09 16:48:44 +01:00
parent 000da95dff
commit afde180560
3 changed files with 175 additions and 0 deletions
+38
View File
@@ -0,0 +1,38 @@
{ ... }:
{
programs.rofi = {
enable = true;
font = "JetBrainsMono Nerd Font 11";
theme = ./tokyonight.rasi;
extraConfig = {
modi = [
"drun"
"window"
"run"
];
icon-theme = "Papirus-Dark";
show-icons = true;
terminal = "kitty";
drun-display-format = "{icon} {name}";
location = 0;
disable-history = false;
sidebar-mode = false;
display-drun = " ";
display-run = " ";
display-window = " ";
kb-row-up = "Up,Control+k";
kb-row-left = "Left,Control+h";
kb-row-right = "Right,Control+l";
kb-row-down = "Down,Control+j";
kb-accept-entry = "Return";
# remove clashing keybinds
kb-remove-to-eol = "";
kb-move-char-back = "Control+b";
kb-remove-char-back = "BackSpace";
kb-move-char-forward = "Control+f";
kb-mode-complete = "Control+o";
};
};
}