i3-pager icon indicating copy to clipboard operation
i3-pager copied to clipboard

menu color is hard-coded

Open windowsrefund opened this issue 1 year ago • 2 comments

Greetings. I'm just wondering where colors are determined as I have a menu I've configured which is being rendered with strange colors.

I don't normally run a bar but I enabled one just to make sure it my menu was behaving. This image shows the menu correctly colored:

i3-menu-good

The same menu however, displayed via this i3-pager widget is rendered using totally different colors:

i3-menu-bad

Just so it's clear, I'm referring to an i3 menu

set $mode_menu MENUS: (b)ase16 (i)3
bindsym $mod+i mode "$mode_menu"

Thanks in advance for any info.

windowsrefund avatar Sep 19 '24 06:09 windowsrefund

Looks like this is hard-coded

windowsrefund avatar Sep 19 '24 22:09 windowsrefund

Yep, the colors for the binding mode are hardcoded. Originally all colors were hardcoded, but some were changed to follow the plasma theme. The original usecase was just a way for me to see if I'm in resize mode.

I think it might make sense to allow all colors to be user configurable and we can probably take some inspiration from i3bar's colors: https://i3wm.org/docs/userguide.html#_colors

duvholt avatar Sep 20 '24 12:09 duvholt