{ config, pkgs, ... }: let hidpiExtraConfig = if config.custom.hidpi then { dpi = 160; } else { }; in { programs.rofi = { enable = true; location = "top"; font = "Iosevka 12"; separator = "none"; scrollbar = false; borderWidth = 6; yoffset = -6; colors = { window = { background = "#222222"; border = "#aadb0f"; separator = "#000000"; }; rows = { normal = { background = "#222222"; foreground = "#8e8e8e"; backgroundAlt = "#161616"; highlight = { background = "#111111"; foreground = "#aadb0f"; }; }; active = { background = "#222222"; foreground = "#8e8e8e"; backgroundAlt = "#161616"; highlight = { background = "#111111"; foreground = "#aadb0f"; }; }; urgent = { background = "#222222"; foreground = "#dc322f"; backgroundAlt = "#161616"; highlight = { background = "#dc322f"; foreground = "#161616"; }; }; }; }; extraConfig = { modi = "combi"; combi-modi = "windowcd,drun,ssh"; terminal = "kitty"; ssh-command = "{terminal} {ssh-client} {host}"; } // hidpiExtraConfig; }; }