nwg-piotr / nwg-menu

MenuStart plugin to nwg-panel, also capable of working standalone
MIT License
68 stars 4 forks source link

nice replacement for wayfire menu - customization enhancements... #8

Open cjns1989 opened 3 years ago

cjns1989 commented 3 years ago

I wasn't happy with the default wayfire menu so I took a look at wofi, the official replacement recommended by the wayfire people and that basically works for me but really it looks bad... on my desktop that is... :-)

So I found nwg-menu and I must admit I rather like it. Reminds me of the menu the deepin people have come up with.

Customization is a little too basic for my taste.

I was able to change the background color to a dark grey in the .css to match the rest of my desktop and that's it.

I think it would be nice to be able to make the menu pane's corners a little rounded (I tried adding 'border-radius: 5px;' to the 'window' class on a hunch but that didn't work). Would look a lot better and more professional than a simple rectangle I think...

More importantly I would also like to be able to shrink the menu a bit.. perhaps something like 75% of its default size... Obviously (?) 'shrink' means that I would like everything a little smaller... icons, font size etc.

In a future release, would it be possible to change the font family and size in the .css stylesheet and have the menu automatically adjust to the new/custom font size?

nwg-piotr commented 3 years ago

As well border radius, as the font face/size may be redefined in ~/.config/nwg-panel/menu-start.css quite easily. I know that css is PITA, but finally it works.

image

If it comes to the icon size, see nwg-menu -h, look for -isl and -iss arguments.

cjns1989 commented 3 years ago

My fault for not reading the README as I should have :-( ... I dread the very sound of CSS and I guess I thought that all the styling would be done via the .css file I imagine... and I never thought to do a simple nwg-menu --help..

Since I found nwg-menu much to my liking I also installed nwg-panel and the only thing that I have got to work so far was bringing up nwg-menu when I click on the (very elegant) icon that sits at the left of the panel. But it brings up nwg-menu with the default sizes and I haven't found where I need to change the nwg-menu call so as to add the smaller -isl & -iss values... 24/12 pixels (?) are about right to match the scaling & general aspect of my desktop. Otherwise the panel is just a medium grey band at the bottom of the screen.

You don't happen to have set up something like an irc/matrix channel or forum/mailing-list where I could ask for assistance by any chance?

Incidentally... what is the path searched by nwg-menu for executables and where can I modify it? I tried to stick a front-end to the 'Terminator' emulation to set a couple of env variables so it would run in a wayland context in /usr/local/bin (and chmod'd +x) but nwg-menu does not find it. I also noticed that stuff I installed via flatpak does show up but when I try to launch it nothing happens. Do I need to create .desktop files 'ala-gnome' in /usr/share/applications or /usr/local/share/applications to get this to work? Perhaps I should open a separate issue for this?

nwg-piotr commented 3 years ago

You may ask for support on the ArchLabs forum on this thread.

Nwg-panel has it's own Wiki, please take a look at it.

If it comes to env variables: their suport in nwg-menu lacks some improvements already added in nwg-grid and nwg-dock. As said in another issue - I'll be adding them in the nearest future, together with some more stuff. Sorry, but I'm an after hours developer, working on 6 - 7 projects at the same time.