You are not logged in.

#1 2022-08-07 14:57:26

operadicmaniac
Guest

About configuring slstatus in DWM [SOLVED]

Just installed suckless's DWM on arch, then I installed slstatus for viewing my system stats but I just can't figure out a way to run it as a background process and make it launch at startup. I've tried putting

exec slstatus

in my

.xinitrc

but it just doesn't work. please guide me through this, I've spent hours configuring it but can't make it work sad

Last edited by operadicmaniac (2022-08-13 17:31:35)

#2 2022-08-07 15:35:40

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

Re: About configuring slstatus in DWM [SOLVED]


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2022-08-07 16:50:47

operadicmaniac
Guest

Re: About configuring slstatus in DWM [SOLVED]

I read the portion of the wiki you attached and did this:
First I created the

~/.xprofile

file and
pasted this as its contents

# Statusbar loop
while true; do
   xsetroot -name "$( date +"%F %R" )"
   sleep 1m    # Update time every minute
done &

# Autostart section 
exec slstatus &
exec dwm

then I went to the directory where I cloned the slstatus repo and did

sudo make clean install

slstatus is working file now. thanks.

But one thing is bothering me, I have sddm installed as my display manager and when I try to login in the very first time it somehow resembles the same login color theme as my wallpaper and so I tried to fix it by placing

nitrogen --restore &

in my

~/.xprofile

but it didn't work, please shed some light on this

Last edited by operadicmaniac (2022-08-07 16:53:00)

Board footer

Powered by FluxBB