mirror of
https://codeberg.org/andyscott/dotfiles.git
synced 2024-11-13 15:50:50 -05:00
5 lines
144 B
Bash
5 lines
144 B
Bash
#!/bin/bash
|
|
|
|
RIVER=`ps -C river | awk '/river/'`
|
|
|
|
[[ $RIVER != "" ]] && riverctl spawn 'reset' && riverctl exit || echo "River is not running."
|