dotfiles/dot_local/bin/executable_river-logout

6 lines
144 B
Text
Raw Normal View History

2023-12-24 02:37:31 -05:00
#!/bin/bash
2023-12-24 02:46:42 -05:00
RIVER=`ps -C river | awk '/river/'`
2023-12-24 02:37:31 -05:00
[[ $RIVER != "" ]] && riverctl spawn 'reset' && riverctl exit || echo "River is not running."