summaryrefslogtreecommitdiff
path: root/home/apps/rofi/config.rasi
blob: 8d8b1a4ff87ddfa61a9e625c4ce522bf2b0d9a25 (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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
configuration {
    modi: "drun";
    drun-match-fields: "name";
    matching: "glob";
    sort: true;
    show-icons: true;
    font: "JetBrainsMono Nerd Font 10";
}

@theme "~/.config/rofi/theme.rasi"

window {
    height: 30em;
    width: 57em;
    padding: @border-width;
    background-color: @primary;
    border-color: @primary;
    border-radius: @outer-radius;
}

mainbox {
    orientation: horizontal;
    children: [ "inputbar" , "listbox" ];
    background-color: @base;
    border-radius: @outer-radius;
}

inputbar {
    width: 27em;
    children: [ "entry" ];
    background-image: @background;
}

entry {
    enabled: false;
}

listbox {
    margin: 1em;
    children: [ "dummy" , "listview" , "dummy" ];
    background-color: transparent;
}

listview {
    columns: 1;
    lines: 7;
    scrollbar: false;
    expand: false;
    fixed-height: true;
    fixed-columns: true;
    text-color: @text;
    background-color: transparent;
}

dummy {
    background-color: transparent;
}

element {
    spacing: 1em;
    padding: 0.5em 0.5em 0.5em 1.5em;
    cursor: pointer;
    text-color: @text;
    background-color: transparent;
    border-radius: @inner-radius;
}

element selected.normal {
    text-color: @surface;
    background-color: @primary;
}

element-icon {
    size: 2.7em;
    cursor: inherit;
    text-color: inherit;
    background-color: transparent;
}

element-text {
    vertical-align: 0.5;
    horizontal-align: 0.0;
    text-color: inherit;
    background-color: transparent;
}

error-message {
    text-color: @text;
    background-color: @base;
    text-transform: capitalize;
    children: [ "textbox" ];
}

textbox {
    text-color: @error;
    background-color: inherit;
    vertical-align: 0.5;
    horizontal-align: 0.5;
}