summaryrefslogtreecommitdiffstats
path: root/wofi/config
blob: d32a332aa62465d5abb09a15db7d8251cd4bc39d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
# ~/.config/wofi/config

# === Geometry ===
width=50%
height=40%
x=300%
y=250%
orientation=vertical
columns=1

# === Location / Layer ===
location=center           # center, top_left, top, top_right, right, bottom_right, bottom, bottom_left, left
layer=top                 # background, bottom, top, overlay
global_coords=false       # use global compositor space for x/y (avoid with location=)
normal_window=false       # set true if not using wlroots/layer-shell

# === Mode ===
show=drun                 # run, drun, dmenu, or combi e.g. run,drun
fork=true                 # fork so the launching terminal can close

# === Search ===
prompt=Search
matching=contains         # contains, strict-contains, multi-contains, fuzzy
insensitive=true
filter_rate=100           # debounce ms
exec_search=false         # Enter runs search text instead of first result
parse_search=false        # strip pango/image escapes from search
no_actions=false          # disable multi-action entries

# === Display ===
sort_order=alphabetical   # default, alphabetical
image_size=0              # icon size in px; 0 = disabled
dynamic_lines=true       # grow window to fit results
line_wrap=off             # off, word, char, word_char
allow_markup=false        # allow pango markup in entries
show_all=false            # show all entries before typing
allow_images=false

# === UI Elements ===
hide_search=false
hide_scroll=true
term_string=alacritty -e  # terminal for term= entries in desktop files

# === Clipboard ===
copy_exec=wl-copy

# === Quit behavior ===
quit_on_focus_loss=false

# === Password mode (uncomment to enable) ===
# password_char=*

# === Custom key bindings ===
key_expand=Tab
key_exit=Escape
# key_custom_0=Ctrl-1     # exit code 10
# key_custom_1=Ctrl-2     # exit code 11
# key_custom_2=Ctrl-3     # exit code 12

# === drun mode options ===
drun-print_command=false        # print desktop file path instead of launching
drun-display_generic=false      # show generic app name alongside app name
drun-only_match_name=false      # search only app name, skip category/description
drun-ignore_non_default_gpu=false

# === run mode options ===
run-cache_file=~/.cache/wofi-run
run-always_parse_args=false
run-show_all=false

# === dmenu mode options ===
dmenu-parse_action=false
dmenu-separator=
dmenu-print_line_num=false