Package Update is an applet for Cairo-Dock to build and update the dock and applets.
Play with cairo-dock sources: download/update, compile, restart dock... Useful for developers, testers and users who want to stay up to date, or maybe on a distro without packages.
const ( // EmblemVersion defines the position of the "new version" emblem. EmblemVersion = cdtype.EmblemBottomLeft // EmblemTarget defines the position of the "current target" emblem. EmblemTarget = cdtype.EmblemTopLeft )
const ( ActionNone = iota ActionShowDiff ActionShowVersions ActionCheckVersions ActionGrepTarget ActionCycleTarget ActionOpenFileTarget ActionToggleUserMode ActionToggleReload ActionToggleDiffStash ActionBuildTarget ActionUpdateAll ActionDownloadOthers )
List of actions defined in this applet. Actions order in this list must match the order in defineActions. The reference in shortkey declaration must also match.
NewApplet creates a new applet instance.
Applet defines a dock applet.
BuildTarget builds the current target.
GrepTarget searches the directory for the given string.
Init load user configuration if needed and initialise applet.
OpenFile opens a file in the configured editor. If the path is relative, the target sources folder will be used.
Versions returns current sources versions checked.