Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'Error while parsing theme' And 'Parser error: syntax error, unexpected invalid property name, expecting "bracket open ('{')" or "property separator (':')"' Errors #170

Open
SamuelBanya opened this issue May 4, 2024 · 2 comments

Comments

@SamuelBanya
Copy link

I am using Linux Mint on my desktop machine.

I followed the GitHub README's instructions by doing the following actions:

  • I git cloned the directory with this command:
git clone --depth=1 https://github.com/adi1090x/rofi.git
  • I then ran the related setup commands:
cd rofi
chmod +x setup.sh

I then launched 'rofi' and am getting this error:

The following errors were detected when starting rofi:

Error while parsing theme: /home/sam/.config/rofi/config.rasi
Parser error: syntax error, unexpected invalid property name, expecting "bracket open ('{')" or "property separator (':')"

Location: line 54 column 5 to line 54 column 6
File '/home/sam/.config/rofi/config.rasi'

Related screenshot:
RofiScreenshot

Any idea on what I am doing wrong in this scenario?

Thanks.

@lap00zza
Copy link

lap00zza commented May 7, 2024

I was facing this same issue after I installed it today. I fixed it by commenting out the fallback icons (line number 54 to 56) in ~/.config/rofi/config.rasi.

/*---------- Fallback Icon ----------*/
/*run,drun {
    fallback-icon: "application-x-addon";
}*/

My rofi version is 1.7.1

@delirehberi
Copy link

Hey @SamuelBanya and @lap00zza this repository is just for generating config files. You need to update your rofi versions to 1.7.5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants