mirror of
https://github.com/make-42/xyosc
synced 2025-01-19 11:07:35 +01:00
yes
This commit is contained in:
parent
fb637be096
commit
5aa06e90fc
@ -177,7 +177,7 @@ func Init() {
|
|||||||
func updatePywalColors() {
|
func updatePywalColors() {
|
||||||
walPath := configdir.LocalCache("wal")
|
walPath := configdir.LocalCache("wal")
|
||||||
walFile := filepath.Join(walPath, "colors")
|
walFile := filepath.Join(walPath, "colors")
|
||||||
if _, err := os.Stat(walFile); os.IsNotExist(err) {
|
if _, err := os.Stat(walFile); os.IsNotExist(err) || Config.ForceColors {
|
||||||
AccentColor = color.RGBA{Config.AccentColorR, Config.AccentColorG, Config.AccentColorB, Config.LineOpacity}
|
AccentColor = color.RGBA{Config.AccentColorR, Config.AccentColorG, Config.AccentColorB, Config.LineOpacity}
|
||||||
FirstColor = color.RGBA{Config.FirstColorR, Config.FirstColorG, Config.FirstColorB, Config.LineOpacity}
|
FirstColor = color.RGBA{Config.FirstColorR, Config.FirstColorG, Config.FirstColorB, Config.LineOpacity}
|
||||||
ThirdColor = color.RGBA{Config.ThirdColorR, Config.ThirdColorG, Config.ThirdColorB, Config.LineOpacity}
|
ThirdColor = color.RGBA{Config.ThirdColorR, Config.ThirdColorG, Config.ThirdColorB, Config.LineOpacity}
|
||||||
|
Loading…
Reference in New Issue
Block a user