-
Notifications
You must be signed in to change notification settings - Fork 54
/
Copy pathrofi.nix
130 lines (113 loc) · 2.53 KB
/
rofi.nix
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
{ pkgs, ... }:
{
home.packages = (with pkgs; [ rofi-wayland ]);
xdg.configFile."rofi/theme.rasi".text = ''
* {
bg-col: #1D2021;
bg-col-light: #282828;
border-col: #A89984;
selected-col: #3C3836;
green: #98971A;
fg-col: #FBF1C7;
fg-col2: #EBDBB2;
grey: #BDAE93;
highlight: @green;
}
'';
xdg.configFile."rofi/config.rasi".text = ''
configuration{
modi: "run,drun,window";
lines: 5;
cycle: false;
font: "JetBrainsMono NF Bold 15";
show-icons: true;
icon-theme: "Papirus-dark";
terminal: "ghostty";
drun-display-format: "{icon} {name}";
location: 0;
disable-history: true;
hide-scrollbar: true;
display-drun: " Apps ";
display-run: " Run ";
display-window: " Window ";
/* display-Network: " Network"; */
sidebar-mode: true;
sorting-method: "fzf";
}
@theme "theme"
element-text, element-icon , mode-switcher {
background-color: inherit;
text-color: inherit;
}
window {
height: 600px;
width: 900px;
border: 2px;
border-color: @border-col;
background-color: @bg-col;
}
mainbox {
background-color: @bg-col;
}
inputbar {
children: [prompt,entry];
background-color: @bg-col-light;
border-radius: 5px;
padding: 0px;
}
prompt {
background-color: @green;
padding: 4px;
text-color: @bg-col-light;
border-radius: 3px;
margin: 10px 0px 10px 10px;
}
textbox-prompt-colon {
expand: false;
str: ":";
}
entry {
padding: 6px;
margin: 10px 10px 10px 5px;
text-color: @fg-col;
background-color: @bg-col;
border-radius: 3px;
}
listview {
border: 0px 0px 0px;
padding: 6px 0px 0px;
margin: 10px 0px 0px 6px;
columns: 3;
background-color: @bg-col;
cycle: true;
}
element {
padding: 8px;
margin: 0px 10px 4px 4px;
background-color: @bg-col;
text-color: @fg-col;
}
element-icon {
size: 28px;
}
element selected {
background-color: @selected-col ;
text-color: @fg-col2 ;
border-radius: 3px;
}
mode-switcher {
spacing: 0;
}
button {
padding: 10px;
background-color: @bg-col-light;
text-color: @grey;
vertical-align: 0.5;
horizontal-align: 0.5;
}
button selected {
background-color: @bg-col;
text-color: @green;
}
'';
}