dotfiles/files/rofi.rasi
Jake Howard 8baf41bb2c
Dont change rofi height whilst typing.
But if there aren't enough results to fill it, still shrink then on startup
2021-09-12 11:09:50 +01:00

159 lines
2.9 KiB
Text

configuration {
modi: "window,ssh,drun";
width: 40;
lines: 10;
show-icons: true;
ssh-command: "alacritty -e {ssh-client} {host}";
sort: true;
matching: "glob";
kb-mode-next: "Alt+Right";
kb-mode-previous: "Alt+Left";
}
/**
* ROFI Color theme
* User: mbfraga
* Copyright: Martin B. Fraga
* Copied from https://github.com/davatorium/rofi-themes/blob/master/User%20Themes/flat-orange.rasi, with modifications
*/
/* global settings and color variables */
* {
maincolor: #ed8712;
highlight: bold #ed8712;
urgentcolor: #e53714;
fgwhite: #cfcfcf;
blackdarkest: #1d1d1d;
blackwidget: #262626;
blackentry: #292929;
blackselect: #303030;
darkgray: #848484;
scrollbarcolor: #505050;
font: "DejaVu Sans Mono Regular 12";
background-color: @blackdarkest;
}
window {
background-color: @blackdarkest;
anchor: center;
location: center;
}
mainbox {
background-color: @blackdarkest;
spacing:0px;
children: [inputbar, message, mode-switcher, listview];
}
message {
padding: 6px 10px;
background-color:@blackwidget;
}
textbox {
text-color:@darkgray;
background-color:@blackwidget;
}
listview {
fixed-height: false;
dynamic: false;
scrollbar: true;
spacing: 0px;
padding: 1px 0px 0px 0px;
margin: 0px 0px 1px 0px;
background: @blackdarkest;
}
element {
padding: 2px 15px;
}
element normal.normal {
padding: 0px 15px;
background-color: @blackentry;
text-color: @fgwhite;
}
element normal.urgent {
background-color: @blackentry;
text-color: @urgentcolor;
}
element normal.active {
background-color: @blackentry;
text-color: @maincolor;
}
element selected.normal {
background-color: @blackselect;
text-color: @fgwhite;
}
element selected.urgent {
background-color: @urgentcolor;
text-color: @blackdarkest;
}
element selected.active {
background-color: @maincolor;
text-color: @blackdarkest;
}
element alternate.normal {
background-color: @blackentry;
text-color: @fgwhite;
}
element alternate.urgent {
background-color: @blackentry;
text-color: @urgentcolor;
}
element alternate.active {
background-color: @blackentry;
text-color: @maincolor;
}
scrollbar {
background-color: @blackwidget;
handle-color: @darkgray;
handle-width: 15px;
}
mode-switcher {
background-color: @blackwidget;
}
button {
background-color: @blackwidget;
text-color: @darkgray;
}
button selected {
text-color: @maincolor;
}
inputbar {
background-color: @blackdarkest;
spacing: 0px;
}
prompt {
padding:6px 9px;
background-color: @maincolor;
text-color:@blackwidget;
}
entry {
padding:6px 10px;
background-color:@blackwidget;
text-color:@fgwhite;
}
case-indicator {
padding:6px 10px;
text-color:@maincolor;
background-color:@blackwidget;
}