This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# Author: http://serverfault.com/users/96883/artfulrobot | |
# | |
# This script will show most files that got modified or added. | |
# Renames and deletions will not be shown. | |
# Read limitations on: | |
# http://serverfault.com/questions/399894/does-btrfs-have-an-efficient-way-to-compare-snapshots | |
# | |
# btrfs send is the best way to do this long term, but as of kernel |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- mpv script to show the progress bar on pause. -- | |
function on_pause(name, value) | |
if value == true then | |
mp.command("show-progress") | |
end | |
end | |
mp.observe_property("pause", "bool", on_pause) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- mpv script to download subtitles using subdl. | |
-- requires subdl (2016 Sep master branch): https://github.com/alexanderwink/subdl | |
-- default keybinding: B (capital B) | |
-- add the following to your input.conf to change the default keybinding: | |
-- keyname script_binding subdl_load_subs | |
local utils = require 'mp.utils' | |
function subdl_load() |
NewerOlder