Documentation ¶
Overview ¶
Package res contains various resources embedded within resetti that are used elsewhere.
Index ¶
Constants ¶
View Source
const ( CgroupScriptPath = "/cgroup_setup.sh" DefaultConfigPath = "/default.toml" ObsScriptPath = "/scene-setup.lua" )
Variables ¶
View Source
var CgroupScript []byte
CgroupScript contains the cgroups setup shell script.
View Source
var DefaultConfig []byte
DefaultConfig contains the example configuration.
View Source
var ObsScript []byte
ObsScript contains the OBS scene collection generator script.
Functions ¶
func GetDataDirectory ¶
func GetDataDirectory() string
GetDataDirectory returns the path to the data directory for resetti. If an override was specified at build time, it will be used. Otherwise, $XDG_DATA_HOME/resetti or $HOME/.local/share/resetti will be used.
func WriteResources ¶
func WriteResources() error
WriteResources writes various resources to disk on startup if needed.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.