diff --git a/Alfred.alfredpreferences/workflows/user.workflow.6EF87002-83DE-4BCF-AFE5-380719D3BA30/info.plist b/Alfred.alfredpreferences/workflows/user.workflow.6EF87002-83DE-4BCF-AFE5-380719D3BA30/info.plist index 7488972..26e0278 100644 --- a/Alfred.alfredpreferences/workflows/user.workflow.6EF87002-83DE-4BCF-AFE5-380719D3BA30/info.plist +++ b/Alfred.alfredpreferences/workflows/user.workflow.6EF87002-83DE-4BCF-AFE5-380719D3BA30/info.plist @@ -76,9 +76,9 @@ script query=$1 -curl -v "https://$PIHOLE_HOST/admin/api.php?disable=300&auth=$API_TOKEN" +curl -v "https://$PIHOLE_HOST/admin/api.php?disable={query}&auth=$API_TOKEN" scriptargtype - 1 + 0 scriptfile type @@ -103,7 +103,7 @@ curl -v "https://$PIHOLE_HOST/admin/api.php?disable=300&auth=$API_TOKEN"items [{"title":"30 seconds","arg":"30"},{"title":"1 minute","arg":"60"},{"title":"5 minutes","arg":"120","subtitle":""}] keyword - pihole + ph runningsubtext subtext