You are not logged in.

#1 2021-10-01 11:37:16

nikinbaidarr
Member
Registered: 2021-05-06
Posts: 92

[SOLVED] Cannot find config.h for dwm

So I installed dwm from AUR using

yay -S dwm

dwm was installed and I have run it quite easily but I cannot find the config.h file to apply mods.

The output of

yay -Ql dwm

was :

dwm /usr/
dwm /usr/bin/
dwm /usr/bin/dwm
dwm /usr/share/
dwm /usr/share/doc/
dwm /usr/share/doc/dwm/
dwm /usr/share/doc/dwm/README
dwm /usr/share/licenses/
dwm /usr/share/licenses/dwm/
dwm /usr/share/licenses/dwm/LICENSE
dwm /usr/share/man/
dwm /usr/share/man/man1/
dwm /usr/share/man/man1/dwm.1.gz
dwm /usr/share/xsessions/
dwm /usr/share/xsessions/dwm.desktop

I've checked each of these directories but I cannot find the config.h file for dwm. I've also checked /etc, ~/.local/share but the exact location of where dwm was installed is no where do be found. Can some one help?

Last edited by nikinbaidarr (2021-10-01 14:55:07)

Offline

#2 2021-10-01 12:04:06

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,410

Re: [SOLVED] Cannot find config.h for dwm

The config.h is part of the source code you are expected to modify and relevantly recompile DWM with. So in your case the file you're looking for will be in  ~/.cache/yay/dwm . You can either patch things directly and just rebuild the package with the existing source (note makepkgs -e flag) or create an actual patch that you apply as part of the PKGBUILD. https://wiki.archlinux.org/title/Patching_packages

Mod note, moving to AUR issues.

Last edited by V1del (2021-10-01 12:17:55)

Online

#3 2021-10-01 14:05:43

nikinbaidarr
Member
Registered: 2021-05-06
Posts: 92

Re: [SOLVED] Cannot find config.h for dwm

V1del wrote:

So in your case the file you're looking for will be in  ~/.cache/yay/dwm.

Exactly what I was looking for. Thank you so much.

Offline

Board footer

Powered by FluxBB