From 3de768cf8cf108f3622b190b8b6c0dd2f36e19b0 Mon Sep 17 00:00:00 2001 From: xengineering Date: Sat, 15 Apr 2023 11:04:13 +0200 Subject: Move save-position-on-quit mpv option to config This used to be a bashrc alias. With the config file it is also available to other shells and graphical environments. --- .bashrc | 1 - mpv/mpv.conf | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) create mode 100644 mpv/mpv.conf diff --git a/.bashrc b/.bashrc index 70ee0ec..8768353 100644 --- a/.bashrc +++ b/.bashrc @@ -38,7 +38,6 @@ function my_xdg_open() { nohup xdg-open "$1" > /dev/null 2>&1 & } alias open=my_xdg_open alias note='"${EDITOR}" "$(mktemp)"' alias nolink='cd $(pwd -P)' -alias mpv='mpv --save-position-on-quit' # extend PATH by custom scripts (location based on XDG) diff --git a/mpv/mpv.conf b/mpv/mpv.conf new file mode 100644 index 0000000..f3140f7 --- /dev/null +++ b/mpv/mpv.conf @@ -0,0 +1 @@ +save-position-on-quit=yes -- cgit v1.2.3-70-g09d2