add hooks

This commit is contained in:
thek4n 2026-08-14 10:22:31 +03:00
parent 7c9bed8adb
commit b69015fdec
2 changed files with 3 additions and 2 deletions

View File

@ -66,7 +66,7 @@
"return-type": "text", "return-type": "text",
}, },
"custom/ScrollMPRIS": { "custom/ScrollMPRIS": {
"name": "custom-scrollmedia" "name": "custom-scrollmedia",
"return-type": "json", "return-type": "json",
"exec": "ScrollMPRIS -s 50 -w 40 --scroll wrapping --format '{title} - {artist}'", "exec": "ScrollMPRIS -s 50 -w 40 --scroll wrapping --format '{title} - {artist}'",
"on-click": "playerctl play-pause", "on-click": "playerctl play-pause",

View File

@ -1,3 +1,4 @@
#!/bin/sh #!/bin/sh
echo "pacman -S sway swaybg i3blocks waybar swaylock swayidle wl-clipboard ydotool grim slurp mako wlr-randr rofi jq brightnessctl kanshi wtype" echo "pacman -S sway swaybg i3blocks waybar swaylock swayidle wl-clipboard ydotool grim slurp mako wlr-randr rofi jq brightnessctl kanshi wtype playerctl"
echo "yay -S scrollmpris-git"