rofi/config.rasi 1.5 K raw
1
/* rofi settings. The look lives in the theme file; this is behaviour only. */
2
configuration {
3
    /* Modes reachable with `rofi -show <name>`. drun is the launcher (it
4
       reads .desktop files, so entries get icons and their real names), run
5
       is bare executables on PATH, window switches to something already
6
       open, and combi searches drun + run + window at once. */
7
    modes:      "drun,run,window,combi,filebrowser,ssh,keys";
8
    combi-modes: "drun,run,window";
9
10
    /* Fuzzy matching with sorting: "fx" finds "firefox", and the closest
11
       match still comes first. Set matching to "normal" for plain substring
12
       search if fuzzy ever feels too loose. */
13
    matching:   "fuzzy";
14
    sort:       true;
15
16
    show-icons: true;
17
    icon-theme: "Adwaita";
18
19
    /* ssh mode and "run in terminal" open this; matches $term in sway. */
20
    terminal:   "kitty";
21
22
    drun-display-format:    "{name} [<span weight='light' size='small'><i>({generic})</i></span>]";
23
    drun-match-fields:      "name,generic,exec,categories,keywords";
24
    /* Right-click actions from the .desktop file (new window, private
25
       window, and so on) become their own entries. */
26
    drun-show-actions:      true;
27
28
    window-format:          "{w}  {c}  {t}";
29
30
    display-drun:        "apps";
31
    display-run:         "run";
32
    display-window:      "windows";
33
    display-combi:       "all";
34
    display-filebrowser: "files";
35
    display-ssh:         "ssh";
36
    display-keys:        "keys";
37
    display-clipboard:   "clipboard";
38
    display-calc:        "calc";
39
}
40
41
@theme "darkmatter"