nyyManni / dmenu-wayland

dmenu for wayland-compositors
MIT License
196 stars 22 forks source link

Make dmenu-wayland have a similar look to dmenu(xorg) #4

Open Jpfonseca opened 5 years ago

Jpfonseca commented 5 years ago

I am wondering if there is possible to make this project to have a more similar look to the original dmenu.

One of the key features is making the font smaller. I have played with the fonts option and height but there's no form of making the font smaller.

Is it possible for dmenu-wayland to get the existing configs for dmenu and apply them to itself ??

nyyManni commented 5 years ago

I sure can come up with a solution to render the menu with a given font size.

Could you elaborate what do you mean by existing configs for dmenu? Do you mean the xfontsel-style value for the -fn-option? As far as I know the original dmenu did not use any configuration file?

Jpfonseca commented 5 years ago

Sorry. At the time I was writing the issue I was testing other dmenu's variants. Some of them have the possibility to read config files from ~/.config/ folder.

nyyManni commented 5 years ago

No need to apologize :) https://github.com/MarkHedleyJones/dmenu-extended has a support for json-style configuration in ~/.config/, so that is probably what you were thinking of. That project is implemented in python and wraps the original dmenu. Since this wayland-port is trying to be analogous to the original it should be fairly easy to fork the python wrapper to use this wayland port. Maybe somewhere in the future.

For now, I will figure out what would be the most sensical way of defining the font size. Did you have any other requests for the "similar look to the original"?