Open k0kubun opened 6 months ago
I'm open to adopting that feature. Would you be interested in working on a pull request for it? You might be able to achieve it by modifying assets/xremap-*-bin/PKGBUILD.tmpl
.
I suggest we move the binaries to /usr/bin/xremap-{env}
and make /usr/bin/xremap
a shell script that checks the existence of each binary and invokes the first found. The shell script can be an separate package and the binary packages marks it a an dependence.
Originally filed by @rikutons at https://github.com/xremap/xremap/issues/465:
I'm using multiple desktop env on 1 computer. But
xremap-x11-bin
andxremap-wlroots-bin
are conflicting at/usr/bin/xremap
so I can't switch them easily.paru -S xremap-x11-bin
thenparu -S xremap-wlroots-bin
makesFor example in case x11, can you make
xremap-x11-bin
's binary name to/usr/bin/xremap-x11
and create symlink to/usr/bin/xremap
if/usr/bin/xremap
is empty, or always override it to allow multiple xremap's packeges?