pacman hook
This commit is contained in:
1 parent
c2ada6c306
commit
542fd9f3ec
3 files changed
+17
-1
No files matched your search
@@ -6,7 +6,6 @@
|
||||
// @version 1.0
|
||||
// @author eneller
|
||||
// ==/UserScript==
|
||||
console.log('UserScript: Looking for Download Button');
|
||||
downloadButton = document.querySelector('a.font-bold');
|
||||
if (downloadButton!= null){
|
||||
downloadButton.click();
|
||||
|
||||
@@ -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
|
||||
@@ -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