Fix bug where wf-shadow-tui would display the same menu after starting/ending a session
Signed-off-by: Skylar "The Cobra" Widulski <cobra@vern.cc>
This commit is contained in:
parent
0583dfc3f7
commit
a85754ea38
|
@ -15,7 +15,7 @@
|
|||
# this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
VER="v1.3.0"
|
||||
VER="v1.3.1"
|
||||
|
||||
RUNTIME="${XDG_RUNTIME_DIR:-/run}/wf-shadow"
|
||||
CONFIG="${WF_SHADOW_CONFIG:-${XDG_CONFIG_HOME:-$HOME/.config}/wf-shadow/config.sh}"
|
||||
|
@ -113,9 +113,11 @@ get_action_wrap() {
|
|||
case "$ACTION" in
|
||||
Start)
|
||||
wf-shadow --start "$OUTPUT" &>/dev/null & disown
|
||||
sleep 0.1
|
||||
get_action_wrap ;;
|
||||
End)
|
||||
wf-shadow --end "$OUTPUT"
|
||||
sleep 0.1
|
||||
get_action_wrap ;;
|
||||
Record) get_seconds_wrap ;;
|
||||
esac
|
||||
|
|
Loading…
Reference in New Issue