aboutsummaryrefslogtreecommitdiff
path: root/gui/rofi.nix
blob: 422aa04557cb8931c549fb50fb7c3d448fee01c5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
{ config, pkgs, ... }:

{
  programs.rofi = {
    enable = true;
    location = "top";
    font = "Iosevka 12";

    theme = let
      inherit (config.lib.formats.rasi) mkLiteral;
    in {
      " @import" = "default";
      "*" = {
        background = mkLiteral "#222222";
        foreground = mkLiteral "#F2F2F2";
        lightbg = mkLiteral "#161616";
        lightfg = mkLiteral "#F2F2F2";
        blue = mkLiteral "#aadb0f";
      };
      window = {
        border   =  6;
        y-offset = -6;
        border-color = mkLiteral "#aadb0f";
      };
    };

    extraConfig = {
      modi       = "combi";
      combi-modi = "windowcd,drun,ssh";
      terminal = "kitty";
      ssh-command = "{terminal} {ssh-client} {host}";
    };
  };
}