191 lines
5.7 KiB
Plaintext
191 lines
5.7 KiB
Plaintext
@theme "/dev/null"
|
|
@import "colors.rasi"
|
|
|
|
configuration {
|
|
modi: "drun,filebrowser,window,emoji";
|
|
display-drun: "apps";
|
|
display-window: "windows";
|
|
display-filebrowser: "files";
|
|
display-emoji: "emoji";
|
|
drun-display-format: "{name}";
|
|
font: "JetBrainsMono Nerd Font 10";
|
|
// show-icons: true;
|
|
icon-theme: "Colloid";
|
|
}
|
|
|
|
window {
|
|
/* properties for window widget */
|
|
transparency: "real";
|
|
location: center;
|
|
anchor: center;
|
|
fullscreen: false;
|
|
width: 1000px;
|
|
x-offset: 0px;
|
|
y-offset: 0px;
|
|
|
|
/* properties for all widgets */
|
|
enabled: true;
|
|
border: 2px solid;
|
|
border-color: @secondary-container;
|
|
border-radius: 5px;
|
|
cursor: "default";
|
|
background-color: @on-primary;
|
|
// background-color: transparent;
|
|
}
|
|
|
|
mainbox {
|
|
enabled: true;
|
|
spacing: 0px;
|
|
background-color: transparent;
|
|
orientation: horizontal;
|
|
children: [ "imagebox", "listbox" ];
|
|
}
|
|
|
|
imagebox {
|
|
padding: 5px;
|
|
background-color: transparent;
|
|
|
|
// Current wallpaper should be set by the process that changes the wallpaper (like mutagen or quickshell)
|
|
background-image: url("~/.config/hypr/current_wallpaper", height);
|
|
orientation: vertical;
|
|
children: [ "inputbar", "dummy", "mode-switcher" ];
|
|
}
|
|
|
|
listbox {
|
|
spacing: 20px;
|
|
padding: 5px;
|
|
background-color: transparent;
|
|
orientation: vertical;
|
|
children: [ "message", "listview" ];
|
|
}
|
|
|
|
// Dummy element to create space between inputbar and mode-switcher
|
|
dummy {
|
|
background-color: transparent;
|
|
}
|
|
|
|
inputbar {
|
|
enabled: true;
|
|
spacing: 2px;
|
|
padding: 5px;
|
|
border-radius: 5px;
|
|
background-color: @on-primary;
|
|
text-color: @on-surface;
|
|
children: [ "textbox-prompt-colon", "entry" ];
|
|
}
|
|
textbox-prompt-colon {
|
|
enabled: true;
|
|
expand: false;
|
|
str: " ";
|
|
background-color: inherit;
|
|
text-color: inherit;
|
|
}
|
|
entry {
|
|
enabled: true;
|
|
background-color: inherit;
|
|
text-color: inherit;
|
|
cursor: text;
|
|
placeholder: "Whaddup?";
|
|
placeholder-color: inherit;
|
|
}
|
|
|
|
mode-switcher{
|
|
enabled: true;
|
|
spacing: 5px;
|
|
background-color: transparent;
|
|
text-color: @inverse-on-surface;
|
|
}
|
|
button {
|
|
padding: 5px;
|
|
border-radius: 5px;
|
|
background-color: @on-primary;
|
|
text-color: inherit;
|
|
cursor: pointer;
|
|
}
|
|
button selected {
|
|
background-color: @tertiary;
|
|
text-color: @on-secondary;
|
|
}
|
|
|
|
listview {
|
|
enabled: true;
|
|
columns: 1;
|
|
lines: 12;
|
|
cycle: true;
|
|
dynamic: true;
|
|
scrollbar: false;
|
|
layout: vertical;
|
|
reverse: false;
|
|
fixed-height: true;
|
|
fixed-columns: true;
|
|
|
|
spacing: 2px;
|
|
background-color: transparent;
|
|
text-color: @on-surface;
|
|
cursor: "default";
|
|
}
|
|
|
|
element {
|
|
enabled: true;
|
|
spacing: 5px;
|
|
padding: 5px;
|
|
border-radius: 5px;
|
|
background-color: transparent;
|
|
text-color: @on-surface;
|
|
cursor: pointer;
|
|
}
|
|
element normal.normal {
|
|
background-color: inherit;
|
|
text-color: inherit;
|
|
}
|
|
element normal.urgent {
|
|
background-color: @error;
|
|
text-color: @on-surface;
|
|
}
|
|
element normal.active {
|
|
background-color: @primary;
|
|
text-color: @on-surface;
|
|
}
|
|
element selected.normal {
|
|
background-color: @tertiary;
|
|
text-color: @on-secondary;
|
|
}
|
|
element selected.urgent {
|
|
background-color: @error;
|
|
text-color: @on-secondary;
|
|
}
|
|
element selected.active {
|
|
background-color: @error;
|
|
text-color: @on-secondary;
|
|
}
|
|
element-icon {
|
|
background-color: transparent;
|
|
text-color: inherit;
|
|
// size: 20px;
|
|
cursor: inherit;
|
|
}
|
|
element-text {
|
|
background-color: transparent;
|
|
text-color: inherit;
|
|
cursor: inherit;
|
|
vertical-align: 0.5;
|
|
horizontal-align: 0.0;
|
|
}
|
|
|
|
message {
|
|
background-color: transparent;
|
|
}
|
|
textbox {
|
|
padding: 15px;
|
|
border-radius: 5px;
|
|
background-color: @on-primary;
|
|
text-color: @on-surface;
|
|
vertical-align: 0.5;
|
|
horizontal-align: 0.0;
|
|
}
|
|
error-message {
|
|
padding: 15px;
|
|
border-radius: 20px;
|
|
background-color: @on-primary;
|
|
text-color: @on-surface;
|
|
} |