speedwm-personal/scripts/speedwm_status

17 lines
296 B
Plaintext
Raw Normal View History

2022-10-01 22:46:40 +02:00
#!/bin/sh
# speedwm_status
# status bar manager for speedwm/stellar
2022-10-01 22:46:40 +02:00
STATUSBAR="speedwm-stellar" # should be stellar
IN_ARGS="$@" # arguments
mkdir -p $HOME/.config/speedwm/
2022-10-01 22:46:40 +02:00
2022-10-16 13:50:53 +02:00
statusfunc() {
pgrep -x $STATUSBAR || $STATUSBAR $IN_ARGS > /tmp/statusbar-log &
sleep 3
statusfunc
}
2022-10-01 22:46:40 +02:00
2022-10-16 13:50:53 +02:00
statusfunc