summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlittleblack111 <littleblack11111@gmail.com>2024-09-25 17:47:57 +0800
committerlittleblack111 <littleblack11111@gmail.com>2024-09-25 17:47:57 +0800
commit67048cfd54f30948c97b4d0d9876e89eaef99024 (patch)
tree4a77f4688cbc6e1e83394bafcc960b9e60bcd9df
parentf0c50b122373ca7dadf2334127b29f34b6e848e3 (diff)
fixed not working in waybar due to XDG_VIDEO_DIR not found as not imported in env of it
-rwxr-xr-xrec.sh1
1 files changed, 1 insertions, 0 deletions
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)