1
Configuration
Yash Karandikar edited this page 2022-06-27 02:05:28 -05:00
xcrab expects a configuration file at ~/.config/xcrab/config.toml
. If this file is not found, xcrab will fall back to the defaults.
Here is a sample config:
border_color = 0x00_3b_6f
border_size = 4
gap_size = 1
[msg]
socket_path = "/tmp/xcrab.sock"
border_color
is an RGB colour. border_size
and gap_size
both refer to pixels.
the msg
section contains configuration for the xcrab-msg
utility. socket_path
is required and refers to the socket over which xcrab-msg
will communicate with xcrab. Make sure the user running xcrab has permission to read and write to this file.