You are not logged in.

#1 2021-09-08 17:38:15

DaereanLegrand
Member
Registered: 2021-05-31
Posts: 4

[SOLVED] Building dwm in xinitrc

Hi,
As the tittle says I'm trying to get dwm work with pywal. So in order to get that I added a couple of lines in my .xinitrc, which are

sudo rm /home/daerean/GitClones/dwm-6.2/config.h 
sudo make -C /home/daerean/GitClones/dwm-6.2/ clean install 

When I run startx, there's an error because it needs my password, so I tried editing the sudoers file, so my user can run both commands without any password prompt. When I run those in my terminal it works and there's no password prompt, but with startx the problem remains. I don't know what else to try, any suggestion will be apreciated!

Last edited by DaereanLegrand (2021-09-08 21:03:08)

Offline

#2 2021-09-08 18:35:52

Raynman
Member
Registered: 2011-10-22
Posts: 1,539

Re: [SOLVED] Building dwm in xinitrc

DaereanLegrand wrote:

When I run those in my terminal it works and there's no password prompt

Did you try with `sudo -k ...` to make sure there were no cached credentials?

Offline

#3 2021-09-08 18:48:52

DaereanLegrand
Member
Registered: 2021-05-31
Posts: 4

Re: [SOLVED] Building dwm in xinitrc

Raynman wrote:
DaereanLegrand wrote:

When I run those in my terminal it works and there's no password prompt

Did you try with `sudo -k ...` to make sure there were no cached credentials?

Yep, I just tried, works fine no password prompt.

Offline

#4 2021-09-08 21:02:49

DaereanLegrand
Member
Registered: 2021-05-31
Posts: 4

Re: [SOLVED] Building dwm in xinitrc

Found the issue in my sudoers file, bad sintax.

Offline

#5 2021-09-08 21:05:07

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [SOLVED] Building dwm in xinitrc

Why do you want to recompile dwm every time you start X?


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#6 2021-09-08 22:20:04

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 74,325

Re: [SOLVED] Building dwm in xinitrc

Jason wrote:

Why do you want to recompile dwm every time you start X?

DaereanLegrand wrote:

I'm trying to get dwm work with pywal

pywal sets your color scheme from the wallpaper.

@Daerean, you're aware of eg. https://dwm.suckless.org/patches/cmdcustomize/

Offline

Board footer

Powered by FluxBB