aboutsummaryrefslogtreecommitdiff
path: root/.config/mpv
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-09-01 10:15:30 +0200
committerLoek Le Blansch <loek@pipeframe.xyz>2024-09-01 10:15:30 +0200
commitedf92699e07a00324a7cf06f27eb1350db658df7 (patch)
treed651680a6e996f4eee7afae2b63b970e579ac687 /.config/mpv
parentd0a498a80b8cf634ecc69f049111fb1108282b1d (diff)
various updates
- fcitx5 update (adds config keys, translated comments for some reason) - firefox userChrome + user.js tweaks - mbsyncrc SSLType -> TLSType - copy-subs update - vimrc update (hexokinase, small tweaks) - picom shadow exclude tweaks for firefox - remove whoami module from polybar - ccpreview tweaks - panic script does more now
Diffstat (limited to '.config/mpv')
-rw-r--r--.config/mpv/scripts/copy-subs.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/.config/mpv/scripts/copy-subs.lua b/.config/mpv/scripts/copy-subs.lua
index 3b8d15f..973e1f2 100644
--- a/.config/mpv/scripts/copy-subs.lua
+++ b/.config/mpv/scripts/copy-subs.lua
@@ -7,6 +7,7 @@ function copy()
sub = sub:gsub('\u{27a1}', '')
sub = sub:gsub('\u{fffd}', '')
sub = sub:gsub('\u{3013}', '')
+ sub = sub:gsub('\u{2015}', '')
sub = sub:gsub('\n', ' ') -- replace newlines with space
sub = sub:gsub('\'', '\'\\\'\'') -- escape single quotes