rofi icon indicating copy to clipboard operation
rofi copied to clipboard

[REQUEST] Compatible with xrdb values (Xresources colors)

Open Angel-Karasu opened this issue 7 months ago • 3 comments

Before opening a feature request

  • [X] I checked the next branch to see if the feature has already been implemented
  • [X] I searched existing reports to see if it is already requested.

What is the user problem or growth opportunity you want to see solved?

The user can't use xrdb setted values (in the Xresources file)

How do you know that this problem exists today? Why is this important?

Because I can't use my xrdb setted values

Who will benefit from it?

For all users that have configure colors or any others value in Xresources file

Rofi version (rofi -v)

1.7.5

Configuration

https://github.com/Angel-Karasu/dotfiles/blob/main/config/rofi/config.rasi

Additional information

The format can be:

mycolor: ${xrdb:name};

With ${xrdb:name} that use the value return by xrdb -get name.

For example, for me xrdb -get background return #121212 that I want to set this color in mycolor.

I'm willing to help implement it but I haven't managed to understand how the parser works.

Angel-Karasu avatar Jun 26 '24 16:06 Angel-Karasu