Last active
July 4, 2022 12:33
-
-
Save jnorthrup/fb105a5aef7241ec2513bcdef10a4c5f to your computer and use it in GitHub Desktop.
add simplest possible zstd to kde konq,dolphin context menu
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
x=$(kf5-config --path services|cut -f1 -d:)&&mkdir -p $x/ServiceMenus&&pushd $x/ServiceMenus&& | |
cat <<EOF | |
[Desktop Entry] | |
Type=Service | |
ServiceTypes=all/allfiles | |
MimeType=all/all; | |
Actions=CompressZstd | |
X-KDE-Priority=TopLevel | |
X-KDE-Submenu=7-Zip | |
X-KDE-Icon=p7zip | |
X-KDE-ServiceTypes=KonqPopupMenu/Plugin | |
[Desktop Action CompressZstd] | |
Name=zstd default | |
Icon=p7zip | |
Exec=zstd | |
EOF |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment