@macunha what’s a bit confusing in the current state of things, is that both the derivation itself calls wrapProgram in a way that puts --search arguments to the wrapper, and also the xserver module adds another --search to the call of the already wrapped awesome - meaning someone can eventually have --search used both in the derivation of AwesomeWM and both in the xsession command. Not ideal, and not much override inviting.
setting --search inside .xinitrc (to load during startx) solved the issue.
That’s not a setup I’d settle on - it’s imperative. Perhaps it’d be proper to allow the derivation of awesome itself to add --search arguments to the wrapper, i.e at:
But it won’t be elegant. I plan to suggest our ecosystem a new way of wrapping that should fit all usecases in Nixpkgs, via declarative wrappers - [RFC] Declarative wrappers by doronbehar · Pull Request #85103 · NixOS/nixpkgs · GitHub . I’ll open an RFC soon.
BTW, I trully believe that you used to be a great AwesomeWM user (in fact the JIT overlay in the description came from your PR).
Thanks :).