You are not logged in.
Hello guys,
I have problems to adapt the solution from the dwm wiki thread on my own .xinitrc.
First the solution from the wiki:
conky | while read line; do
xsetroot -name "$line"
done | while true; do
# Log stderror to a file
dwm 2> ~/.dwm.log; done
# No error logging
#dwm > /dev/null; done
As I'm not using Conky and not really familiar with bash syntax I have no idea which part of this loop might be relevant.
Here is my .xinitrc
while true
do
xsetroot -name "$(date +"%a, %b %d %R")"
sleep 1s
done &
xterm &
xterm -e vifm &
xterm -class alsamixer -e alsamixer &
server &
skype &
firefox &
exec dwm
Thank you in advance for any help.
Best regards
Last edited by orschiro (2010-01-11 16:07:52)
Offline
My .xinitrc (in part):
exec ck-launch-session ~/scripts/dwm-start
~/scripts/dwm-start:
#!/bin/sh
~/scripts/dwm-status | while true; do /usr/bin/dwm > /dev/null; done;
I don't use conky anymore. You can see the dwm-status script in my configs
This allow you to do the mod-shift Q to restart dwm without logging out.
Good luck!
Scott
Last edited by firecat53 (2010-01-10 18:22:13)
Offline
Hello firecat53,
I understand how it should work. Thank you. I adapted my .xinitrc to my needs.
#!/bin/sh
while true
do
xsetroot -name "$(date +"%a, %b %d %R")"
sleep 1s
done &
xterm &
xterm -e vifm &
xterm -class alsamixer -e alsamixer &
server &
skype &
firefox &
while true; do /usr/bin/dwm > /dev/null; done;
Offline