You are not logged in.
Just wrote a simple dwm wrapper. I always see users on the forum and wiki talking about making a small 'startdwm' script and 'killall dwm' to end it. these scripts save the pid of the dwmctl script to ~/.config/dwm/pid, and kills it from that pid. also checks to make sure that dwm is running or not running, repsectively.
First time writing any bash to put on the aur. any comments?
http://aur.archlinux.org/packages.php?ID=34605
Last edited by sdellysse (2010-02-14 03:03:45)
Offline
url shouldn't be the dwm website, makes it look like the script is official. remove arrays you aren't using from the pkgbuild, merge both into a single script with start|stop functions, and up to you but you could use the scripts in rc.d as a model.
Offline
url shouldn't be the dwm website, makes it look like the script is official.
True, but since there is no website for such a simple process, what should i put?
remove arrays you aren't using from the pkgbuild,
done.
merge both into a single script with start|stop functions, and up to you but you could use the scripts in rc.d as a model.
Not meant to be used like that. meant to be used as in 'startx'
Offline
i'd put the url for this thread for the website... and i wasn't implying it be setup _as_ an rc script, just that it could be merged into a single script. users could then just run (for example) `dwmctl start` to start (or add it to xinitrc) and `dwmctl stop` to shut down.
Offline
i'd put the url for this thread for the website... and i wasn't implying it be setup _as_ an rc script, just that it could be merged into a single script. users could then just run (for example) `dwmctl start` to start (or add it to xinitrc) and `dwmctl stop` to shut down.
nice. I see what you're saying now, and I like it. Changed to reflect as such. Is there anyway I can change the name of it on the AUR?
Offline
yep. i delete it, you change the name in the pkgbuild and reupload it
Okay, submitted as dwmctl. I will edit the first post to reflect the change. I appreciate all the help Ghost.
Offline