Package confown manages the own config of the dock and its GUI
This allows the configuration of the new dock settings.
const ( // GuiFilename is the name of the gui config file in the appdata dir. GuiFilename = "rework.conf" // GuiGroup is the name displayed in the config for the gui own config page. GuiGroup = "GUI Settings" // TmpFile is the path to the tempfile for the config tests (used for the diff). TmpFile = "cairo-dock-test.conf" )
Current is the user own config live settings (what is currently active).
Init will try to load the own config data from the file, and create it if missing.
PathFile returns the path to the own config's config file.
SaveFile is the current GUI save call to check whether it can be safely used according to user settings. May move at some point.
ConfigGUI defines the options the user can set about the GUI itself.
ConfigSettings defines new dock options. This GUI config page will often be referred as "own config".
Load loads the own config settings.
ToVirtual returns whether the save is virtual or not (only prints).
SeparatorWheelType defines the action when a separator receives a wheel scroll event.
const ( SeparatorWheelInactive SeparatorWheelType = iota // Do nothing SeparatorWheelChangeRange // Change desktop but do not cycle. SeparatorWheelChangeLoop // Change desktop and cycle between first and last. )
Actions when a separator receives a wheel scroll event.