Merge branch 'master' of framagit.org:mpo/overlays-personal
This commit is contained in:
commit
d0bf4e7a90
1 changed files with 12 additions and 0 deletions
|
@ -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 &
|
||||
'';
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue