copy file to clipboard script
This commit is contained in:
@@ -71,6 +71,11 @@ in {
|
|||||||
#waybar
|
#waybar
|
||||||
#xdg-utils
|
#xdg-utils
|
||||||
#xwayland
|
#xwayland
|
||||||
|
(writeShellScriptBin "copyfiletoclip" ''
|
||||||
|
echo "file://$(realpath $1)" | wl-copy -t text/uri-list
|
||||||
|
''
|
||||||
|
)
|
||||||
|
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user