configs/roles/config/files/.config/fish/functions/kdesave.fish

13 lines
762 B
Fish
Raw Normal View History

2024-10-12 15:05:31 +02:00
# save kde and plasma settings to gitprojects/configs
function kdesave
rm -rf ~/.config/konsave
2024-10-12 15:05:31 +02:00
rm -rf ./konsave-export-main ./konsave-export-main.knsv
~/gitprojects/konsave/venv/bin/python -m konsave --save konsave-export-main --force
~/gitprojects/konsave/venv/bin/python -m konsave --export-profile konsave-export-main
unzip konsave-export-main.knsv -d konsave-export-main
cp -r ./konsave-export-main/save/configs/* ~/gitprojects/configs/roles/config/files/.config/
cp -r ./konsave-export-main/export/home_folder/.* ~/gitprojects/configs/roles/config/files/
cp -r ./konsave-export-main/export/share_folder/* ~/gitprojects/configs/roles/config/files/.local/share/
rm -rf ./konsave-export-main ./konsave-export-main.knsv
end