hyprdots/Configs/.config/rofi/notification.rasi
2024-12-10 23:54:56 +01:00

95 lines
2.8 KiB
Text

// Config //
configuration {
modi: "drun";
show-icons: true;
drun-display-format: "{name}";
font: "JetBrainsMono Nerd Font 9";
}
@theme "~/.config/rofi/theme.rasi"
// Main //
window {
enabled: true;
fullscreen: false;
width: 40em;
height: 32.8em;
transparency: "real";
cursor: "default";
spacing: 0em;
padding: 0em;
border: 0em;
border-radius: 0em;
border-color: transparent;
background-color: transparent;
background-image: url("~/.config/rofi/assets/notification.png", width);
}
mainbox {
enabled: true;
orientation: vertical;
children: [ "dummy" , "frame" ];
background-color: transparent;
}
dummy {
padding: 6em;
expand: false;
background-color: transparent;
}
frame {
enabled: true;
orientation: vertical;
children: [ "dummy2" , "listview" , "dummy2" ];
background-color: transparent;
}
// Lists //
listview {
enabled: true;
spacing: 0em;
padding: 0em;
columns: 1;
lines: 5;
cycle: true;
dynamic: true;
scrollbar: false;
layout: vertical;
reverse: false;
expand: false;
fixed-height: true;
fixed-columns: true;
cursor: "default";
background-color: transparent;
}
dummy2 {
spacing: 0em;
padding: 0em;
background-color: transparent;
}
// Elements //
element {
enabled: true;
spacing: 1em;
padding: 1em;
cursor: pointer;
background-color: transparent;
text-color: @main-fg;
border-radius: 0em;
}
element selected.normal {
background-color: @select-bg;
text-color: @select-fg;
}
element-icon {
enabled: false;
}
element-text {
vertical-align: 0.5;
horizontal-align: 0.5;
cursor: inherit;
background-color: transparent;
text-color: inherit;
}