Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
executable file 25 lines (23 sloc) 1.46 KB
#!/usr/bin/env zsh
# Author - Haron Prime
# License WTFPL http://www.wtfpl.net/
# Restart xmonad
kill $(ps aux | grep XMMPD | grep -v grep | awk '{print $2}') &
kill $(ps aux | grep XMNetTest | grep -v grep | awk '{print $2}') &
kill $(ps aux | grep XMTrans | grep -v grep | awk '{print $2}') &
kill $(ps aux | grep XMTimeNew | grep -v grep | awk '{print $2}') &
kill $(ps aux | grep XMNetSpeed | grep -v grep | awk '{print $2}') &
kill $(ps aux | grep XMTraf | grep -v XMTrafToggle | grep -v grep | awk '{print $2}') &
kill $(ps aux | grep XMCUNew | grep -v grep | awk '{print $2}') &
kill $(ps aux | grep XMTempAll | grep -v grep | awk '{print $2}') &
kill $(ps aux | grep XMMemAll | grep -v grep | awk '{print $2}') &
kill $(ps aux | grep XMRomNew | grep -v grep | awk '{print $2}') &
kill $(ps aux | grep XMUptime | grep -v XMUptimeToggle | grep -v grep | awk '{print $2}') &
kill $(ps aux | grep XMVolNew | grep -v grep | awk '{print $2}') &
kill $(ps aux | grep XMPlay | grep -v grep | awk '{print $2}') &
kill $(ps aux | grep XMDate | grep -v XMDateToggle | grep -v grep | awk '{print $2}') &
killall sleep &
killall gis-weather &
killall xmobar &
xmonad --restart
exit 0