pacman hook

This commit is contained in:
eneller
2025-09-06 14:27:54 +02:00
parent c2ada6c306
commit 542fd9f3ec
3 changed files with 17 additions and 1 deletions

View File

@@ -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();

10
uv-upgrade.hook Normal file
View 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
View 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