You are not logged in.
Hi all, I just installed arch today and installed wmfs. I have used Ubuntu and Gnome for years and want to try out a WM like wmfs. Problem is I can't even get the date and time to show up on the statusbar. I cannot figure out how to execute a bash script to run with wmfs. If I run startup.sh from the command line it works just fine, but I can't get it to work for the life of me when startx is run.
I've tried making a .xinitrc that looks like:
$HOME/path/to/script.sh
exec wmfs
That didn't work, so I tried:
exec wmfs &
wmpid=$! # Here, we save the PID of wmfs
$HOME/.local/bin/status.sh
wait $wmpid
as per the recommendation of this page. No dice with either (the script is chmod'd executable), with both of them wmfs launches (and a custom wmfsrc gets read), but the script just doesn't get run. What am I missing here?
Last edited by ems5311 (2012-12-09 01:33:51)
Offline
Don't use the "exec" command until you understand what it does
It's stopping the rest of your script from running.
Offline