Add files via upload

version 1.1 changes

-dialog box now reads the size of your shadercache folder and displays it for the user
This commit is contained in:
MiaPepsi
2022-09-19 14:21:12 -04:00
committed by GitHub
parent 63cea8cb82
commit f085144ce0
+13
View File
@@ -0,0 +1,13 @@
#! /bin/bash
# this script will clear the shadercash folder from your steamdeck
shadersize=$(du -sh /home/deck/.steam/steam/steamapps/shadercache)
if zenity --question --title="Confirm deletion" --text="shadercache size: $shadersize \n\n do you wish to clear this data?" --no-wrap
then
rm -r /home/deck/.steam/steam/steamapps/shadercache
zenity --info --title="Success" --text="shadercache folder was sucessfully deleted" --no-wrap
else
zenity --info --title="no content deleted" --text="The shadercache folder was not deleted" --no-wrap
fi