Hyprland-dotfiles/rofi/config-short.rasi

264 lines
7.3 KiB
Plaintext
Raw Permalink Normal View History

2023-10-02 04:17:11 -04:00
/*
# ____ __ _
# | _ \ ___ / _(_)
# | |_) / _ \| |_| |
# | _ < (_) | _| |
# |_| \_\___/|_| |_|
#
# by Stephan Raabe (2023)
# -----------------------------------------------------
*/
/* ---- Configuration ---- */
configuration {
modi: "drun,run";
2024-03-08 04:18:45 -05:00
font: "Fira Sans 11";
2023-10-02 04:17:11 -04:00
show-icons: false;
icon-theme: "kora";
display-drun: "APPS";
display-run: "RUN";
display-filebrowser: "FILES";
display-window: "WINDOW";
2023-10-02 04:31:06 -04:00
hover-select: true;
me-select-entry: "";
me-accept-entry: "MousePrimary";
drun-display-format: "{name}";
2023-10-02 04:17:11 -04:00
window-format: "{w} · {c} · {t}";
}
2024-03-09 05:42:41 -05:00
/* ---- Load font ---- */
@import "~/dotfiles/.settings/rofi-font.rasi"
2023-10-02 04:17:11 -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-10-02 04:17:11 -04:00
/* ---- Window ---- */
window {
width: 200px;
height: 130px;
2023-10-18 10:41:10 -04:00
x-offset: -14px;
y-offset: 65px;
2023-10-02 04:17:11 -04:00
spacing: 0px;
padding: 0px;
margin: 0px;
color: #FFFFFF;
2024-02-16 02:02:26 -05:00
border: @border-width;
2023-10-02 04:17:11 -04:00
border-color: #FFFFFF;
cursor: "default";
transparency: "real";
location: northeast;
anchor: northeast;
fullscreen: false;
enabled: true;
border-radius: @border-radius;
2023-10-02 04:17:11 -04:00
background-color: transparent;
}
/* ---- 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-02 04:17:11 -04:00
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: [ "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;
2024-03-20 04:25:52 -04:00
padding: 0px 5px 0px 0px;
2023-10-02 04:17:11 -04:00
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: @border-radius;
2023-10-02 04:17:11 -04:00
background-color: @background;
text-color: inherit;
cursor: pointer;
border: 0px;
}
button selected {
background-color: @color11;
text-color: @foreground;
}
/* ---- Listview ---- */
listview {
enabled: true;
columns: 1;
lines: 2;
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;
}
/* ---- Element ---- */
element {
enabled: true;
padding: 10px;
margin: 5px;
cursor: pointer;
background-color: @background;
border-radius: @border-radius;
2024-02-16 02:02:26 -05:00
border: @border-width;
2023-10-02 04:17:11 -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;
}
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;
}
element-icon {
background-color: transparent;
text-color: inherit;
size: 32px;
cursor: inherit;
}
element-text {
background-color: transparent;
text-color: inherit;
cursor: inherit;
vertical-align: 0.5;
horizontal-align: 0.0;
}
/*****----- 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;
}