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

Rofi error and cant log out and some little issues #164

Open
ShadeZE opened this issue Aug 23, 2022 · 5 comments
Open

Rofi error and cant log out and some little issues #164

ShadeZE opened this issue Aug 23, 2022 · 5 comments

Comments

@ShadeZE
Copy link

ShadeZE commented Aug 23, 2022

Describe the bug
Ok so i just installed xmonad and stuff and i am pretty new to it. I built eww on my own from the website and everything is working fine. However if try to log out, restart or shutdown from dashboard, log out menu or sidebar and error pops,
validating the theme failed: variable border in window(border-colour:var{border})
failed to resolve

and then i am not able to press y or n and computer doesnt log out.

Some minor issues->
weather doesnt work even after adding api key and city key.
avatar pic doesnt work too even after adding full path.
sometimes the sidebar or the dashboard glitches and doesnt get closed.

To Reproduce
Steps to reproduce the behavior:

  1. Go to log out menu by win + shift + q
  2. Click on 'log out/restart/shut down'
  3. See error

Expected behavior
No error should have been popped and computer should be have logged out.

Screenshots
cannot take screenshot of the error.

Desktop (please complete the following information):

  • OS: Garuda Linux

Additional context
Add any other context about the problem here.

@Axarva
Copy link
Owner

Axarva commented Sep 2, 2022

This is due to your rofi version.

The fix is to do this:

  • Open the file ~/.config/rofi/powermenu/message.rasi in a text editor.

  • Remove the following lines:
    text-color: @border;
    border-color: @border;

That should fix it.

@Axarva
Copy link
Owner

Axarva commented Sep 2, 2022

The sidebar glitching is an issue in elkowar/eww, I'm surprised it hasn't been fixed yet.

Try running the script ~/.config/eww/scripts/getweather manually and attach the logs so we can fix the weather widget.

What's the avatar pic path you're using?

@ShadeZE
Copy link
Author

ShadeZE commented Sep 4, 2022

This is due to your rofi version.

The fix is to do this:

  • Open the file ~/.config/rofi/powermenu/message.rasi in a text editor.
  • Remove the following lines:
    text-color: @border;
    border-color: @border;

That should fix it.

that didnt fix it and text-colour was not @border but @selected.

@ShadeZE
Copy link
Author

ShadeZE commented Sep 4, 2022

The sidebar glitching is an issue in elkowar/eww, I'm surprised it hasn't been fixed yet.

Ok so is there no way to fix that?

Try running the script ~/.config/eww/scripts/getweather manually and attach the logs so we can fix the weather widget.

the widget worked after running it, thanks.

What's the avatar pic path you're using?

$HOME/Downloads/picture.jpg

oh yeah and i forgot to tell that quotes are not working too.
they are in my crontab but still dont work.
i tried to click screenshot of dashboard but its blurred for some reason.
image
And its background is not blurred like in your picture but it is totally black.

@TheBearodactyl
Copy link

This is due to your rofi version.
The fix is to do this:

  • Open the file ~/.config/rofi/powermenu/message.rasi in a text editor.
  • Remove the following lines:
    text-color: @border;
    border-color: @border;

That should fix it.

that didnt fix it and text-colour was not @border but @selected.

yeah, thing is, those lines DO exist in the file, they just aren't in that order, nor are they grouped together. get some brains, will you?

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