Re: [dev] [pdmenu] radial (pie) menu for X11

From: Hiltjo Posthuma <hiltjo_AT_codemadness.org>
Date: Sat, 14 Feb 2026 12:40:30 +0100

On Sat, Feb 14, 2026 at 12:11:40PM +0100, Peter Valach wrote:
> I created this a few months ago and used it since then without problems,
> maybe it will be useful for someone here:
>
> pdmenu is a minimal, mouse-only, radial (pie) menu for X11.
>
> It reads menu items from stdin (like dmenu), displays them in
> a fullscreen transparent overlay around the current mouse cursor, and
> prints the selected item to stdout. Inspired by https://kando.menu/,
> implementing only the basic idea.
>
> The first item is shown in the center; remaining items are arranged
> clockwise in a circle, starting from the top.
>
> https://github.com/pvxx/pdmenu
>
> I know literally nothing about X programming and it is really long time
> since I did anything in C (except small patches), therefore all the
> X stuff was written by AI, so it can be improved a lot for sure;
> I welcome any patches/suggestions.
>

Thanks for sharing.
At a glance the code doesn't look bad written by an AI.

(Maybe there is some missing error checking in parse_color and XGrabPointer,
but I don't care to review AI code :))

Maybe interesting to you, there is also another pie menu. Written by a real
human bean, made with love:

        https://github.com/phillbush/pmenu

-- 
Kind regards,
Hiltjo
Received on Sat Feb 14 2026 - 12:40:30 CET

This archive was generated by hypermail 2.3.0 : Sat Feb 14 2026 - 12:48:08 CET