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

menu color is hard-coded #35

Open
windowsrefund opened this issue Sep 19, 2024 · 2 comments
Open

menu color is hard-coded #35

windowsrefund opened this issue Sep 19, 2024 · 2 comments

Comments

@windowsrefund
Copy link

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 windowsrefund changed the title Where is color derived from? Where is the menu color derived from? Sep 19, 2024
@windowsrefund
Copy link
Author

Looks like this is hard-coded

@windowsrefund windowsrefund changed the title Where is the menu color derived from? menu color is hard-coded Sep 20, 2024
@duvholt
Copy link
Owner

duvholt commented Sep 20, 2024

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

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

2 participants