use xdg-user-dir to determine directories
This commit is contained in:
parent
e3c012fc0e
commit
2f5784c6b7
|
@ -15,7 +15,7 @@ case "$1" in
|
|||
;;
|
||||
esac
|
||||
|
||||
VIDEO="/home/purism/Videos/$(date +%Y-%m-%d-%H%M%S).avi"
|
||||
VIDEO="$(xdg-user-dir VIDEOS)$(date +%Y-%m-%d-%H%M%S).avi"
|
||||
yad --title ScreenCapture --text "A simple GUI to record the screen" --button="Start capture:100" --button="Quit:0" --buttons-layout=center
|
||||
start_window_return=$?
|
||||
|
||||
|
|
Loading…
Reference in New Issue