configuration {
    /*---------- General setting ----------*/
    combi-modi: "drun,run";
    combi-hide-mode-prefix: true;
    /*combi-display-format: "{text} [<span weight='light' size='small'><i>({mode})</i></span>]";*/
    modi: "combi,window,filebrowser";
    case-sensitive: false;
    cycle: true;
    filter: "";
    scroll-method: 0;
    normalize-match: true;
    show-icons: true;
    icon-theme: "Papirus";
    steal-focus: false;

    /*---------- Matching setting ----------*/
    matching: "normal";
    tokenize: true;

    /*---------- SSH settings ----------*/
    ssh-client: "ssh";
    ssh-command: "{terminal} -e \"{ssh-client} {host} [-p {port}]\"";
    parse-hosts: true;
    parse-known-hosts: true;

    /*---------- Drun settings ----------*/
    drun-categories: "";
    drun-match-fields: "name,generic,exec,categories,keywords";
    drun-display-format: "{name} [<span weight='light' size='x-small'><i>({generic})</i></span>]";
    drun-show-actions: false;
    drun-url-launcher: "xdg-open";
    drun-use-desktop-cache: false;
    drun-reload-desktop-cache: false;
    drun {
        /** Parse user desktop files. */
        parse-user:   true;
        /** Parse system desktop files. */
        parse-system: true;
    }

    /*---------- Run settings ----------*/
    run-command: "{cmd}";
    run-list-command: "";
    run-shell-command: "{terminal} -e \"{cmd}\"";

    /*---------- Fallback Icon ----------*/
    run,drun {
        fallback-icon: "application-x-addon";
    }

    /*---------- Window switcher settings ----------*/
    window-command: "wmctrl -i -R {window}";
    window-format: "{w} - {c} - {t:0}";
    window-thumbnail: false;

    /*---------- History and Sorting ----------*/
    disable-history: false;
    sorting-method: "normal";

    /*---------- Display setting ----------*/
    display-window: "Windows";
    display-windowcd: "Window CD";
    display-run: "Exec";
    display-calc: "Calc";
    display-ssh: "SSH";
    display-drun: "Apps";
    display-combi: "Run";
    display-keys: "Keys";
    display-filebrowser: "Files";

    /*---------- Misc setting ----------*/
    terminal: "rofi-sensible-terminal";
    //font: "JetBrains Mono Nerd Font 11" ;
    font: "Ubuntu Nerd Font 12" ;
    sort: false;
    threads: 0;
    click-to-exit: true;

    filebrowser {
      directories-first: true;
      sorting-method:    "name";
    }
}

@theme "/home/jinks/.local/share/rofi/themes/arc-dark.rasi"
