Last variable in theme file bugging out #17

Open
opened 2019-02-28 04:25:18 +00:00 by MatthewCushing · 0 comments
MatthewCushing commented 2019-02-28 04:25:18 +00:00 (Migrated from github.com)

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.

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.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
bud/mondo#17
No description provided.