How do I copy the sample file in pkgs.bspwm

bspwm provides the bspwmrc sample file ( "${pkgs.bspwm}/share/doc/bspwm/examples/bspwmrc"), but how do I copy it ? I tried using the nix repl to see where the program was, but it wasn’t there.

I would do realpath $(which bspwm), then go from that path.

This doesn’t seem to work, realpath $(which bspwm) finds the path to the executable file, not a directory.

Yeah, but just strip off the bin/bspwm part, and add share/doc/bspwm/examples/bspwmrc.That’s what I meant by “and go from there”.

1 Like

Perfect, is this path !