Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ConfigLocation string = `$HOME/.config/i3persistantweatherblock`
Functions ¶
func IsButtonPressed ¶
func IsButtonPressed() bool
func SetConfigFile ¶
func SetConfigFile() error
func SetupConfig ¶
func SetupConfig(changeChannel chan<- struct{}) error
Types ¶
type Config ¶
type Config struct { CheckInterval int `json:"interval"` Location Location `json:"location"` Block Block `json:"block"` AlertPopup Popup `json:"alertPopup"` DetailPopup Popup `json:"detailPopup"` }
var MyConfig Config
Click to show internal directories.
Click to hide internal directories.