budlabs / mondo

A theme manager and generator written in bash
MIT License
36 stars 2 forks source link

Last variable in theme file bugging out #17

Open MatthewCushing opened 5 years ago

MatthewCushing commented 5 years ago

This only occurs when the last line in your theme file is a variable (from what I noticed). I noticed this when I hadn't added in

! syntax:ssExcla

at the end of my file. For example, this was my theme file:

!! Theme:    wheat
!! Author:   cush
!! Created:  2019-02-27
...
...
...
accent          blu
altAccent       blu3
bg              blk2
altBg           grey
fg              wht2
altFg           blu2
alt2Fg          wht3
cursor          wht3
altCursor       blu

primaryFont     monospace

And when I looked in my i3 config, this was happening

font pango:monospacegtktheme 12

gtktheme was the first line in my default theme file. So I then just deleted everything in that file and then I got:

font pango:monospace!! Theme: wheat 12

I then tried adding a fake variable at the end of my file and this issue went away. I can't reproduct the issue once I fixed it though. So not sure but figured I'd let you know.