Merge branch 'master' of framagit.org:mpo/overlays-personal

This commit is contained in:
eeva 2018-06-24 19:19:24 +03:00
commit d0bf4e7a90
1 changed files with 12 additions and 0 deletions

View File

@ -40,5 +40,17 @@ self: super:
--replace 'system.nixosVersion' 'system.nixos.version'
'';
});
# Originally from Mats Rauhala ®2018
copy = super.writeScriptBin "copy" ''
function clean() {
sleep 10
echo cleaning
${super.xclip}/bin/xclip -sel clipboard -i /dev/null
}
${super.xclip}/bin/xclip -sel clipboard < /dev/stdin
clean &
'';
}