dotfiles/dot_local/bin/executable_river-logout

5 lines
128 B
Bash

#!/bin/bash
RIVER=`ps -C river`
[[ $RIVER != "" ]] && riverctl spawn 'reset' && riverctl exit || echo "River is not running."