Complex styles for element selected? #1821
-
I want to change a bunch of things to the selected element in the listview. For example, change the text padding, add a border, change the fg/bg colors, change the font to bold / bold highlight, etc. But I have only been able to get the fields |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
What you can change for selected items is limited. It mostly try to avoid that elements/window keeps resizing/moving causing rerenders etc.. For highlighting, please check the rofi-theme manpage on your system, or the online copy on rofi webpage https://davatorium.github.io/rofi/ |
Beta Was this translation helpful? Give feedback.
-
use the element-text selected instead I was having problems to update the selected element, them I tried on the element-text and it works exemple: \ work \ dont work |
Beta Was this translation helpful? Give feedback.
What you can change for selected items is limited. It mostly try to avoid that elements/window keeps resizing/moving causing rerenders etc..
I don't think it is good UI to have weirdly resizing element, but I am not 100% sure what is/isn't possible at the moment but it is limited. (more and more has become possible in newer rofi versions).
For highlighting, please check the rofi-theme manpage on your system, or the online copy on rofi webpage https://davatorium.github.io/rofi/