2023-03-09 07:52:31 -05:00
|
|
|
/*
|
|
|
|
# ____ __ _
|
|
|
|
# | _ \ ___ / _(_)
|
|
|
|
# | |_) / _ \| |_| |
|
|
|
|
# | _ < (_) | _| |
|
|
|
|
# |_| \_\___/|_| |_|
|
|
|
|
#
|
|
|
|
# by Stephan Raabe (2023)
|
|
|
|
# -----------------------------------------------------
|
|
|
|
*/
|
|
|
|
|
2023-10-01 12:32:19 -04:00
|
|
|
/* ---- Configuration ---- */
|
2023-01-25 14:14:03 -05:00
|
|
|
configuration {
|
2023-10-01 12:32:19 -04:00
|
|
|
modi: "drun,run";
|
2024-03-08 04:18:45 -05:00
|
|
|
font: "Fira Sans 11";
|
2023-10-01 12:32:19 -04:00
|
|
|
show-icons: true;
|
|
|
|
icon-theme: "kora";
|
|
|
|
display-drun: "APPS";
|
|
|
|
display-run: "RUN";
|
|
|
|
display-filebrowser: "FILES";
|
|
|
|
display-window: "WINDOW";
|
|
|
|
drun-display-format: "{name}";
|
2023-10-02 04:31:06 -04:00
|
|
|
hover-select: true;
|
|
|
|
me-select-entry: "";
|
|
|
|
me-accept-entry: "MousePrimary";
|
2023-10-01 12:32:19 -04:00
|
|
|
window-format: "{w} · {c} · {t}";
|
|
|
|
|
2023-01-25 14:14:03 -05:00
|
|
|
}
|
|
|
|
|
2024-03-09 05:42:41 -05:00
|
|
|
/* ---- Load font ---- */
|
|
|
|
@import "~/dotfiles/.settings/rofi-font.rasi"
|
|
|
|
|
2023-10-01 12:32:19 -04:00
|
|
|
/* ---- Load pywal colors (custom wal template) ---- */
|
|
|
|
@import "~/.cache/wal/colors-rofi-pywal"
|
2024-03-09 05:42:41 -05:00
|
|
|
|
|
|
|
/* ---- Load wallpaper ---- */
|
2023-12-21 05:05:20 -05:00
|
|
|
@import "~/.cache/current_wallpaper.rasi"
|
2024-03-09 05:42:41 -05:00
|
|
|
|
|
|
|
/* ---- Load border width ---- */
|
2024-02-16 02:02:26 -05:00
|
|
|
@import "~/dotfiles/.settings/rofi-border.rasi"
|
2023-01-25 14:14:03 -05:00
|
|
|
|
2023-10-01 12:32:19 -04:00
|
|
|
/* ---- Window ---- */
|
2023-04-11 09:25:32 -04:00
|
|
|
window {
|
2023-10-01 12:32:19 -04:00
|
|
|
width: 900px;
|
|
|
|
x-offset: 0px;
|
|
|
|
y-offset: 0px;
|
|
|
|
spacing: 0px;
|
|
|
|
padding: 0px;
|
|
|
|
margin: 0px;
|
|
|
|
color: #FFFFFF;
|
2024-02-16 02:02:26 -05:00
|
|
|
border: @border-width;
|
2023-10-01 12:32:19 -04:00
|
|
|
border-color: #FFFFFF;
|
|
|
|
cursor: "default";
|
|
|
|
transparency: "real";
|
|
|
|
location: center;
|
|
|
|
anchor: center;
|
|
|
|
fullscreen: false;
|
|
|
|
enabled: true;
|
|
|
|
border-radius: 10px;
|
|
|
|
background-color: transparent;
|
|
|
|
}
|
2023-09-28 14:43:29 -04:00
|
|
|
|
2023-10-01 12:32:19 -04:00
|
|
|
/* ---- Mainbox ---- */
|
|
|
|
mainbox {
|
|
|
|
enabled: true;
|
|
|
|
orientation: horizontal;
|
|
|
|
spacing: 0px;
|
|
|
|
margin: 0px;
|
|
|
|
background-color: @background;
|
2023-12-21 05:05:20 -05:00
|
|
|
background-image: @current-image;
|
2023-10-01 12:32:19 -04:00
|
|
|
children: ["imagebox","listbox"];
|
|
|
|
}
|
2023-09-28 14:43:29 -04:00
|
|
|
|
2023-10-01 12:32:19 -04:00
|
|
|
/* ---- Imagebox ---- */
|
|
|
|
imagebox {
|
|
|
|
padding: 18px;
|
|
|
|
background-color: transparent;
|
|
|
|
orientation: vertical;
|
|
|
|
children: [ "inputbar", "dummy", "mode-switcher" ];
|
2023-09-28 14:43:29 -04:00
|
|
|
}
|
|
|
|
|
2023-10-01 12:32:19 -04:00
|
|
|
/* ---- Listbox ---- */
|
|
|
|
listbox {
|
|
|
|
spacing: 20px;
|
|
|
|
background-color: transparent;
|
|
|
|
orientation: vertical;
|
|
|
|
children: [ "message", "listview" ];
|
2023-09-28 14:43:29 -04:00
|
|
|
}
|
|
|
|
|
2023-10-01 12:32:19 -04:00
|
|
|
/* ---- Dummy ---- */
|
|
|
|
dummy {
|
|
|
|
background-color: transparent;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* ---- Inputbar ---- */
|
2023-09-28 14:43:29 -04:00
|
|
|
inputbar {
|
2023-10-01 12:32:19 -04:00
|
|
|
enabled: true;
|
|
|
|
text-color: @foreground;
|
|
|
|
spacing: 10px;
|
|
|
|
padding: 15px;
|
|
|
|
border-radius: 10px;
|
|
|
|
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;
|
2023-09-28 14:43:29 -04:00
|
|
|
}
|
|
|
|
|
2023-10-01 12:32:19 -04:00
|
|
|
/* ---- 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 ---- */
|
2023-09-28 14:43:29 -04:00
|
|
|
listview {
|
2023-10-01 12:32:19 -04:00
|
|
|
enabled: true;
|
|
|
|
columns: 1;
|
|
|
|
lines: 8;
|
|
|
|
cycle: true;
|
|
|
|
dynamic: true;
|
|
|
|
scrollbar: false;
|
|
|
|
layout: vertical;
|
|
|
|
reverse: false;
|
|
|
|
fixed-height: true;
|
|
|
|
fixed-columns: true;
|
|
|
|
spacing: 0px;
|
|
|
|
padding: 10px;
|
|
|
|
margin: 0px;
|
|
|
|
background-color: @background;
|
|
|
|
border:0px;
|
2023-01-25 14:14:03 -05:00
|
|
|
}
|
|
|
|
|
2023-10-01 12:32:19 -04:00
|
|
|
/* ---- Element ---- */
|
2023-04-06 08:30:10 -04:00
|
|
|
element {
|
2023-10-01 12:32:19 -04:00
|
|
|
enabled: true;
|
|
|
|
padding: 10px;
|
|
|
|
margin: 5px;
|
|
|
|
cursor: pointer;
|
|
|
|
background-color: @background;
|
|
|
|
border-radius: 10px;
|
2024-02-16 02:02:26 -05:00
|
|
|
border: @border-width;
|
2023-10-01 12:32:19 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
element normal.normal {
|
|
|
|
background-color: inherit;
|
|
|
|
text-color: @foreground;
|
|
|
|
}
|
|
|
|
|
|
|
|
element normal.urgent {
|
|
|
|
background-color: inherit;
|
|
|
|
text-color: @foreground;
|
|
|
|
}
|
|
|
|
|
|
|
|
element normal.active {
|
|
|
|
background-color: inherit;
|
|
|
|
text-color: @foreground;
|
2023-09-28 16:22:27 -04:00
|
|
|
}
|
|
|
|
|
2023-10-01 12:32:19 -04:00
|
|
|
element selected.normal {
|
|
|
|
background-color: @color11;
|
|
|
|
text-color: @foreground;
|
|
|
|
}
|
|
|
|
|
|
|
|
element selected.urgent {
|
|
|
|
background-color: inherit;
|
|
|
|
text-color: @foreground;
|
|
|
|
}
|
|
|
|
|
|
|
|
element selected.active {
|
|
|
|
background-color: inherit;
|
|
|
|
text-color: @foreground;
|
|
|
|
}
|
|
|
|
|
|
|
|
element alternate.normal {
|
|
|
|
background-color: inherit;
|
|
|
|
text-color: @foreground;
|
|
|
|
}
|
|
|
|
|
|
|
|
element alternate.urgent {
|
|
|
|
background-color: inherit;
|
|
|
|
text-color: @foreground;
|
|
|
|
}
|
|
|
|
|
|
|
|
element alternate.active {
|
|
|
|
background-color: inherit;
|
|
|
|
text-color: @foreground;
|
2023-09-28 16:22:27 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
element-icon {
|
2023-10-01 12:32:19 -04:00
|
|
|
background-color: transparent;
|
|
|
|
text-color: inherit;
|
|
|
|
size: 32px;
|
|
|
|
cursor: inherit;
|
2023-09-28 16:22:27 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
element-text {
|
|
|
|
background-color: transparent;
|
|
|
|
text-color: inherit;
|
2023-10-01 12:32:19 -04:00
|
|
|
cursor: inherit;
|
|
|
|
vertical-align: 0.5;
|
|
|
|
horizontal-align: 0.0;
|
2023-01-25 14:14:03 -05:00
|
|
|
}
|
|
|
|
|
2023-10-01 12:32:19 -04:00
|
|
|
/*****----- Message -----*****/
|
|
|
|
message {
|
|
|
|
background-color: transparent;
|
|
|
|
border:0px;
|
|
|
|
margin:20px 0px 0px 0px;
|
|
|
|
padding:0px;
|
|
|
|
spacing:0px;
|
|
|
|
border-radius: 10px;
|
2023-04-11 09:25:32 -04:00
|
|
|
}
|
|
|
|
|
2023-10-01 12:32:19 -04:00
|
|
|
textbox {
|
|
|
|
padding: 15px;
|
|
|
|
margin: 0px;
|
|
|
|
border-radius: 0px;
|
|
|
|
background-color: @background;
|
|
|
|
text-color: @foreground;
|
|
|
|
vertical-align: 0.5;
|
|
|
|
horizontal-align: 0.0;
|
2023-04-11 09:25:32 -04:00
|
|
|
}
|
|
|
|
|
2023-10-01 12:32:19 -04:00
|
|
|
error-message {
|
|
|
|
padding: 15px;
|
|
|
|
border-radius: 20px;
|
|
|
|
background-color: @background;
|
|
|
|
text-color: @foreground;
|
|
|
|
}
|