summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxengineering <me@xengineering.eu>2023-04-15 11:04:13 +0200
committerxengineering <me@xengineering.eu>2023-04-15 11:04:13 +0200
commit3de768cf8cf108f3622b190b8b6c0dd2f36e19b0 (patch)
tree0064ac1b8aba30e3f3c0ce3f5413394b35172d2e
parentbef0dba2c5b90e5849d39923ad537fc89fa931a3 (diff)
downloaddotfiles-3de768cf8cf108f3622b190b8b6c0dd2f36e19b0.tar
dotfiles-3de768cf8cf108f3622b190b8b6c0dd2f36e19b0.tar.zst
dotfiles-3de768cf8cf108f3622b190b8b6c0dd2f36e19b0.zip
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.
-rw-r--r--.bashrc1
-rw-r--r--mpv/mpv.conf1
2 files changed, 1 insertions, 1 deletions
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