From 11dba53971cf2260dee4377de4f38738999200a2 Mon Sep 17 00:00:00 2001 From: Aryadev Chavali Date: Wed, 20 Oct 2021 19:19:34 +0100 Subject: (Scripts)~renamed some scripts,-web-pdf script web-pdf was kinda useless. --- Scripts/.local/scripts/download_playlist | 3 --- Scripts/.local/scripts/gamepad-daemon | 7 ------- Scripts/.local/scripts/gamepad_daemon | 7 +++++++ Scripts/.local/scripts/web-pdf | 7 ------- Scripts/.local/scripts/ytdl_playlist | 3 +++ 5 files changed, 10 insertions(+), 17 deletions(-) delete mode 100755 Scripts/.local/scripts/download_playlist delete mode 100755 Scripts/.local/scripts/gamepad-daemon create mode 100755 Scripts/.local/scripts/gamepad_daemon delete mode 100755 Scripts/.local/scripts/web-pdf create mode 100755 Scripts/.local/scripts/ytdl_playlist (limited to 'Scripts') diff --git a/Scripts/.local/scripts/download_playlist b/Scripts/.local/scripts/download_playlist deleted file mode 100755 index b6dece7..0000000 --- a/Scripts/.local/scripts/download_playlist +++ /dev/null @@ -1,3 +0,0 @@ -#!/usr/bin/env sh - -youtube-dl -x --audio-format mp3 -o '%(artist)s - %(track)s.%(ext)s' $1 diff --git a/Scripts/.local/scripts/gamepad-daemon b/Scripts/.local/scripts/gamepad-daemon deleted file mode 100755 index 492e65a..0000000 --- a/Scripts/.local/scripts/gamepad-daemon +++ /dev/null @@ -1,7 +0,0 @@ -#!/bin/sh -P=$HOME -sudo xboxdrv --silent \ - -c $P/.config/xboxdrv/general.xboxdrv \ - --alt-config $P/.config/xboxdrv/typing.xboxdrv \ - --alt-config $P/.config/xboxdrv/media.xboxdrv \ - --axis-sensitivity X1=-1.0,X2=-1.0,Y1=-1.0,Y2=-1.0 diff --git a/Scripts/.local/scripts/gamepad_daemon b/Scripts/.local/scripts/gamepad_daemon new file mode 100755 index 0000000..492e65a --- /dev/null +++ b/Scripts/.local/scripts/gamepad_daemon @@ -0,0 +1,7 @@ +#!/bin/sh +P=$HOME +sudo xboxdrv --silent \ + -c $P/.config/xboxdrv/general.xboxdrv \ + --alt-config $P/.config/xboxdrv/typing.xboxdrv \ + --alt-config $P/.config/xboxdrv/media.xboxdrv \ + --axis-sensitivity X1=-1.0,X2=-1.0,Y1=-1.0,Y2=-1.0 diff --git a/Scripts/.local/scripts/web-pdf b/Scripts/.local/scripts/web-pdf deleted file mode 100755 index 1e05ca1..0000000 --- a/Scripts/.local/scripts/web-pdf +++ /dev/null @@ -1,7 +0,0 @@ -#!/bin/sh - -name="$(echo $1 | awk -F/ '{print $NF}')" - -curl $1 -o /tmp/$name; -xdg-open /tmp/$name; -rm /tmp/$name; diff --git a/Scripts/.local/scripts/ytdl_playlist b/Scripts/.local/scripts/ytdl_playlist new file mode 100755 index 0000000..b6dece7 --- /dev/null +++ b/Scripts/.local/scripts/ytdl_playlist @@ -0,0 +1,3 @@ +#!/usr/bin/env sh + +youtube-dl -x --audio-format mp3 -o '%(artist)s - %(track)s.%(ext)s' $1 -- cgit v1.2.3-13-gbd6f