dotfiles/yofi/yofi.config

93 lines
2.7 KiB
Plaintext
Raw Normal View History

2023-12-23 20:13:47 -07:00
# Width/height of the app in pixels
width = 600
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 = "/usr/share/fonts/adobe-source-code-pro/SourceCodePro-Regular.oft"
#font = "cantarell"
#font = "noto"
#font = "DejaVu Sans"
# TODO: Panics on pretty much everything
font_size = 20
# Color of the app background
# Colors are specified in 0xRRGGBBAA format
#bg_color = 0x272822ee
bg_color = 0x222222e0
# Color for the fonts
# font_color = 0xf8f8f2ff
# TODO: Doesn't work
font_color = 0xebdbb2ff
# HiDPI scaling factor; default is requested from compositor but
# fractional values are truncated, so one may want to set it explicitly.
# scale = 3
scale = 1
# 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 = "3 -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 = 0xebdbb2ff
# Font color for an item that currently selected
#selected_font_color = 0xa6e22eff
#selected_font_color = 0xa6e22e00
selected_font_color = 0xebdbb2ff
# if specified, search matches are emphasized with this color
#match_color = 0xfabd2fff # Yellow
# TODO: Underline
match_color = 0x8ec07cff
margin = "5 10"
# If set to true hides the desktop actions
hide_actions = true
# 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"
# vim: set ft=toml: