Documentation
¶
Overview ¶
package misc has some functions that really don't belong in any particular package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( DejavusansTtf []byte WingoWav []byte WingoPng []byte ClosePng []byte MinimizePng []byte MaximizePng []byte Wallpaper []byte )
View Source
var ConfigPaths = xdg.Paths{
Override: "",
XDGSuffix: "Wonderland",
GoImportPath: "github.com/Anima-OS/Wonderland/config",
}
View Source
var DataPaths = xdg.Paths{
Override: "",
XDGSuffix: "Wonderland",
GoImportPath: "github.com/Anima-OS/Wonderland/data",
}
View Source
var ScriptPaths = xdg.Paths{
Override: "",
XDGSuffix: "Wonderland",
GoImportPath: "github.com/Anima-OS/Wonderland/config",
}
Functions ¶
func ConfigFile ¶
func Mod ¶
This exists because '%' isn't really modulus; it's *remainder*. e.g., (-1) % 2 = -1 but (-1) mod 2 = 1.
func ScriptConfigPath ¶
func ScriptPath ¶
func StackTrace ¶
func StackTrace() string
Prints a simple stack trace without panicing.
XXX: I tried using runtime.Stack, but I couldn't get it to work...
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.