nixos-config/home-manager/modules/rofi/launch.rasi

87 lines
1.2 KiB
Text
Raw Normal View History

2021-11-12 17:10:17 +01:00
configuration {
modi: "drun";
font: "Overpass Nerd Font 10";
display-drun: "";
sidebar-mode: false;
show-icons: true;
icon-theme: "Paper";
}
@theme "/dev/null"
* {
bg: #b5b5aa;
fg: #2b2b2b;
button: #9e9e95;
background-color: @bg;
text-color: @fg;
}
window {
transparency: "real";
border-radius: 7px;
width: 40%;
y-offset: 10px;
padding: 20px;
location: north;
}
prompt { enabled: false; }
entry {
placeholder: "Search";
expand: true;
padding: 5px 2% 5px 2%;
background-color: @button;
placeholder-color: @fg;
}
inputbar {
children: [ prompt, entry ];
background-color: @button;
text-color: @fg;
expand: false;
border-radius: 6px;
padding: 8px;
}
listview {
columns: 1;
lines: 8;
cycle: false;
dynamic: true;
layout: vertical;
}
mainbox {
children: [ inputbar, listview ];
spacing: 2%;
padding: 2% 1% 2% 1%;
}
element {
orientation: horizontal;
border-radius: 0%;
padding: 1.0% 0% 1.0% 1.0%;
}
element-text {
expand: true;
vertical-align: 0.5;
margin: 0.5% 1% 0% 1%;
background-color: inherit;
text-color: inherit;
}
element-icon {
size: 48px;
border: 0px;
}
element selected {
background-color: @fg;
text-color: @bg;
border-radius: 6px;
}