improve stellar and starter script
This commit is contained in:
parent
44a6b20d47
commit
6eeeab82aa
|
@ -558,15 +558,14 @@ ptext() {
|
||||||
|
|
||||||
# base
|
# base
|
||||||
base() {
|
base() {
|
||||||
ptext
|
while true; do
|
||||||
sleep $REFRESHDELAY
|
ptext
|
||||||
base
|
sleep $REFRESHDELAY
|
||||||
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
setloading
|
setloading
|
||||||
|
|
||||||
setcolors2d
|
setcolors2d
|
||||||
ptext
|
|
||||||
base
|
base
|
||||||
|
|
||||||
printf "$0: Stopped printing."
|
printf "$0: Stopped printing."
|
||||||
|
|
|
@ -8,21 +8,6 @@ LOADTEXT="Loading" # load text
|
||||||
|
|
||||||
mkdir -p $HOME/.config/speedwm/
|
mkdir -p $HOME/.config/speedwm/
|
||||||
|
|
||||||
case "$1" in
|
|
||||||
"-h")
|
|
||||||
echo "speedwm_status - stellar launcher"
|
|
||||||
echo ""
|
|
||||||
echo "-r Restart stellar"
|
|
||||||
echo "No arguments Run stellar"
|
|
||||||
echo ""
|
|
||||||
echo "See speedwm-help for more information."
|
|
||||||
exit 0
|
|
||||||
;;
|
|
||||||
"-r")
|
|
||||||
pkill "$STATUSBAR" ; sleep 2 ; statusfunc
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
# run status
|
# run status
|
||||||
rstatus() {
|
rstatus() {
|
||||||
while true; do
|
while true; do
|
||||||
|
@ -50,4 +35,22 @@ statusfunc() {
|
||||||
statusfunc
|
statusfunc
|
||||||
}
|
}
|
||||||
|
|
||||||
|
case "$1" in
|
||||||
|
"-h")
|
||||||
|
echo "speedwm_status - stellar launcher"
|
||||||
|
echo ""
|
||||||
|
echo "-s Stop stellar"
|
||||||
|
echo "-r Restart stellar"
|
||||||
|
echo "No arguments Run stellar"
|
||||||
|
echo ""
|
||||||
|
echo "See speedwm-help for more information."
|
||||||
|
exit 0
|
||||||
|
;;
|
||||||
|
"-r")
|
||||||
|
pkill "$STATUSBAR" ; sleep 2 ; statusfunc
|
||||||
|
;;
|
||||||
|
"-s") pkill "$STATUSBAR"
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
statusfunc
|
statusfunc
|
||||||
|
|
Loading…
Reference in a new issue