1
0
Fork 0

[AUTOCONFIG] Add rofi configuration

This commit is contained in:
Florian RICHER 2022-01-04 22:49:42 +01:00
parent f705defae3
commit e062b96f09
13 changed files with 1131 additions and 370 deletions

View file

@ -0,0 +1,34 @@
/*******************************************************
* ROFI Arc Dark colors for EndeavourOS
* Maintainer: joekamprad <joekamprad@endeavouros.com>
*******************************************************/
* {
selected-normal-foreground: rgba ( 249, 249, 249, 100 % );
foreground: rgba ( 196, 203, 212, 100 % );
normal-foreground: @foreground;
alternate-normal-background: rgba ( 64, 69, 82, 59 % );
red: rgba ( 220, 50, 47, 100 % );
selected-urgent-foreground: rgba ( 249, 249, 249, 100 % );
blue: rgba ( 38, 139, 210, 100 % );
urgent-foreground: rgba ( 204, 102, 102, 100 % );
alternate-urgent-background: rgba ( 75, 81, 96, 90 % );
active-foreground: rgba ( 101, 172, 255, 100 % );
lightbg: rgba ( 238, 232, 213, 100 % );
selected-active-foreground: rgba ( 249, 249, 249, 100 % );
alternate-active-background: rgba ( 75, 81, 96, 89 % );
background: rgba ( 45, 48, 59, 95 % );
alternate-normal-foreground: @foreground;
normal-background: @background;
lightfg: rgba ( 88, 104, 117, 100 % );
selected-normal-background: rgba ( 64, 132, 214, 100 % );
border-color: rgba ( 124, 131, 137, 100 % );
spacing: 2;
separatorcolor: rgba ( 29, 31, 33, 100 % );
urgent-background: rgba ( 29, 31, 33, 17 % );
selected-urgent-background: rgba ( 165, 66, 66, 100 % );
alternate-urgent-foreground: @urgent-foreground;
background-color: rgba ( 0, 0, 0, 0 % );
alternate-active-foreground: @active-foreground;
active-background: rgba ( 29, 31, 33, 17 % );
selected-active-background: rgba ( 68, 145, 237, 100 % );
}

View file

@ -0,0 +1,34 @@
/*******************************************************
* ROFI Arch Dark Transparent colors for EndeavourOS
* Maintainer: joekamprad <joekamprad@endeavouros.com>
*******************************************************/
* {
selected-normal-foreground: rgba ( 255, 147, 5, 100 % );
foreground: rgba ( 196, 203, 212, 100 % );
normal-foreground: @foreground;
alternate-normal-background: rgba ( 45, 48, 59, 1 % );
red: rgba ( 220, 50, 47, 100 % );
selected-urgent-foreground: rgba ( 249, 249, 249, 100 % );
blue: rgba ( 38, 139, 210, 100 % );
urgent-foreground: rgba ( 204, 102, 102, 100 % );
alternate-urgent-background: rgba ( 75, 81, 96, 90 % );
active-foreground: rgba ( 101, 172, 255, 100 % );
lightbg: rgba ( 238, 232, 213, 100 % );
selected-active-foreground: rgba ( 249, 249, 249, 100 % );
alternate-active-background: rgba ( 45, 48, 59, 88 % );
background: rgba ( 45, 48, 59, 88 % );
alternate-normal-foreground: @foreground;
normal-background: rgba ( 45, 48, 59, 1 % );
lightfg: rgba ( 88, 104, 117, 100 % );
selected-normal-background: rgba ( 24, 26, 32, 100 % );
border-color: rgba ( 124, 131, 137, 100 % );
spacing: 2;
separatorcolor: rgba ( 45, 48, 59, 1 % );
urgent-background: rgba ( 45, 48, 59, 15 % );
selected-urgent-background: rgba ( 165, 66, 66, 100 % );
alternate-urgent-foreground: @urgent-foreground;
background-color: rgba ( 0, 0, 0, 0 % );
alternate-active-foreground: @active-foreground;
active-background: rgba ( 29, 31, 33, 17 % );
selected-active-background: rgba ( 26, 28, 35, 100 % );
}

20
configs/rofi/colors.rasi Normal file
View file

@ -0,0 +1,20 @@
* {
xbg: #1D1F28;
xfg: #FDFDFD;
x0: #282A36;
x1: #F37F97;
x2: #5ADECD;
x3: #F2A272;
x4: #8897F4;
x5: #C574DD;
x6: #79E6F3;
x7: #FDFDFD;
x8: #414458;
x9: #FF4971;
x10: #18E3C8;
x11: #FF8037;
x12: #556FFF;
x13: #B043D1;
x14: #3FDCEE;
x15: #FDFDFD;
}

208
configs/rofi/config.rasi Normal file
View file

@ -0,0 +1,208 @@
configuration {
modi: "combi,windowcd,run";
lines: 10;
columns: 2;
font: "sans 13";
bw: 0;
location: 0;
padding: 0;
fixed-num-lines: true;
show-icons: false;
sidebar-mode: true;
combi-modi: "window,run";
separator-style: "none";
hide-scrollbar: true;
fullscreen: false;
fake-transparency: false;
scroll-method: 1;
window-format: "[{w}] ·· {c} ·· {t}";
click-to-exit: true;
show-match: false;
color-normal: "@xbg, @xfg, @xbg, @xfg, @xbg";
color-urgent: "@xbg, @x1, @xbg, @x1, @xfg";
color-active: "@xbg, @xfg, @xbg, @xfg, @xbg";
color-window: "@xbg, @x1, @xfg";
combi-hide-mode-prefix: false;
display-window: "";
display-windowcd: "";
display-run: "";
display-ssh: "";
display-drun: "";
display-combi: "";
kb-remove-word-back: "Control+BackSpace,Alt+d,Alt+BackSpace";
kb-accept-entry: "Control+m,Return,KP_Enter,Alt+m";
kb-mode-next: "Shift+Right,Control+Tab,Alt+l,Alt+Tab";
kb-mode-previous: "Shift+Left,Control+ISO_Left_Tab,Alt+h";
kb-row-left: "Control+Page_Up,Control+Alt+h";
kb-row-right: "Control+Page_Down,Control+Alt+l";
kb-row-up: "Up,Control+p,ISO_Left_Tab,Alt+k";
kb-row-down: "Down,Control+n,Alt+j";
kb-select-1: "";
kb-select-2: "";
kb-select-3: "";
kb-select-4: "";
kb-select-5: "";
kb-select-6: "";
kb-select-7: "";
kb-select-8: "";
kb-select-9: "";
kb-select-10: "";
me-select-entry: "";
me-accept-entry: "MousePrimary";
me-accept-custom: "MouseMiddle";
}
* {
selected-normal-foreground: rgba ( 52, 60, 72, 100 % );
foreground: rgba ( 224, 224, 224, 100 % );
normal-foreground: @foreground;
alternate-normal-background: rgba ( 52, 60, 72, 100 % );
red: rgba ( 220, 50, 47, 100 % );
selected-urgent-foreground: rgba ( 224, 224, 224, 100 % );
blue: rgba ( 38, 139, 210, 100 % );
urgent-foreground: rgba ( 240, 98, 146, 100 % );
alternate-urgent-background: rgba ( 52, 60, 72, 100 % );
active-foreground: rgba ( 224, 224, 224, 100 % );
lightbg: rgba ( 238, 232, 213, 100 % );
selected-active-foreground: rgba ( 52, 60, 72, 100 % );
alternate-active-background: rgba ( 52, 60, 72, 100 % );
background: rgba ( 52, 60, 72, 100 % );
alternate-normal-foreground: @foreground;
normal-background: rgba ( 52, 60, 72, 100 % );
lightfg: rgba ( 88, 104, 117, 100 % );
selected-normal-background: rgba ( 224, 224, 224, 100 % );
border-color: rgba ( 240, 98, 146, 100 % );
spacing: 2;
separatorcolor: rgba ( 224, 224, 224, 100 % );
urgent-background: rgba ( 52, 60, 72, 100 % );
selected-urgent-background: rgba ( 240, 98, 146, 100 % );
alternate-urgent-foreground: @urgent-foreground;
background-color: rgba ( 0, 0, 0, 0 % );
alternate-active-foreground: @active-foreground;
active-background: rgba ( 52, 60, 72, 100 % );
selected-active-background: rgba ( 224, 224, 224, 100 % );
}
window {
background-color: @xbg;
border: 0;
border-color: @x14;
border-radius: 12px;
padding: 40;
width: 50%;
height: 50%;
}
mainbox {
border: 0;
border-color: @x0;
padding: 6;
}
message {
border: 0px;
border-color: @x6;
padding: 1px;
}
textbox {
text-color: @xfg;
}
listview {
fixed-height: 0;
border: 0px;
border-color: @x6;
spacing: 2px;
scrollbar: false;
padding: 2px 0px 0px;
}
element {
border: 0;
padding: 1px;
}
element normal.normal {
background-color: rgba (0,0,0,0%);
text-color: @xfg;
}
element normal.urgent {
background-color: rgba (0,0,0,0%);
text-color: @x9;
}
element normal.active {
background-color: rgba (0,0,0,0%);
text-color: @x5;
}
element selected.normal {
background-color: rgba (0,0,0,0%);
text-color: @x13;
}
element selected.urgent {
background-color: rgba (0,0,0,0%);
text-color: @x13;
}
element selected.active {
background-color: rgba (0,0,0,0%);
text-color: @x13;
}
element alternate.normal {
background-color: rgba (0,0,0,0%);
text-color: @xfg;
}
element alternate.urgent {
background-color: rgba (0,0,0,0%);
text-color: @x9;
}
element alternate.active {
background-color: rgba (0,0,0,0%);
text-color: @x5;
}
scrollbar {
width: 4px ;
border: 0;
handle-color: @xfg;
handle-width: 8px ;
padding: 0;
}
sidebar {
border: 0px;
border-color: @x4;
border-radius: 20px;
}
button {
margin: 5px;
padding: 5px;
background-color: @xbg;
text-color: @x8;
border: 0px;
border-radius: 20px;
border-color: @x8;
}
button selected {
background-color: @xbg;
text-color: @x7;
border: 3px;
border-radius: 20px;
border-color: @x7;
}
inputbar {
spacing: 0px ;
text-color: @xfg;
padding: 1px ;
children: [ prompt,textbox-prompt-colon,entry,case-indicator ];
}
case-indicator {
spacing: 0;
text-color: @xfg;
}
entry {
spacing: 0;
text-color: @xfg;
}
prompt {
spacing: 0;
border: 0;
text-color: @xfg;
}
textbox-prompt-colon {
expand: false;
str: " ";
margin: 0px 0.3000em 0.0000em 0.0000em ;
text-color: inherit;
}
@import "colors.rasi"

121
configs/rofi/powermenu.rasi Normal file
View file

@ -0,0 +1,121 @@
/*******************************************************
* ROFI configs i3 powermenu for EndeavourOS
* Maintainer: joekamprad <joekamprad@endeavouros.com>
*******************************************************/
configuration {
font: "Sourcecode Pro Regular 10";
show-icons: false;
icon-theme: "Arc-X-D";
scroll-method: 0;
disable-history: false;
sidebar-mode: false;
}
@import "~/.config/rofi/arc_dark_transparent_colors.rasi"
window {
background-color: @background;
border: 0;
padding: 10;
transparency: "real";
width: 120px;
location: east;
/*y-offset: 18;*/
/*x-offset: 850;*/
transparency: "real";
}
listview {
lines: 6;
columns: 1;
scrollbar: false;
}
element {
border: 0;
padding: 1px ;
}
element-text {
background-color: inherit;
text-color: inherit;
}
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;
}
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: @alternate-normal-background;
text-color: @alternate-normal-foreground;
}
element.alternate.urgent {
background-color: @alternate-urgent-background;
text-color: @alternate-urgent-foreground;
}
element.alternate.active {
background-color: @alternate-active-background;
text-color: @alternate-active-foreground;
}
scrollbar {
width: 4px ;
border: 0;
handle-color: @normal-foreground;
handle-width: 8px ;
padding: 0;
}
mode-switcher {
border: 2px 0px 0px ;
border-color: @separatorcolor;
}
button {
spacing: 0;
text-color: @normal-foreground;
}
button.selected {
background-color: @selected-normal-background;
text-color: @selected-normal-foreground;
}
inputbar {
spacing: 0;
text-color: @normal-foreground;
padding: 1px ;
}
case-indicator {
spacing: 0;
text-color: @normal-foreground;
}
entry {
spacing: 0;
text-color: @normal-foreground;
}
prompt {
spacing: 0;
text-color: @normal-foreground;
}
inputbar {
children: [ prompt,textbox-prompt-colon,entry,case-indicator ];
}
textbox-prompt-colon {
expand: false;
str: ":";
margin: 0px 0.3em 0em 0em ;
text-color: @normal-foreground;
}

135
configs/rofi/rofidmenu.rasi Normal file
View file

@ -0,0 +1,135 @@
/*******************************************************
* ROFI configs i3 Apps menu for EndeavourOS
* Maintainer: joekamprad <joekamprad@endeavouros.com>
*******************************************************/
configuration {
font: "Sourcecode Pro Regular 10";
show-icons: true;
icon-theme: "Arc-X-D";
display-drun: "Apps";
drun-display-format: "{name}";
scroll-method: 0;
disable-history: false;
sidebar-mode: false;
}
@import "~/.config/rofi/arc_dark_transparent_colors.rasi"
window {
background-color: @background;
border: 0;
padding: 30;
}
listview {
lines: 10;
columns: 3;
}
mainbox {
border: 0;
padding: 0;
}
message {
border: 2px 0px 0px ;
border-color: @separatorcolor;
padding: 1px ;
}
textbox {
text-color: @foreground;
}
listview {
fixed-height: 0;
border: 8px 0px 0px ;
border-color: @separatorcolor;
spacing: 8px ;
scrollbar: false;
padding: 2px 0px 0px ;
}
element {
border: 0;
padding: 1px ;
}
element-text {
background-color: inherit;
text-color: inherit;
}
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;
}
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: @alternate-normal-background;
text-color: @alternate-normal-foreground;
}
element.alternate.urgent {
background-color: @alternate-urgent-background;
text-color: @alternate-urgent-foreground;
}
element.alternate.active {
background-color: @alternate-active-background;
text-color: @alternate-active-foreground;
}
scrollbar {
width: 4px ;
border: 0;
handle-color: @normal-foreground;
handle-width: 8px ;
padding: 0;
}
mode-switcher {
border: 2px 0px 0px ;
border-color: @separatorcolor;
}
button {
spacing: 0;
text-color: @normal-foreground;
}
button.selected {
background-color: @selected-normal-background;
text-color: @selected-normal-foreground;
}
inputbar {
spacing: 0;
text-color: @normal-foreground;
padding: 1px ;
}
case-indicator {
spacing: 0;
text-color: @normal-foreground;
}
entry {
spacing: 0;
text-color: @normal-foreground;
}
prompt {
spacing: 0;
text-color: @normal-foreground;
}
inputbar {
children: [ prompt,textbox-prompt-colon,entry,case-indicator ];
}
textbox-prompt-colon {
expand: false;
str: ":";
margin: 0px 0.3em 0em 0em ;
text-color: @normal-foreground;
}

View file

@ -0,0 +1,137 @@
/*******************************************************
* ROFI configs i3 keyhint-menu for EndeavourOS
* Maintainer: joekamprad <joekamprad@endeavouros.com>
*******************************************************/
configuration {
font: "Sourcecode Pro Regular 10";
show-icons: false;
icon-theme: "Arc-X-D";
display-drun: "KeyHint";
drun-display-format: "{name}";
scroll-method: 0;
disable-history: false;
fullscreen: false;
hide-scrollbar: true;
sidebar-mode: false;
}
@import "~/.config/rofi/arc_dark_transparent_colors.rasi"
window {
background-color: @background;
border: 0;
padding: 30;
}
listview {
lines: 10;
columns: 1;
}
mainbox {
border: 0;
padding: 0;
}
message {
border: 2px 0px 0px ;
border-color: @separatorcolor;
padding: 1px ;
}
textbox {
text-color: @foreground;
}
listview {
fixed-height: 0;
border: 8px 0px 0px ;
border-color: @separatorcolor;
spacing: 8px ;
scrollbar: false;
padding: 2px 0px 0px ;
}
element {
border: 0;
padding: 1px ;
}
element-text {
background-color: inherit;
text-color: inherit;
}
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;
}
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: @alternate-normal-background;
text-color: @alternate-normal-foreground;
}
element.alternate.urgent {
background-color: @alternate-urgent-background;
text-color: @alternate-urgent-foreground;
}
element.alternate.active {
background-color: @alternate-active-background;
text-color: @alternate-active-foreground;
}
scrollbar {
width: 4px ;
border: 0;
handle-color: @normal-foreground;
handle-width: 8px ;
padding: 0;
}
mode-switcher {
border: 2px 0px 0px ;
border-color: @separatorcolor;
}
button {
spacing: 0;
text-color: @normal-foreground;
}
button.selected {
background-color: @selected-normal-background;
text-color: @selected-normal-foreground;
}
inputbar {
spacing: 0;
text-color: @normal-foreground;
padding: 1px ;
}
case-indicator {
spacing: 0;
text-color: @normal-foreground;
}
entry {
spacing: 0;
text-color: @normal-foreground;
}
prompt {
spacing: 0;
text-color: @normal-foreground;
}
inputbar {
children: [ prompt,textbox-prompt-colon,entry,case-indicator ];
}
textbox-prompt-colon {
expand: false;
str: ":";
margin: 0px 0.3em 0em 0em ;
text-color: @normal-foreground;
}