modularlized rofi and kitty

This commit is contained in:
2025-09-26 12:24:07 -05:00
parent 6026656165
commit 5a9bd5a305
5 changed files with 53 additions and 95 deletions

36
modules/rofi/default.nix Normal file
View File

@@ -0,0 +1,36 @@
{pkgs, ... }:
{
programs.rofi.enable = true;
programs.rofi.extraConfig = {
show-icons = true;
drun-display-format = "{icon} {name}";
hide-scrollbar = true;
sidebar-mode = true;
dpi = 110;
font = "FreeSans Regular 12";
icon-theme = "Gruvbox-Plus-Dark";
};
programs.rofi.theme = {
window.height = 600;
window.width = 600;
window.border-radius = 10;
element = {
padding = 5;
border-radius = 10;
};
inputbar.padding = 14;
listview = {
padding = 8;
border-radius = "0 0 10 10";
border = "2 2 2 2";
dynamic = false;
};
"element-text element-icon" = {
size = 40;
margin = "0 10 0 0";
};
mainbox.children = "inputbar, message, listview";
mainbox.spacing = 0;
};
}