feat(dwm): fix restart opt
This commit is contained in:
parent
c9a3d852f5
commit
2e38a18413
1 changed files with 2 additions and 2 deletions
|
@ -6,7 +6,7 @@ xsetroot -solid black
|
|||
#while loop to update statusbar with some goodies
|
||||
while true; do
|
||||
#memfreak to get it in MB
|
||||
memfreak2=$(grep MemFree /proc/meminfo | awk '{ print $2 }')
|
||||
memfreak2=$(grep MemUsed /proc/meminfo | awk '{ print $2 }')
|
||||
memfreak=$(($memfreak2 / 1024))
|
||||
#time
|
||||
CLK=$(date +'%a %b %d %R:%S %Z')
|
||||
|
@ -31,6 +31,6 @@ feh -z -Z --bg-scale $HOME/Pictures/background.*
|
|||
|
||||
touch /tmp/restart-dwm
|
||||
while [ -f /tmp/restart-dwm ]; do
|
||||
exec dwm >/dev/null
|
||||
rm -rf /tmp/restart-dwm
|
||||
exec dwm >/dev/null
|
||||
done
|
||||
|
|
Loading…
Reference in a new issue