fresh init

This commit is contained in:
sankalp committed 2023-05-25 01:24:22 +05:45
1 parent 13b961f148
commit d50317cdcf
166 files changed
+30282

No files matched your search

@@ -0,0 +1,13 @@
local mp = require "mp"
local function set_clipboard(text)
os.execute("echo -n "..text.." | xclip -selection clipboard")
end
local function copy_path()
local path_url = mp.get_property("path")
mp.osd_message(string.format("Copied to Clipboard: %s", path_url))
set_clipboard(path_url)
end
mp.add_key_binding("y-p", "copy_path", copy_path)