diff options
Diffstat (limited to '.local/bin')
-rwxr-xr-x | .local/bin/improveqrscan | 12 | ||||
-rwxr-xr-x | .local/bin/qrscan | 2 | ||||
-rwxr-xr-x | .local/bin/starttorr | 4 |
3 files changed, 5 insertions, 13 deletions
diff --git a/.local/bin/improveqrscan b/.local/bin/improveqrscan deleted file mode 100755 index 9e84d6b..0000000 --- a/.local/bin/improveqrscan +++ /dev/null @@ -1,12 +0,0 @@ -#!/bin/sh - -if [ -z "$1" ]; then - echo "Enter a valid image with QR code" -else - zbarimg -q $1 | cut -b 1-8 --complement | xclip -o -sel c; -##use in command line argument like -##qrscan "image" | xclip -sel c -o because -## ERROR: target STRING not available -## xclip -o outputs current clipboard... -## xclip -i flag standard input -fi diff --git a/.local/bin/qrscan b/.local/bin/qrscan index dcd3983..eb50f78 100755 --- a/.local/bin/qrscan +++ b/.local/bin/qrscan @@ -5,5 +5,5 @@ if [ -z "$1" ]; then else Link=$(zbarimg -q $1 | cut -b 1-8 --complement) && echo $Link | xclip -sel c - notify-send "QR Link copied to clipboard" "$Link" + notify-send "qrscan" "QR Link copied to clipboard" fi diff --git a/.local/bin/starttorr b/.local/bin/starttorr new file mode 100755 index 0000000..44ce3ac --- /dev/null +++ b/.local/bin/starttorr @@ -0,0 +1,4 @@ +#!/bin/sh + +sudo -A systemctl start jackett +sudo -A systemctl start flaresolverr |