Run rclone user config script in Plasma

This commit is contained in:
Manuel Thalmann 2024-09-19 22:23:45 +02:00
parent ea533b20a5
commit 00076e2abb
2 changed files with 51 additions and 6 deletions
scripts/Arch/Software/rclone

View file

@ -1,16 +1,20 @@
#!/bin/env fish
begin
set -l dir (status dirname)
set -l base "$dir/../../../Common/Software/rclone/main.fish"
source "$dir/../../Scripts/software.fish"
source "$dir/../../../Common/Software/rclone/main.fish"
function installSW
yayinst \
rclone
end
function configureSW -V dir
fish "$dir/../../../Common/Software/rclone/main.fish" configure
function configureSW -V base
fish "$base" configure
end
function userConfig -V base -a name
fish "$base" userConfig $argv
end
runInstaller $argv