Update rofi

This commit is contained in:
elenapan 2024-12-14 00:59:54 +02:00
parent edbe876ff6
commit 2335c39f48
2 changed files with 116 additions and 114 deletions

View file

@ -1,20 +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;
xbg: #101319;
xfg: #f4f3ee;
x0: #171b24;
x1: #E34F4F;
x2: #69bfce;
x3: #e37e4f;
x4: #5679E3;
x5: #956dca;
x6: #5599E2;
x7: #f4f3ee;
x8: #3A435A;
x9: #DE2B2B;
x10: #56B7C8;
x11: #DE642B;
x12: #3E66E0;
x13: #885AC4;
x14: #3F8CDE;
x15: #DDDBCF;
}

View file

@ -1,42 +1,38 @@
configuration {
modi: "combi,windowcd,run";
lines: 10;
columns: 2;
font: "sans 13";
bw: 0;
modes: "combi";
/* modes: "combi,drun,window"; */
combi-modes: "window,run";
font: "monospace bold 16";
/* dpi: 144; */
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;
sidebar-mode: false;
scroll-method: 1;
window-format: "[{w}] ·· {c} ·· {t}";
window-format: "{t:50} ·· {c}";
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";
matching: "fuzzy";
sort: true;
sorting-method: "levenshtein";
/* sorting-method: "fzf"; */
/* matching-negate-char: "!"; */
/* Causes rofi to crash? */
/* normalize-match: true; */
combi-hide-mode-prefix: false;
display-window: "";
display-windowcd: "";
display-run: "";
display-run: "";
display-ssh: "";
display-drun: "";
display-combi: "";
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-accept-entry: "Control+m,Return,KP_Enter,Alt+m,Alt+a,Super+a";
kb-mode-next: "Shift+Right,Control+Tab,Control+Alt+l,Alt+Tab,Super+Tab";
kb-mode-previous: "Shift+Left,Control+ISO_Left_Tab,Control+Alt+h";
kb-row-left: "Control+Page_Up,Alt+h";
kb-row-right: "Control+Page_Down,Alt+l";
kb-row-up: "Up,Control+p,Alt+k";
kb-row-down: "Down,Control+n,Alt+j";
kb-element-next: "Tab";
kb-element-prev: "ISO_Left_Tab";
kb-select-1: "";
kb-select-2: "";
kb-select-3: "";
@ -47,110 +43,103 @@ configuration {
kb-select-8: "";
kb-select-9: "";
kb-select-10: "";
kb-custom-8: "";
kb-custom-14: "";
kb-custom-16: "";
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: 6px;
border-color: @x0;
border-radius: 12px;
padding: 40;
padding: 0px;
width: 50%;
height: 50%;
/* TODO: percentage height is buggy on rofi's wayland fork */
/* height: 50%; */
/* height: 350px; */
}
mainbox {
border: 0;
border-color: @x0;
padding: 6;
padding: 0px;
}
message {
border: 0px;
border-color: @x6;
padding: 1px;
padding: 6px 30px;
background-color: @x0;
}
/* Message text */
textbox {
text-color: @xfg;
text-color: @x7;
}
listview {
fixed-height: 0;
border: 0px;
border-color: @x6;
spacing: 2px;
scrollbar: false;
padding: 2px 0px 0px;
lines: 8;
columns: 1;
}
element {
border: 0;
padding: 1px;
padding: 10px 25px;
}
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;
text-color: @x1;
}
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;
background-color: @x0;
text-color: @x4;
}
element selected.urgent {
background-color: rgba (0,0,0,0%);
text-color: @x13;
background-color: @x0;
text-color: @x4;
}
element selected.active {
background-color: rgba (0,0,0,0%);
text-color: @x13;
background-color: @x0;
text-color: @x4;
}
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;
text-color: @x1;
}
element alternate.active {
background-color: rgba (0,0,0,0%);
text-color: @x5;
}
scrollbar {
width: 4px ;
border: 0;
@ -158,50 +147,63 @@ scrollbar {
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;
/* font: "sans Medium 11"; */
font: "icomoon 13";
background-color: @x0;
text-color: @x8;
border: 0px;
border-color: @x8;
border-radius: 0px;
margin: 0;
padding: 18px;
}
button selected {
background-color: @xbg;
text-color: @x7;
border: 3px;
border-radius: 20px;
border-color: @x7;
background-color: @x0;
text-color: @x7;
border: 0px;
border-color: @x7;
}
inputbar {
spacing: 0px ;
text-color: @xfg;
padding: 1px ;
children: [ prompt,textbox-prompt-colon,entry,case-indicator ];
spacing: 0px;
background-color: @xbg;
padding: 25px 25px 15px 25px;
/* children: [ prompt,textbox-prompt-colon,entry,case-indicator ]; */
children: [prompt, textbox-prompt-colon, entry];
}
case-indicator {
spacing: 0;
text-color: @xfg;
}
entry {
spacing: 0;
text-color: @xfg;
/* placeholder text in input field */
placeholder: "";
}
prompt {
spacing: 0;
border: 0;
text-color: @xfg;
text-color: @x1;
}
textbox-prompt-colon {
expand: false;
str: " ";
margin: 0px 0.3000em 0.0000em 0.0000em ;
str: " ";
/* margin: 0px 0.3000em 0.0000em 0.0000em ; */
text-color: inherit;
}