mirror of
https://github.com/vincentbernat/i3wm-configuration.git
synced 2025-08-18 00:18:19 +02:00
rofi: update for Rofi 1.7.1
This commit is contained in:
parent
1e5c2f2bda
commit
68aa70ef61
1 changed files with 35 additions and 46 deletions
|
@ -6,55 +6,57 @@ configuration {
|
||||||
me-accept-entry: "MousePrimary";
|
me-accept-entry: "MousePrimary";
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* ROFI One Dark
|
|
||||||
*
|
|
||||||
* Based on OneDark.vim (https://github.com/joshdick/onedark.vim)
|
|
||||||
*
|
|
||||||
* Author: Benjamin Stauss
|
|
||||||
* User: me-benni
|
|
||||||
*
|
|
||||||
* With slight modifications to look like floating.
|
|
||||||
*/
|
|
||||||
* {
|
* {
|
||||||
black: #000000;
|
red: #eb6e67;
|
||||||
red: #eb6e67;
|
blue: #6eaafb;
|
||||||
green: #95ee8f;
|
purple: #a020f0;
|
||||||
yellow: #f8c456;
|
foreground: #efefef;
|
||||||
blue: #6eaafb;
|
background: #282c34ee;
|
||||||
mangenta: #d886f3;
|
lightbg: #50536b;
|
||||||
cyan: #6cdcf7;
|
lightfg: #c2c2c2;
|
||||||
emphasis: #50536b;
|
normal-background: transparent;
|
||||||
text: #efefef;
|
normal-foreground: var(lightfg);
|
||||||
text-alt: #c2c2c2;
|
active-background: transparent;
|
||||||
bg: #282c34ee;
|
active-foreground: var(foreground);
|
||||||
|
urgent-background: transparent;
|
||||||
|
urgent-foreground: var(red);
|
||||||
|
selected-active-background: var(lightbg);
|
||||||
|
selected-active-foreground: var(lightfg);
|
||||||
|
selected-normal-background: var(lightbg);
|
||||||
|
selected-normal-foreground: var(foreground);
|
||||||
|
selected-urgent-background: var(red);
|
||||||
|
selected-urgent-foreground: var(foreground);
|
||||||
|
alternate-active-background: var(active-background);
|
||||||
|
alternate-active-foreground: var(active-foreground);
|
||||||
|
alternate-normal-background: var(normal-background);
|
||||||
|
alternate-normal-foreground: var(normal-foreground);
|
||||||
|
alternate-urgent-background: var(urgent-background);
|
||||||
|
alternate-urgent-foreground: var(urgent-foreground);
|
||||||
|
|
||||||
spacing: 0;
|
spacing: 0;
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
|
|
||||||
font: "Iosevka Aile 12";
|
font: "Iosevka Aile 12";
|
||||||
text-color: @text;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
window {
|
window {
|
||||||
transparency: "real";
|
transparency: "real";
|
||||||
|
background-color: transparent;
|
||||||
|
border: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
inputbar {
|
inputbar {
|
||||||
margin: 0 0 0.6em 0;
|
margin: 0 0 0.6em 0;
|
||||||
padding: 1%;
|
padding: 1%;
|
||||||
children: [prompt, textbox-prompt-colon, entry, case-indicator];
|
children: [prompt, textbox-prompt-colon, entry, case-indicator];
|
||||||
background-color: @bg;
|
background-color: var(background);
|
||||||
}
|
}
|
||||||
|
|
||||||
prompt {
|
prompt {
|
||||||
text-color: @blue;
|
text-color: var(blue);
|
||||||
}
|
}
|
||||||
|
|
||||||
textbox-prompt-colon {
|
textbox-prompt-colon {
|
||||||
expand: false;
|
expand: false;
|
||||||
str: ":";
|
str: ":";
|
||||||
text-color: @text-alt;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
entry {
|
entry {
|
||||||
|
@ -65,14 +67,13 @@ listview {
|
||||||
padding: 0.2em;
|
padding: 0.2em;
|
||||||
spacing: 0.2em;
|
spacing: 0.2em;
|
||||||
dynamic: true;
|
dynamic: true;
|
||||||
|
border: 0;
|
||||||
scrollbar: false;
|
scrollbar: false;
|
||||||
background-color: @bg;
|
background-color: var(background);
|
||||||
}
|
}
|
||||||
|
|
||||||
element {
|
element {
|
||||||
padding: 0.2em;
|
padding: 0.2em;
|
||||||
text-color: @text-alt;
|
|
||||||
highlight: bold #95ee8f; /* green */
|
|
||||||
border-radius: 5px;
|
border-radius: 5px;
|
||||||
}
|
}
|
||||||
element-icon {
|
element-icon {
|
||||||
|
@ -80,36 +81,24 @@ element-icon {
|
||||||
padding: 0 0.6em 0 0;
|
padding: 0 0.6em 0 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
element selected {
|
|
||||||
background-color: @emphasis;
|
|
||||||
text-color: @text;
|
|
||||||
}
|
|
||||||
|
|
||||||
element urgent, element selected urgent {
|
|
||||||
text-color: @red;
|
|
||||||
}
|
|
||||||
|
|
||||||
element active, element selected active {
|
|
||||||
text-color: @purple;
|
|
||||||
}
|
|
||||||
|
|
||||||
message, error-message {
|
message, error-message {
|
||||||
margin: 0 0 0.6em;
|
margin: 0 0 0.6em;
|
||||||
padding: 1%;
|
padding: 1%;
|
||||||
|
border: 0;
|
||||||
border-radius: 5px;
|
border-radius: 5px;
|
||||||
background-color: @emphasis;
|
background-color: var(background);
|
||||||
}
|
}
|
||||||
error-message {
|
error-message {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 0.6em;
|
padding: 0.6em;
|
||||||
border-color: @red;
|
border-color: var(red);
|
||||||
border: 3px;
|
border: 3px;
|
||||||
}
|
}
|
||||||
|
|
||||||
mode-switcher {
|
mode-switcher {
|
||||||
margin: 0.6em 0 0 0;
|
margin: 0.6em 0 0 0;
|
||||||
}
|
}
|
||||||
button selected {
|
button selected {
|
||||||
padding: 0.3em;
|
padding: 0.3em;
|
||||||
border-radius: 5px;
|
border-radius: 5px;
|
||||||
background-color: @emphasis;
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue