all repos — nixfiles @ 40fd4964068d0b7628b6f699dab4aec200eadb0a

System and user configuration, managed by nix and home-manager

user/modules/rofi.nix (view raw)

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
{ config, pkgs, ... }:

{
  xdg.configFile."networkmanager-dmenu/config.ini".text = ''
    [dmenu]
    dmenu_command = /run/current-system/sw/bin/rofi

    [editor]
    terminal = xst
    gui_if_available = false
  '';
  programs.rofi = {
    enable = true;
    extraConfig = ''
      rofi.matching:            glob
      rofi.separator-style:     none

      rofi.line-padding:        2

      rofi.display-run:         cmd
      rofi.display-drun:        run
      rofi.display-window:      win
    '';
  };
}