From 67048cfd54f30948c97b4d0d9876e89eaef99024 Mon Sep 17 00:00:00 2001 From: littleblack111 Date: Wed, 25 Sep 2024 17:47:57 +0800 Subject: fixed not working in waybar due to XDG_VIDEO_DIR not found as not imported in env of it --- rec.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/rec.sh b/rec.sh index fefd829..4d2fe57 100755 --- a/rec.sh +++ b/rec.sh @@ -1,6 +1,7 @@ #!/bin/sh XDG_CACHE_HOME=${XDG_CACHE_HOME:-$HOME/.cache} +XDG_VIDEOS_DIR=${XDG_VIDEOS_DIR:-$HOME/Videos} function status() { pstatus=$(cat $XDG_CACHE_HOME/rec_paused) -- cgit v1.2.3