Documentation ¶
Index ¶
- Variables
- func FindAndRunSwmrc(customPath string)
- func SetAllBorders(size int, colorNormal, colorActive, colorAttention uint32)
- func SetBottomBorder(size int, colorNormal, colorActive, colorAttention uint32)
- func SetLeftBorder(size int, colorNormal, colorActive, colorAttention uint32)
- func SetRightBorder(size int, colorNormal, colorActive, colorAttention uint32)
- func SetTopBorder(size int, colorNormal, colorActive, colorAttention uint32)
Constants ¶
This section is empty.
Variables ¶
View Source
var BorderBottom = &decoration.BorderConfig{
Size: 1,
ColorNormal: borderColorInactive,
ColorActive: borderColorActive,
ColorAttention: borderColorAttention,
}
View Source
var BorderLeft = &decoration.BorderConfig{
Size: 1,
ColorNormal: borderColorInactive,
ColorActive: borderColorActive,
ColorAttention: borderColorAttention,
}
View Source
var BorderRight = &decoration.BorderConfig{
Size: 1,
ColorNormal: borderColorInactive,
ColorActive: borderColorActive,
ColorAttention: borderColorAttention,
}
View Source
var BorderTop = &decoration.BorderConfig{
Size: 1,
ColorNormal: borderColorInactive,
ColorActive: borderColorActive,
ColorAttention: borderColorAttention,
}
View Source
var FontPath = "/usr/share/fonts/TTF/DejaVuSansMono.ttf"
View Source
var InfoBoxBgColor uint32 = 0x00BCD4
View Source
var InfoBoxTextColor uint32 = 0xFFFFFF
View Source
var MoveDragShortcut = ""
View Source
var ResizeDragShortcut = ""
Functions ¶
func FindAndRunSwmrc ¶
func FindAndRunSwmrc(customPath string)
FindAndRunSwmrc finds first existing swmrc file and executes it Searched locations:
- if customPath is provided, only customPath is tried 1) {XDG_CONFIG_HOME}/{swmDir}/{swmrcFile} 2) {HOME}/.config/{swmDir}/{swmrcFile} 3) {HOME}/.{swmDir}/{swmrcFile}
func SetAllBorders ¶
func SetBottomBorder ¶
func SetLeftBorder ¶
func SetRightBorder ¶
func SetTopBorder ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.