summaryrefslogtreecommitdiffstats
path: root/.config/rofi/sidebar.rasi
blob: 87ea53557105043c5981065982a06d671416e361 (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
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
/**
 * User: deadguy
 * Copyright: deadguy
 */

configuration {
        display-drun:    "act";
        display-run:     "run";
        display-window:  "win";
        show-icons:      true;
        sidebar-mode:    true;
}

* {
        background-color:            #2e3440;
        text-color:                  #d8dee9;
        selbg:                       #88c0d0;
        actbg:                       #d08770;
        urgbg:                       #bf616a;
        winbg:                       #e5e0f0;

        selected-normal-foreground:  @winbg;
        selected-normal-background:  @actbg;

        normal-foreground:           @text-color;
        normal-background:           @background-color;

        selected-urgent-foreground:  @background-color;
        selected-urgent-background:  @urgbg;

        urgent-foreground:           @text-color;
        urgent-background:           @background-color;

        selected-active-foreground:  @winbg;
        selected-active-background:  @actbg;

        active-foreground:           @text-color;
        active-background:           @selbg;

        line-margin:                 2;
        line-padding:                2;
        separator-style:             "none";
        hide-scrollbar:              "true";
        margin:                      0;
        padding:                     0;
        font:                        "Fira Code 12";

}

window {
        location:        west;
        anchor:          west;
        height:          100%;
        width:           22%;
        orientation: horizontal;
        children:        [mainbox];
}

mainbox {
        spacing:  0.8em;
        children: [ entry,listview,sidebar ];
}

button { padding: 5px 2px; }

button selected {
        background-color: @active-background;
        text-color:       @background-color;
}

inputbar {
        padding: 5px;
        spacing: 5px;
}

listview {
        spacing: 0.5em;
        dynamic: false;
        cycle:   true;
}

element { padding: 10px; }

entry {
        expand:         false;
        text-color:     @normal-foreground;
        vertical-align: 1;
        padding:        5px;
}

element normal.normal {
        background-color: @normal-background;
        text-color:       @normal-foreground;
}

element normal.urgent {
        background-color: @urgent-background;
        text-color:       @urgent-foreground;
}

element normal.active {
        background-color: @active-background;
        text-color:       @active-foreground;
}

element selected.normal {
        background-color: @selected-normal-background;
        text-color:       @selected-normal-foreground;
        border:           0 5px solid 0 0;
        border-color:       @active-background;
}

element selected.urgent {
        background-color: @selected-urgent-background;
        text-color:       @selected-urgent-foreground;
}

element selected.active {
        background-color: @selected-active-background;
        text-color:       @selected-active-foreground;
}

element alternate.normal {
        background-color: @normal-background;
        text-color:       @normal-foreground;
}

element alternate.urgent {
        background-color: @urgent-background;
        text-color:       @urgent-foreground;
}

element alternate.active {
        background-color: @active-background;
        text-color:       @active-foreground;
}