summaryrefslogtreecommitdiff
path: root/user-profiles
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2024-09-09 09:05:18 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2024-09-09 09:05:18 +0200
commitdd2276099946a07e73c598d81ce0db35d93d71ea (patch)
treee217b2c2d76320dd31121c747fa1848bce3655ea /user-profiles
parent39ff9a59079e176ea1d76b08fec977f4d47c3682 (diff)
downloadnixos-dd2276099946a07e73c598d81ce0db35d93d71ea.tar
nixos-dd2276099946a07e73c598d81ce0db35d93d71ea.tar.gz
nixos-dd2276099946a07e73c598d81ce0db35d93d71ea.tar.bz2
nixos-dd2276099946a07e73c598d81ce0db35d93d71ea.tar.xz
nixos-dd2276099946a07e73c598d81ce0db35d93d71ea.zip
...
Diffstat (limited to 'user-profiles')
-rw-r--r--user-profiles/mpv/default.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/user-profiles/mpv/default.nix b/user-profiles/mpv/default.nix
index 8fc38edd..2df87994 100644
--- a/user-profiles/mpv/default.nix
+++ b/user-profiles/mpv/default.nix
@@ -91,7 +91,8 @@
91 mp.commandv('quit', '4') 91 mp.commandv('quit', '4')
92 end) 92 end)
93 mp.register_event('end-file', function(params) 93 mp.register_event('end-file', function(params)
94 if (params.reason == 'eof' or (do_del and params.reason == 'quit')) and del_path ~= ''' then 94 print('end-file: '..params.reason..', '..tostring(do_del)..', '..del_path)
95 if (params.reason == 'eof' or params.reason == 'stop' or (do_del and params.reason == 'quit')) and del_path ~= ''' then
95 print('deleting: '..del_path) 96 print('deleting: '..del_path)
96 os.remove(del_path) 97 os.remove(del_path)
97 end 98 end