Crylia / crylia-theme

A theme for AwesomeWM
523 stars 26 forks source link

[BUG] Rofi not able to parse .rasi file #11

Closed Tickle closed 2 years ago

Tickle commented 2 years ago

Describe the bug When running rofi -show drun -theme ~/.config/rofi/rofi.rasi and rofi -show drun -theme ~/.config/rofi/window.rasi I encounter the same issue where rofi is not able to parse the config file correctly Specifically lines with @ to another variable such as border-color: @accent; don't seem to work, and instead tells me "The following errors were detected when starting rofi: failed to resolve variable 'border' in: 'window { border-color: var(border);}'" in a large white box that covers the entire image.

Expected behavior Rofi runs with correct theme applied

Information (please complete the following information):

Crylia commented 2 years ago

Can you please provide the output of rofi -v?

Tickle commented 2 years ago

Version: 1.7.3-61-gc0feb2eb (makepkg) Sorry I should have included this in the original post

Crylia commented 2 years ago

window { border-color: var(border);} That should be in line 24 ish, does it work once you removed the line?

Tickle commented 2 years ago

In what file sorry? I looked in rofi.rasi and could not find it

Crylia commented 2 years ago

24: border-color: @border;

Its in this repo, rofi.rasi is correct but it is also in window.rasi.

Its in the folder rofi, not any of the other folder

Tickle commented 2 years ago

Ah yes that fixed it

Crylia commented 2 years ago

Perfect, I will update both files and remove the other junk that I forgot to remove. Thanks for letting me know!