redid rofi

This commit is contained in:
2025-09-26 18:19:37 -05:00
parent 5a9bd5a305
commit 28b44e1f14
2 changed files with 13 additions and 6 deletions

View File

@@ -1,4 +1,4 @@
{pkgs, ... }:
{pkgs, lib, config, ... }:
{
programs.rofi.enable = true;
programs.rofi.extraConfig = {
@@ -8,21 +8,20 @@
sidebar-mode = true;
dpi = 110;
font = "FreeSans Regular 12";
icon-theme = "Gruvbox-Plus-Dark";
};
programs.rofi.theme = {
programs.rofi.theme = lib.mkAfter {
window.height = 600;
window.width = 600;
window.border-radius = 10;
window.border-radius = 0;
element = {
padding = 5;
border-radius = 10;
border-radius = 0;
};
inputbar.padding = 14;
listview = {
padding = 8;
border-radius = "0 0 10 10";
border-radius = "0 0 0 0";
border = "2 2 2 2";
dynamic = false;
};
@@ -30,6 +29,12 @@
size = 40;
margin = "0 10 0 0";
};
"element selected.normal" = {
background-color = lib.mkForce "@normal-background";
};
"element alternate.normal" = {
background-color = lib.mkForce "@normal-background";
};
mainbox.children = "inputbar, message, listview";
mainbox.spacing = 0;
};