added super-widget 2.0.

This commit is contained in:
2024-12-31 00:41:34 +02:00
parent bb79185f75
commit 79eacd544a

View File

@@ -10,6 +10,13 @@ INTERACTIVE="on"
menu="fuzzel -d -p " menu="fuzzel -d -p "
#menu="fzf -i --prompt=" #menu="fzf -i --prompt="
apiurl="https://coverapi.store" apiurl="https://coverapi.store"
### Curl constants
USER_AGENT="Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:133.0) Gecko/20100101 Firefox/133.0"
ACCEPT="Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8"
ACCEPT_LANGUAGE="Accept-Language: en-US,en;q=0.5"
CONNECTION="Connection: keep-alive"
UP_IN_REQ="Upgrade-Insecure-Requests: 1"
### End of curl constants
player="mpv" player="mpv"
MPV_OPTS='--vo=gpu \ MPV_OPTS='--vo=gpu \
--gpu-api=opengl \ --gpu-api=opengl \
@@ -19,15 +26,8 @@ MPV_OPTS='--vo=gpu \
--no-load-scripts \ --no-load-scripts \
--profile=sw-fast \ --profile=sw-fast \
--no-ytdl \ --no-ytdl \
--http-header-fields="User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:133.0) Gecko/20100101 Firefox/133.0" \ --http-header-fields="User-Agent: '"$USER_AGENT"'" \
--fs' --fs'
### Curl constants
USER_AGENT="Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:133.0) Gecko/20100101 Firefox/133.0"
ACCEPT="Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8"
ACCEPT_LANGUAGE="Accept-Language: en-US,en;q=0.5"
CONNECTION="Connection: keep-alive"
UP_IN_REQ="Upgrade-Insecure-Requests: 1"
### End of curl constants
## End of definitions ## End of definitions
# Display a message # Display a message