summary refs log tree commit diff stats
path: root/user/settings/rofi.nix
blob: 35d50a9133152cdf03fe393d92dc918533f8988f (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
{ config
, lib
, pkgs
, ...
}: {
  xdg.configFile."networkmanager-dmenu/config.ini".text = ''
    [dmenu]
    dmenu_command = ${pkgs.rofi}/bin/dmenu

    [editor]
    terminal = ${config.home.sessionVariables.TERMINAL}
    gui_if_available = false
  '';

  programs.rofi = {
    enable = true;
    theme = "Arc";
    extraConfig = {
      matching = "glob";
      separator-style = "none";
      modi = "drun,run";
      line-padding = "2";
      display-run = "cmd";
      display-drun = "run";
      display-window = "win";
    };
  };
}