Closed yonderbread closed 3 years ago
I'm seeing background-color not working properly for element.selected:
Relevant code:
element {
padding:10;
border: 1 0 0 0;
}
element.selected {
background-color: #3C3836;
border: 1 0 0 0;
}
Screenshot:
I'm seeing background-color not working properly for element.selected:
Relevant code:
element { padding:10; border: 1 0 0 0; } element.selected { background-color: #3C3836; border: 1 0 0 0; }
Screenshot:
I'm also getting this issue with other rofi themes.
Aaand, this is why we should read the release notes people, my bad. The following fixed my issues:
element-text {
background-color: inherit;
text-color: inherit;
}
element-icon {
background-color: inherit;
}
@dieggsy ohh, I just didn't know if my rofi got updated or not. Whoops. Lemme give that a try.
@yonderbread as for the width, I found this in the man page:
IMPORTANT: In newer rofi releases, all the theming options have been moved into the new theme format. They are no longer normal rofi options that can be passed directly on the command line (there are too many). Small snippets can be passed on the command line: rofi -theme-str 'window {width: 50%;}' to override a single setting. They are merged into the current theme. They can also be appended at the end of the rofi config file to override parts of the theme.
So you may have to specify it in window { ... }
now as opposed to configuration { ... }
, or at least that seems to be working for me. Though I didn't see mention of this in the release notes.
Aaand, this is why we should read the release notes people, my bad. The following fixed my issues:
element-text { background-color: inherit; text-color: inherit; } element-icon { background-color: inherit; }
Yes, this change was introduced two releases back, the old system had some "hot patch" code to try to patch themes while loading. That code (As it caused some issues) was removed.
I need some help, I can't get rid of the dashed line at the top of the listview, anyone have any ideas? It wasn't showing before the update.
I need some help, I can't get rid of the dashed line at the top of the listview, anyone have any ideas? It wasn't showing before the update.
please do not highjack issues. Please read the release notes and post an issue in the discussion forum.
No point on thumbsdown, it is very clearly stated in the guidelines why issue highjacks are not accepted.
I assume the issue is fixed, please reply if it isn't. (sorry for closing so quickly, but I want to avoid people using this as a general question and answer discussion place).
hey @DaveDavenport you might get more issues due to more users (mindlessly) updating, pinning this issue might help, I also had this problem with oxide.rasi and adding the element-text block helped
Found that you can add the rofi flag, -upgrade-config
. Didn't realise this was a thing until I had manually went and edited my config to match the new syntax rules; might help some people out though.
Version
Output of
rofi -v
Version: 1.7.0
Output of
rofi -help
(in a gist, please paste the full output)https://gist.github.com/yonderbread/d0305dc99df4acc96b3bdb64c1c1a197
Note: Seems that width is not a valid option??
Launch Command
Steps to reproduce
Note: I just updated my arch packages with
sudo pacman -Syuu
, not sure if it updated rofi or not but it was working just fine before the upgrade.What behaviour you see
Screen Recording: https://streamable.com/i3j0yk
What behaviour you expect to see
My rofi text color in my theme should be white.
Rofi theme: