config

package
v0.0.0-...-1378ae3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 27, 2020 License: MIT Imports: 6 Imported by: 0

Documentation

Index

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 SetAllBorders(size int, colorNormal, colorActive, colorAttention uint32)

func SetBottomBorder

func SetBottomBorder(size int, colorNormal, colorActive, colorAttention uint32)

func SetLeftBorder

func SetLeftBorder(size int, colorNormal, colorActive, colorAttention uint32)

func SetRightBorder

func SetRightBorder(size int, colorNormal, colorActive, colorAttention uint32)

func SetTopBorder

func SetTopBorder(size int, colorNormal, colorActive, colorAttention uint32)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL