2023-10-02 08:17:11 +00:00
|
|
|
/*
|
|
|
|
# ____ __ _
|
|
|
|
# | _ \ ___ / _(_)
|
|
|
|
# | |_) / _ \| |_| |
|
|
|
|
# | _ < (_) | _| |
|
|
|
|
# |_| \_\___/|_| |_|
|
|
|
|
#
|
|
|
|
# by Stephan Raabe (2023)
|
|
|
|
# -----------------------------------------------------
|
|
|
|
*/
|
|
|
|
|
|
|
|
/* ---- Configuration ---- */
|
|
|
|
configuration {
|
|
|
|
modi: "drun,run";
|
|
|
|
font: "Fira Sans Bold 10";
|
2023-12-20 10:05:15 +00:00
|
|
|
show-icons: true;
|
2023-10-02 08:31:06 +00:00
|
|
|
hover-select: true;
|
|
|
|
me-select-entry: "";
|
|
|
|
me-accept-entry: "MousePrimary";
|
|
|
|
drun-display-format: "{name}";
|
2023-10-02 08:17:11 +00:00
|
|
|
window-format: "{w} · {c} · {t}";
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
/* ---- Load pywal colors (custom wal template) ---- */
|
|
|
|
@import "~/.cache/wal/colors-rofi-pywal"
|
2023-12-21 10:05:20 +00:00
|
|
|
@import "~/.cache/current_wallpaper.rasi"
|
2023-10-02 08:17:11 +00:00
|
|
|
|
|
|
|
/* ---- Window ---- */
|
|
|
|
window {
|
2023-12-21 12:14:11 +00:00
|
|
|
width: 761px;
|
2023-10-02 08:17:11 +00:00
|
|
|
x-offset: 0px;
|
2023-10-18 14:41:10 +00:00
|
|
|
y-offset: 65px;
|
2023-10-02 08:17:11 +00:00
|
|
|
spacing: 0px;
|
|
|
|
padding: 0px;
|
|
|
|
margin: 0px;
|
|
|
|
color: #FFFFFF;
|
|
|
|
border: 3px;
|
|
|
|
border-color: #FFFFFF;
|
|
|
|
cursor: "default";
|
|
|
|
transparency: "real";
|
|
|
|
location: north;
|
|
|
|
anchor: north;
|
|
|
|
fullscreen: false;
|
|
|
|
enabled: true;
|
|
|
|
border-radius: 10px;
|
|
|
|
background-color: transparent;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* ---- Mainbox ---- */
|
|
|
|
mainbox {
|
|
|
|
enabled: true;
|
|
|
|
orientation: horizontal;
|
|
|
|
spacing: 0px;
|
|
|
|
margin: 0px;
|
|
|
|
background-color: @background;
|
|
|
|
children: ["listbox"];
|
|
|
|
}
|
|
|
|
|
|
|
|
/* ---- Imagebox ---- */
|
|
|
|
imagebox {
|
|
|
|
padding: 18px;
|
|
|
|
background-color: transparent;
|
|
|
|
orientation: vertical;
|
|
|
|
children: [ "inputbar", "dummy", "mode-switcher" ];
|
|
|
|
}
|
|
|
|
|
|
|
|
/* ---- Listbox ---- */
|
|
|
|
listbox {
|
|
|
|
spacing: 20px;
|
|
|
|
background-color: transparent;
|
|
|
|
orientation: vertical;
|
|
|
|
children: [ "inputbar", "message", "listview" ];
|
|
|
|
}
|
|
|
|
|
|
|
|
/* ---- Dummy ---- */
|
|
|
|
dummy {
|
|
|
|
background-color: transparent;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* ---- Inputbar ---- */
|
|
|
|
inputbar {
|
|
|
|
enabled: true;
|
|
|
|
text-color: @foreground;
|
|
|
|
spacing: 10px;
|
|
|
|
padding: 15px;
|
|
|
|
border-radius: 0px;
|
|
|
|
border-color: @foreground;
|
|
|
|
background-color: @background;
|
|
|
|
children: [ "textbox-prompt-colon", "entry" ];
|
|
|
|
}
|
|
|
|
|
|
|
|
textbox-prompt-colon {
|
|
|
|
enabled: true;
|
|
|
|
expand: false;
|
|
|
|
str: "";
|
|
|
|
background-color: transparent;
|
|
|
|
text-color: inherit;
|
|
|
|
}
|
|
|
|
|
|
|
|
entry {
|
|
|
|
enabled: true;
|
|
|
|
background-color: transparent;
|
|
|
|
text-color: inherit;
|
|
|
|
cursor: text;
|
|
|
|
placeholder: "Search";
|
|
|
|
placeholder-color: inherit;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* ---- Mode Switcher ---- */
|
|
|
|
mode-switcher{
|
|
|
|
enabled: true;
|
|
|
|
spacing: 20px;
|
|
|
|
background-color: transparent;
|
|
|
|
text-color: @foreground;
|
|
|
|
}
|
|
|
|
|
|
|
|
button {
|
|
|
|
padding: 10px;
|
|
|
|
border-radius: 10px;
|
|
|
|
background-color: @background;
|
|
|
|
text-color: inherit;
|
|
|
|
cursor: pointer;
|
|
|
|
border: 0px;
|
|
|
|
}
|
|
|
|
|
|
|
|
button selected {
|
|
|
|
background-color: @color11;
|
|
|
|
text-color: @foreground;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* ---- Listview ---- */
|
|
|
|
listview {
|
|
|
|
enabled: true;
|
|
|
|
columns: 1;
|
|
|
|
cycle: true;
|
2023-12-21 12:14:11 +00:00
|
|
|
dynamic: false;
|
|
|
|
scrollbar: true;
|
|
|
|
layout: horizontal;
|
2023-10-02 08:17:11 +00:00
|
|
|
reverse: false;
|
2023-12-21 12:14:11 +00:00
|
|
|
spacing: 10px;
|
2023-10-02 08:17:11 +00:00
|
|
|
padding: 10px;
|
|
|
|
margin: 0px;
|
|
|
|
background-color: @background;
|
2023-12-21 12:14:11 +00:00
|
|
|
border: 0px;
|
2023-10-02 08:17:11 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/* ---- Element ---- */
|
|
|
|
element {
|
|
|
|
enabled: true;
|
2023-12-20 14:24:48 +00:00
|
|
|
padding: 0px;
|
2023-10-02 08:17:11 +00:00
|
|
|
margin: 5px;
|
|
|
|
cursor: pointer;
|
|
|
|
background-color: @background;
|
|
|
|
border-radius: 10px;
|
|
|
|
border: 2px;
|
2023-12-21 12:14:11 +00:00
|
|
|
layout: vertical;
|
2023-10-02 08:17:11 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
element normal.normal {
|
2023-12-21 12:14:11 +00:00
|
|
|
border-color: @color11;
|
2023-10-02 08:17:11 +00:00
|
|
|
background-color: inherit;
|
|
|
|
text-color: @foreground;
|
|
|
|
}
|
|
|
|
|
|
|
|
element normal.urgent {
|
2023-12-21 12:14:11 +00:00
|
|
|
border-color: @color11;
|
2023-10-02 08:17:11 +00:00
|
|
|
background-color: inherit;
|
|
|
|
text-color: @foreground;
|
|
|
|
}
|
|
|
|
|
|
|
|
element normal.active {
|
2023-12-21 12:14:11 +00:00
|
|
|
border-color: @color11;
|
2023-10-02 08:17:11 +00:00
|
|
|
background-color: inherit;
|
|
|
|
text-color: @foreground;
|
|
|
|
}
|
|
|
|
|
|
|
|
element selected.normal {
|
2023-12-21 12:14:11 +00:00
|
|
|
border-color: @foreground;
|
|
|
|
background-color: inherit;
|
2023-10-02 08:17:11 +00:00
|
|
|
text-color: @foreground;
|
|
|
|
}
|
|
|
|
|
|
|
|
element selected.urgent {
|
2023-12-21 12:14:11 +00:00
|
|
|
border-color: @foreground;
|
2023-10-02 08:17:11 +00:00
|
|
|
background-color: inherit;
|
|
|
|
text-color: @foreground;
|
|
|
|
}
|
|
|
|
|
|
|
|
element selected.active {
|
2023-12-21 12:14:11 +00:00
|
|
|
border-color: @foreground;
|
2023-10-02 08:17:11 +00:00
|
|
|
background-color: inherit;
|
|
|
|
text-color: @foreground;
|
|
|
|
}
|
|
|
|
|
|
|
|
element alternate.normal {
|
2023-12-21 12:14:11 +00:00
|
|
|
border-color: @color11;
|
2023-10-02 08:17:11 +00:00
|
|
|
background-color: inherit;
|
|
|
|
text-color: @foreground;
|
|
|
|
}
|
|
|
|
|
|
|
|
element alternate.urgent {
|
2023-12-21 12:14:11 +00:00
|
|
|
border-color: @color11;
|
2023-10-02 08:17:11 +00:00
|
|
|
background-color: inherit;
|
|
|
|
text-color: @foreground;
|
|
|
|
}
|
|
|
|
|
|
|
|
element alternate.active {
|
2023-12-21 12:14:11 +00:00
|
|
|
border-color: @color11;
|
2023-10-02 08:17:11 +00:00
|
|
|
background-color: inherit;
|
|
|
|
text-color: @foreground;
|
|
|
|
}
|
|
|
|
|
|
|
|
element-icon {
|
|
|
|
background-color: transparent;
|
|
|
|
text-color: inherit;
|
2023-12-21 12:14:11 +00:00
|
|
|
size: 100px;
|
2023-10-02 08:17:11 +00:00
|
|
|
cursor: inherit;
|
2023-12-21 12:14:11 +00:00
|
|
|
horizontal-align: 0.5;
|
2023-10-02 08:17:11 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
element-text {
|
|
|
|
background-color: transparent;
|
|
|
|
text-color: inherit;
|
|
|
|
cursor: inherit;
|
|
|
|
vertical-align: 0.5;
|
2023-12-20 14:24:48 +00:00
|
|
|
horizontal-align: 0.1;
|
2023-12-21 12:14:11 +00:00
|
|
|
enabled: false;
|
2023-10-02 08:17:11 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/*****----- Message -----*****/
|
|
|
|
message {
|
|
|
|
background-color: transparent;
|
|
|
|
border:0px;
|
|
|
|
margin:20px 0px 0px 0px;
|
|
|
|
padding:0px;
|
|
|
|
spacing:0px;
|
|
|
|
border-radius: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
textbox {
|
|
|
|
padding: 15px;
|
|
|
|
margin: 0px;
|
|
|
|
border-radius: 0px;
|
|
|
|
background-color: @background;
|
|
|
|
text-color: @foreground;
|
|
|
|
vertical-align: 0.5;
|
|
|
|
horizontal-align: 0.0;
|
|
|
|
}
|
|
|
|
|
|
|
|
error-message {
|
|
|
|
padding: 15px;
|
|
|
|
border-radius: 20px;
|
|
|
|
background-color: @background;
|
|
|
|
text-color: @foreground;
|
|
|
|
}
|