aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/sway/.config/yofi/yofi.config
blob: b1a7f08b042f0f3cf49435784ebef54663b0aee7 (plain)
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
75
76
# Width/height of the app in pixels
width = 400  
height = 512

# If set forces usage of basic window instead of Layer Shell wayland protocol
force_window = false

# if unset, renders window centered
# window_offsets = [500, -50] # in format [top_offset_pixels, left_offset_pixels]

# font = "DejaVu Sans"
# or you may use an absolute path, e.g:
# font = "/usr/share/fonts/TTF/DejaVuSans.ttf"
font_size = 24

# Color of the app background
# Colors are specified in 0xRRGGBBAA format
bg_color = 0x272822ee
# Color for the fonts
# font_color = 0xf8f8f2ff

# HiDPI scaling factor; default is requested from compositor but
# fractional values are truncated, so one may want to set it explicitly.
# scale = 3

# TOML sections are scope config values for a related blocks.
# This one for instance is for input field area.
[input_text]
# font = ...
font_color = 0xf8f8f2ff
bg_color = 0x75715eff

# Margin/padding values are specified as in CSS but only in pixels.
# So it's either a single value for all directions
# or two values, the first for top/bottom and the second for left/right
# or finally four values for top, right, bottom and left directions respectively.
margin = "5" # equivalent to "5 5 5 5"
padding = "1.7 -4" # equivalent to "1.7 -4 1.7 -4"

# Section for items in the search results area.
[list_items]
# font = ...
font_color = 0xf8f8f2ff

# Font color for an item that currently selected
selected_font_color = 0xa6e22eff

# if specified, search matches are emphasized with this color
match_color = 0xe69f66ff

margin = "5 10"

# If set to true hides the desktop actions
hide_actions = false
# Specify left margin for action line
action_left_margin = 60

# Additional spacing between list items.
# By default there's a space around 10 pixels
# the value can be reduced by specifying a negative value
item_spacing = 2

# Spacing between an icon and a text.
icon_spacing = 5

# Sections for the icons. When this section presents, icons are displayed
[icon]
# For now app only supports fixed sized icons and there's no icon up/down-scaling yet.
# More info: https://github.com/l4l/yofi/issues/76#issuecomment-1023631399 
size = 16

# For the icon search path
theme = "Adwaita"

# If no icon found for an entry, this one will be used instead
fallback_icon_path = "/usr/share/icons/Adwaita/16x16/categories/applications-engineering-symbolic.symbolic.png"