about summary refs log tree commit diff
path: root/users/fcuny/desktop/wm/launcher.nix
blob: 9b0b7a3679a662aefe5c98bbbba947594106ba67 (plain) (blame)
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
{ pkgs, config, ... }:

{
  home.packages = with pkgs; [ wofi ];

  xdg.configFile."wofi/config".text = ''
    allow_images=true
    image_size=20px
    drun-display_generic=true
    dynamic_lines=true
  '';

  xdg.configFile."wofi/style.css".text = ''
    *{
      font-family: monospace;
    }

    window {
      color: #5E81AC;
      background-color: rgba(27, 27, 28, 0.92);
      border: 2px solid #75d5ff;
    }

    #input {
      margin: 10px 0px;
      border-radius: 0px;
      border: none;
      background: transparent;
      color: white;
    }

    #inner-box {
      background-color: transparent;
    }

    #outer-box {
      margin: 0px;
      padding:5px;
      background-color: transparent;
    }

    #text {
      padding: 5px;
      color: white;
    }

    #entry:selected {
      color: #75d5ff;
      background-color: transparent;
      border: 0px;
    }

    #text:selected {
      color: #75d5ff;
      background-color: transparent;
    }
  '';
}