Skip to content

Commit f2f622e

Browse files
[rofi] Rofi config format updated
1 parent abce5e4 commit f2f622e

File tree

4 files changed

+322
-14
lines changed

4 files changed

+322
-14
lines changed

config.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -323,6 +323,11 @@ dotfiles:
323323
dst: ~/.config/ripgrep/ripgreprc
324324
src: ./ripgrep/ripgreprc
325325

326+
rofi:
327+
dst: ~/.config/rofi
328+
src: ./rofi
329+
link: link
330+
326331
rofimoji:
327332
dst: ~/.config/rofimoji.rc
328333
src: ./rofimoji/rofimoji.rc
@@ -502,6 +507,7 @@ profiles:
502507
- repetier_printers
503508
- repetier_cura
504509
- ripgrep
510+
- rofi
505511
- rofimoji
506512
- rofi-pass
507513
- rust-motd

rofi/config.rasi

Lines changed: 148 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,148 @@
1+
configuration {
2+
/* modi: "window,run,ssh";*/
3+
/* font: "mono 12";*/
4+
/* location: 0;*/
5+
/* yoffset: 0;*/
6+
/* xoffset: 0;*/
7+
/* fixed-num-lines: true;*/
8+
/* show-icons: false;*/
9+
/* terminal: "rofi-sensible-terminal";*/
10+
/* ssh-client: "ssh";*/
11+
/* ssh-command: "{terminal} -e {ssh-client} {host} [-p {port}]";*/
12+
/* run-command: "{cmd}";*/
13+
/* run-list-command: "";*/
14+
/* run-shell-command: "{terminal} -e {cmd}";*/
15+
/* window-command: "wmctrl -i -R {window}";*/
16+
/* window-match-fields: "all";*/
17+
/* icon-theme: ;*/
18+
/* drun-match-fields: "name,generic,exec,categories,keywords";*/
19+
/* drun-categories: ;*/
20+
/* drun-show-actions: false;*/
21+
/* drun-display-format: "{name} [<span weight='light' size='small'><i>({generic})</i></span>]";*/
22+
/* drun-url-launcher: "xdg-open";*/
23+
/* disable-history: false;*/
24+
/* ignored-prefixes: "";*/
25+
/* sort: false;*/
26+
/* sorting-method: "normal";*/
27+
/* case-sensitive: false;*/
28+
/* cycle: true;*/
29+
/* sidebar-mode: false;*/
30+
/* hover-select: false;*/
31+
/* eh: 1;*/
32+
/* auto-select: false;*/
33+
/* parse-hosts: false;*/
34+
/* parse-known-hosts: true;*/
35+
/* combi-modi: "window,run";*/
36+
/* matching: "normal";*/
37+
/* tokenize: true;*/
38+
/* m: "-5";*/
39+
/* filter: ;*/
40+
/* dpi: -1;*/
41+
/* threads: 0;*/
42+
/* scroll-method: 0;*/
43+
/* window-format: "{w} {c} {t}";*/
44+
/* click-to-exit: true;*/
45+
/* theme: ;*/
46+
/* max-history-size: 25;*/
47+
/* combi-hide-mode-prefix: false;*/
48+
/* matching-negate-char: '-' /* unsupported */;*/
49+
/* cache-dir: ;*/
50+
/* window-thumbnail: false;*/
51+
/* drun-use-desktop-cache: false;*/
52+
/* drun-reload-desktop-cache: false;*/
53+
/* normalize-match: false;*/
54+
/* steal-focus: false;*/
55+
/* application-fallback-icon: ;*/
56+
/* pid: "/run/user/1000/rofi.pid";*/
57+
/* display-window: ;*/
58+
/* display-windowcd: ;*/
59+
/* display-run: ;*/
60+
/* display-ssh: ;*/
61+
/* display-drun: ;*/
62+
/* display-combi: ;*/
63+
/* display-keys: ;*/
64+
/* display-filebrowser: ;*/
65+
/* kb-primary-paste: "Control+V,Shift+Insert";*/
66+
/* kb-secondary-paste: "Control+v,Insert";*/
67+
/* kb-clear-line: "Control+w";*/
68+
/* kb-move-front: "Control+a";*/
69+
/* kb-move-end: "Control+e";*/
70+
/* kb-move-word-back: "Alt+b,Control+Left";*/
71+
/* kb-move-word-forward: "Alt+f,Control+Right";*/
72+
/* kb-move-char-back: "Left,Control+b";*/
73+
/* kb-move-char-forward: "Right,Control+f";*/
74+
/* kb-remove-word-back: "Control+Alt+h,Control+BackSpace";*/
75+
/* kb-remove-word-forward: "Control+Alt+d";*/
76+
/* kb-remove-char-forward: "Delete,Control+d";*/
77+
/* kb-remove-char-back: "BackSpace,Shift+BackSpace,Control+h";*/
78+
/* kb-remove-to-eol: "Control+k";*/
79+
/* kb-remove-to-sol: "Control+u";*/
80+
/* kb-accept-entry: "Control+j,Control+m,Return,KP_Enter";*/
81+
/* kb-accept-custom: "Control+Return";*/
82+
/* kb-accept-custom-alt: "Control+Shift+Return";*/
83+
/* kb-accept-alt: "Shift+Return";*/
84+
/* kb-delete-entry: "Shift+Delete";*/
85+
/* kb-mode-next: "Shift+Right,Control+Tab";*/
86+
/* kb-mode-previous: "Shift+Left,Control+ISO_Left_Tab";*/
87+
/* kb-mode-complete: "Control+l";*/
88+
/* kb-row-left: "Control+Page_Up";*/
89+
/* kb-row-right: "Control+Page_Down";*/
90+
/* kb-row-up: "Up,Control+p,ISO_Left_Tab";*/
91+
/* kb-row-down: "Down,Control+n";*/
92+
/* kb-row-tab: "Tab";*/
93+
/* kb-page-prev: "Page_Up";*/
94+
/* kb-page-next: "Page_Down";*/
95+
/* kb-row-first: "Home,KP_Home";*/
96+
/* kb-row-last: "End,KP_End";*/
97+
/* kb-row-select: "Control+space";*/
98+
/* kb-screenshot: "Alt+S";*/
99+
/* kb-ellipsize: "Alt+period";*/
100+
/* kb-toggle-case-sensitivity: "grave,dead_grave";*/
101+
/* kb-toggle-sort: "Alt+grave";*/
102+
/* kb-cancel: "Escape,Control+g,Control+bracketleft";*/
103+
/* kb-custom-1: "Alt+1";*/
104+
/* kb-custom-2: "Alt+2";*/
105+
/* kb-custom-3: "Alt+3";*/
106+
/* kb-custom-4: "Alt+4";*/
107+
/* kb-custom-5: "Alt+5";*/
108+
/* kb-custom-6: "Alt+6";*/
109+
/* kb-custom-7: "Alt+7";*/
110+
/* kb-custom-8: "Alt+8";*/
111+
/* kb-custom-9: "Alt+9";*/
112+
/* kb-custom-10: "Alt+0";*/
113+
/* kb-custom-11: "Alt+exclam";*/
114+
/* kb-custom-12: "Alt+at";*/
115+
/* kb-custom-13: "Alt+numbersign";*/
116+
/* kb-custom-14: "Alt+dollar";*/
117+
/* kb-custom-15: "Alt+percent";*/
118+
/* kb-custom-16: "Alt+dead_circumflex";*/
119+
/* kb-custom-17: "Alt+ampersand";*/
120+
/* kb-custom-18: "Alt+asterisk";*/
121+
/* kb-custom-19: "Alt+parenleft";*/
122+
/* kb-select-1: "Super+1";*/
123+
/* kb-select-2: "Super+2";*/
124+
/* kb-select-3: "Super+3";*/
125+
/* kb-select-4: "Super+4";*/
126+
/* kb-select-5: "Super+5";*/
127+
/* kb-select-6: "Super+6";*/
128+
/* kb-select-7: "Super+7";*/
129+
/* kb-select-8: "Super+8";*/
130+
/* kb-select-9: "Super+9";*/
131+
/* kb-select-10: "Super+0";*/
132+
/* ml-row-left: "ScrollLeft";*/
133+
/* ml-row-right: "ScrollRight";*/
134+
/* ml-row-up: "ScrollUp";*/
135+
/* ml-row-down: "ScrollDown";*/
136+
/* me-select-entry: "MousePrimary";*/
137+
/* me-accept-entry: "MouseDPrimary";*/
138+
/* me-accept-custom: "Control+MouseDPrimary";*/
139+
timeout {
140+
action: "kb-cancel";
141+
delay: 0;
142+
}
143+
filebrowser {
144+
directories-first: true;
145+
sorting-method: "name";
146+
}
147+
}
148+
@theme "/home/marcel/.config/rofi/themes/schmick.rasi"

