configuration {
	modi: "drun";
	font: "JetBrainsMono Nerd Font 10";
	show-icons: false;
	terminal: "ghostty";
	icon-theme: "Papirus-Dark";
	drun-display-format: "{name}";
	display-drun: "";
  timeout {
      action: "kb-cancel";
      delay:  0;
  }
  filebrowser {
      directories-first: true;
      sorting-method:    "name";
  }
  kb-row-up: "Up,Control+k";
  kb-row-left: "Left,Control+h";
  kb-row-right: "Right,Control+l";
  kb-row-down: "Down,Control+j";

  kb-accept-entry: "Control+z,Control+y,Return,KP_Enter";

  //fixing up
  kb-remove-to-eol: "";
  kb-move-char-back: "Control+b";
  kb-remove-char-back: "BackSpace";
  kb-move-char-forward: "Control+f";
  kb-mode-complete: "Control+o";
}

@theme "/dev/null"

* {
    bg: #232933;
    fg: #d8dee9;
    selected: #2d3543;
    accent: #4d6a8e;
    background-color: @bg;

    color: @fg;
    border: 0;
    border-color: @bg;
    margin: 0;
    padding: 0;
    spacing: 0;    
    highlight: none;
}

window {
    width: 700px;
}

element {
    padding: 6 5 7 5;
    text-color: @fg;
}

element-text {
    vertical-align: 0.5;
    padding: 5px;
}

element selected {
    background-color: @selected;
}

element-text selected {
    background-color: @selected;
}

element-icon selected {
    background-color: @selected;
}

element-icon {
    size: 30;
}

entry {
    background-color: @bg;
    columns: 1;
    lines: 20;
}

inputbar {
    children: [prompt, entry];
}

prompt {
    text-color: @bg;
    background-color: @accent;
    padding: 12 12 12 12;
}

entry {
    text-color: @bg;
    background-color: @accent;
    padding: 12 5 12 0;
}

listview {
    background-color: @bg;
    columns: 1;
    lines: 6;
}
