Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MakeProfile ¶
MakeProfile makes a new profile with the default configuration.
Types ¶
type Profile ¶ added in v0.4.0
type Profile struct { General struct { ResetType string `toml:"type"` CountResets bool `toml:"count_resets"` CountPath string `toml:"resets_file"` } `toml:"general"` Hooks struct { WallReset string `toml:"wall_reset"` Reset string `toml:"reset"` Lock string `toml:"lock"` Unlock string `toml:"unlock"` } `toml:"hooks"` Obs struct { Enabled bool `toml:"enabled"` Port uint16 `toml:"port"` Password string `toml:"password"` } `toml:"obs"` Reset struct { Delay int `toml:"delay"` PauseDelay int `toml:"pause_delay"` UnpauseFocus bool `toml:"unpause_on_focus"` } `toml:"reset"` Keys struct { Focus x11.Key `toml:"focus"` Reset x11.Key `toml:"reset"` WallReset x11.Keymod `toml:"wall_reset"` WallResetOthers x11.Keymod `toml:"wall_reset_others"` WallPlay x11.Keymod `toml:"wall_play"` WallLock x11.Keymod `toml:"wall_lock"` } `toml:"keybinds"` Wall struct { HideGui bool `toml:"hide_gui"` StretchWindows bool `toml:"stretch_windows"` StretchWidth uint32 `toml:"stretch_width"` StretchHeight uint32 `toml:"stretch_height"` UnstretchWidth uint32 `toml:"unstretch_width"` UnstretchHeight uint32 `toml:"unstretch_height"` ResizeX uint32 `toml:"resize_x"` ResizeY uint32 `toml:"resize_y"` UseMouse bool `toml:"use_mouse"` GoToLocked bool `toml:"goto_locked"` SleepBgLock bool `toml:"sleepbg_lock"` SleepBgLockPath string `toml:"sleepbg_lock_path"` } `toml:"wall"` AdvancedWall struct { Affinity bool `toml:"affinity"` CpusIdle int `toml:"affinity_idle"` CpusLow int `toml:"affinity_low"` CpusMid int `toml:"affinity_mid"` CpusHigh int `toml:"affinity_high"` CpusActive int `toml:"affinity_active"` LowThreshold int `toml:"low_threshold"` } `toml:"advanced_wall"` MovingWall struct { UseMovingWall bool `toml:"use_moving_wall"` ResetFirstLoaded x11.Key `toml:"reset_first_loaded"` LockFirstLoaded x11.Key `toml:"lock_first_loaded"` UnlockFirstLocked x11.Key `toml:"unlock_first_loaded"` PlayFirstLocked x11.Key `toml:"play_first_locked"` PlayFirstLoaded x11.Key `toml:"play_first_loaded"` } `toml:"moving_wall"` }
func GetProfile ¶
GetProfile returns a specific configuration profile.
Click to show internal directories.
Click to hide internal directories.