Created
November 6, 2022 16:24
-
-
Save e-minguez/ef8686fb007e0cf642d62c93f9eb393c to your computer and use it in GitHub Desktop.
Unlock plasma vaults using GUI
This file contains 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 | |
export PATH=/usr/local/sbin:/usr/local/bin:/usr/bin:/home/deck/.local/share/flatpak/exports/bin:/var/lib/flatpak/exports/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/home/deck/.local/bin | |
PASS=$(zenity --title Vault --password) | |
for vault in ~/Vaults/*; do | |
gocryptfs -idle 5m --extpass "echo ${PASS}" ~/.local/share/plasma-vault/$(basename ${vault}).enc ${vault} | |
done | |
/usr/bin/flatpak run --branch=stable --arch=x86_64 --command=/app/bin/chrome --file-forwarding com.google.Chrome @@u %U @@ | |
/usr/bin/flatpak run --branch=stable --arch=x86_64 --command=nextcloud --file-forwarding com.nextcloud.desktopclient.nextcloud |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment