pacman hook
This commit is contained in:
@@ -6,7 +6,6 @@
|
|||||||
// @version 1.0
|
// @version 1.0
|
||||||
// @author eneller
|
// @author eneller
|
||||||
// ==/UserScript==
|
// ==/UserScript==
|
||||||
console.log('UserScript: Looking for Download Button');
|
|
||||||
downloadButton = document.querySelector('a.font-bold');
|
downloadButton = document.querySelector('a.font-bold');
|
||||||
if (downloadButton!= null){
|
if (downloadButton!= null){
|
||||||
downloadButton.click();
|
downloadButton.click();
|
||||||
|
|||||||
10
uv-upgrade.hook
Normal file
10
uv-upgrade.hook
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
[Trigger]
|
||||||
|
Operation = Upgrade
|
||||||
|
Type = Package
|
||||||
|
Target = *
|
||||||
|
|
||||||
|
[Action]
|
||||||
|
Description = Upgrade python programs installed as 'uv tool'
|
||||||
|
When = PostTransaction
|
||||||
|
Depends = python-uv
|
||||||
|
Exec = /usr/bin/uv tool upgrade --all
|
||||||
7
video.ytdl
Normal file
7
video.ytdl
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
# Point to this config using --config-location
|
||||||
|
# download playlist if ambiguous
|
||||||
|
--yes-playlist
|
||||||
|
-f "bestvideo[height=360]+bestaudio/best[height=360]"
|
||||||
|
--merge-output-format mp4
|
||||||
|
# set output names
|
||||||
|
-o ~/Downloads/ytdl/%(playlist_title|misc)s/%(title)s.%(ext)s
|
||||||
Reference in New Issue
Block a user