rofi/themes/schmick.rasi

Lines changed: 168 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,168 @@
1+
/**
2+
* rofi -dump-theme output.
3+
* Rofi version: 1.6.1
4+
**/
5+
* {
6+
red: rgba ( 220, 50, 47, 100 % );
7+
selected-active-foreground: rgba ( 18, 24, 30, 100 % );
8+
lightfg: rgba ( 88, 104, 117, 100 % );
9+
separatorcolor: rgba ( 50, 95, 147, 100 % );
10+
urgent-foreground: rgba ( 214, 180, 141, 100 % );
11+
alternate-urgent-background: rgba ( 34, 35, 29, 100 % );
12+
lightbg: rgba ( 238, 232, 213, 100 % );
13+
background-color: rgba ( 0, 0, 0, 0 % );
14+
border-color: rgba ( 50, 95, 147, 100 % );
15+
normal-background: rgba ( 18, 24, 30, 100 % );
16+
selected-urgent-background: rgba ( 214, 180, 141, 100 % );
17+
alternate-active-background: rgba ( 18, 24, 30, 100 % );
18+
spacing: 2;
19+
blue: rgba ( 38, 139, 210, 100 % );
20+
alternate-normal-foreground: var(foreground);
21+
urgent-background: rgba ( 18, 24, 30, 100 % );
22+
selected-normal-foreground: rgba ( 18, 24, 30, 100 % );
23+
active-foreground: rgba ( 189, 203, 146, 100 % );
24+
background: rgba ( 18, 24, 30, 100 % );
25+
selected-active-background: rgba ( 173, 172, 159, 100 % );
26+
active-background: rgba ( 18, 24, 30, 100 % );
27+
selected-normal-background: rgba ( 50, 95, 147, 100 % );
28+
alternate-normal-background: rgba ( 18, 24, 30, 100 % );
29+
foreground: rgba ( 227, 226, 225, 100 % );
30+
selected-urgent-foreground: rgba ( 227, 226, 225, 100 % );
31+
normal-foreground: var(foreground);
32+
alternate-urgent-foreground: var(urgent-foreground);
33+
alternate-active-foreground: var(active-foreground);
34+
}
35+
element {
36+
padding: 1px ;
37+
spacing: 5px ;
38+
border: 0;
39+
}
40+
element normal.normal {
41+
background-color: var(normal-background);
42+
text-color: var(normal-foreground);
43+
}
44+
element normal.urgent {
45+
background-color: var(urgent-background);
46+
text-color: var(urgent-foreground);
47+
}
48+
element normal.active {
49+
background-color: var(active-background);
50+
text-color: var(active-foreground);
51+
}
52+
element selected.normal {
53+
background-color: var(selected-normal-background);
54+
text-color: var(selected-normal-foreground);
55+
}
56+
element selected.urgent {
57+
background-color: var(selected-urgent-background);
58+
text-color: var(selected-urgent-foreground);
59+
}
60+
element selected.active {
61+
background-color: var(selected-active-background);
62+
text-color: var(selected-active-foreground);
63+
}
64+
element alternate.normal {
65+
background-color: var(alternate-normal-background);
66+
text-color: var(alternate-normal-foreground);
67+
}
68+
element alternate.urgent {
69+
background-color: var(alternate-urgent-background);
70+
text-color: var(alternate-urgent-foreground);
71+
}
72+
element alternate.active {
73+
background-color: var(alternate-active-background);
74+
text-color: var(alternate-active-foreground);
75+
}
76+
element-text {
77+
background-color: rgba ( 0, 0, 0, 0 % );
78+
highlight: inherit;
79+
text-color: inherit;
80+
}
81+
element-icon {
82+
background-color: rgba ( 0, 0, 0, 0 % );
83+
size: 1.0000em ;
84+
text-color: inherit;
85+
}
86+
window {
87+
padding: 50;
88+
background-color: var(background);
89+
border: 1;
90+
}
91+
mainbox {
92+
padding: 0;
93+
border: 0;
94+
}
95+
message {
96+
padding: 1px ;
97+
border-color: var(separatorcolor);
98+
border: 2px dash 0px 0px ;
99+
}
100+
textbox {
101+
text-color: var(foreground);
102+
}
103+
listview {
104+
padding: 2px 0px 0px ;
105+
scrollbar: true;
106+
border-color: var(separatorcolor);
107+
spacing: 2px ;
108+
fixed-height: 0;
109+
border: 2px dash 0px 0px ;
110+
}
111+
scrollbar {
112+
width: 4px ;
113+
padding: 0;
114+
handle-width: 8px ;
115+
border: 0;
116+
handle-color: var(normal-foreground);
117+
}
118+
sidebar {
119+
border-color: var(separatorcolor);
120+
border: 2px dash 0px 0px ;
121+
}
122+
button {
123+
spacing: 0;
124+
text-color: var(normal-foreground);
125+
}
126+
button selected {
127+
background-color: var(selected-normal-background);
128+
text-color: var(selected-normal-foreground);
129+
}
130+
num-filtered-rows {
131+
expand: false;
132+
text-color: rgba ( 128, 128, 128, 100 % );
133+
}
134+
num-rows {
135+
expand: false;
136+
text-color: rgba ( 128, 128, 128, 100 % );
137+
}
138+
textbox-num-sep {
139+
expand: false;
140+
str: "/";
141+
text-color: rgba ( 128, 128, 128, 100 % );
142+
}
143+
inputbar {
144+
padding: 1px ;
145+
spacing: 0px ;
146+
text-color: var(normal-foreground);
147+
children: [ prompt,textbox-prompt-colon,entry,num-filtered-rows,textbox-num-sep,num-rows,case-indicator ];
148+
}
149+
case-indicator {
150+
spacing: 0;
151+
text-color: var(normal-foreground);
152+
}
153+
entry {
154+
text-color: var(normal-foreground);
155+
spacing: 0;
156+
placeholder-color: rgba ( 128, 128, 128, 100 % );
157+
placeholder: "Type to filter";
158+
}
159+
prompt {
160+
spacing: 0;
161+
text-color: var(normal-foreground);
162+
}
163+
textbox-prompt-colon {
164+
margin: 0px 0.3000em 0.0000em 0.0000em ;
165+
expand: false;
166+
str: ":";
167+
text-color: inherit;
168+
}

xresources/.Xresources

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -8,17 +8,3 @@ URxvt.scrollBar: false
88
URxvt.internalBorder: 20
99
URxvt.cursorUnderline: true
1010
URxvt.cursorBlink: true
11-
12-
13-
!
14-
! Rofi
15-
16-
17-
rofi.padding: 50
18-
rofi.opacity: 95
19-
rofi.color-enabled: true
20-
rofi.color-normal: #12181e, #e3e2e1, #12181e, #325f93, #12181e
21-
rofi.color-urgent: #12181e, #d6b48d, #22231D, #d6b48d, #e3e2e1
22-
rofi.color-active: #12181e, #bdcb92, #12181e, #ADAC9F, #12181e
23-
rofi.color-window: #12181e, #325f93, #325f93
24-

0 commit comments

Comments
 (0)