configuration {
  modi: "window,combi,ssh,drun,run";
  font: "Menlo 12";
  lines: 10;
  columns: 2;
  dpi: 192;
  drun-icon-theme: "Reversal-green-dark";

  drun {
    display-name: "";
  }

  run {
    display-name: "";
  }
    
  window {
    display-name: "";
  }

  windowcd {
    display-name: "";
  }

  ssh {
    display-name: "⚝";
  }

  drun-display-format: "{name}";
  window-format: "{c} - {t}";

  timeout {
    delay: 10;
    action: "kb-cancel";
  }
}

@theme "./colors.rasi"


window {
  transparency: "real";
  width: 720px;
  border-radius: 4px;
  background-color: @bg;
}

mainbox {
  padding: 24px;
  children: [inputbar, listview];
}

inputbar {
  background-color: @grey;
  border-radius: 6px;
  margin: 12px 0;
  children: [prompt, entry];
}

entry {
  background-color: transparent;
  padding: 16px 4px;
}

prompt {
  padding: 16px;
  background-color: transparent;
}

listview {
  lines: 8;
  scrollbar: true;
  cycle: false;
  background-color: transparent;
}

scrollbar {
  handle-width: 5px ;
  handle-color: @blue;
  background-color: @bg;
}

element {
  padding: 0 12px;
  margin: 0 12px 0 0;
  border-radius: 6px;
  text-color: @blue;
  background-color: transparent;
  children: [element-icon, element-text];
}

element-icon {
  size: 2ch;
  padding: 12px 10px;
  background-color: transparent;
}

element-text {
  padding: 12px 0;
  text-color: inherit;
  background-color: transparent;
}

element selected {
  background-color: @greena;
}
element-text selected {
  text-color: #ffffff;
}
