From b3bdb07ee8157ba45506010e8edc5ab4bb1940ed Mon Sep 17 00:00:00 2001 From: cronyakatsuki <64900606+cronyakatsuki@users.noreply.github.com> Date: Sun, 23 Oct 2022 21:52:23 +0200 Subject: [PATCH] Removed unneeded scripts. --- dmenu-dict | 7 ------- dmenu-dl-manager | 34 ---------------------------------- 2 files changed, 41 deletions(-) delete mode 100755 dmenu-dict delete mode 100755 dmenu-dl-manager diff --git a/dmenu-dict b/dmenu-dict deleted file mode 100755 index 7079d26..0000000 --- a/dmenu-dict +++ /dev/null @@ -1,7 +0,0 @@ -#!/bin/sh - -source $HOME/.config/dmenu/config - -word="$(printf '\n' | $DMENU -p "Enter Word")" - -dym -c $word | $DMENU -p "Select spelling" | xclip -selection clipboard diff --git a/dmenu-dl-manager b/dmenu-dl-manager deleted file mode 100755 index e96a517..0000000 --- a/dmenu-dl-manager +++ /dev/null @@ -1,34 +0,0 @@ -#!/bin/sh - -# script to download a file from that has it's link in clipboard - -source $HOME/.config/dmenu/config - -# a functions that list all everything in a directory and gives back the chosen one -choice (){ - (ls -1 -a | $DMENU -l 30 -p "Choose where to download") -} - -# first choice -dir=$(choice) - -# while the coice is not a file do what is inside -while [ "$dir" != "Here" ] -do - # first we check if it is a single dot and if it we download there - [ "$dir" = "." ] && break - - # if dir is empty we exit - [ -z "$dir" ] && exit - - # if all checks are negative we change into the directory - cd "$dir" - - # doing a new check - dir=$(choice) -done - -# download the file -quick-notify "Dmenu downloader" "Started downloading a file" -aria2c -j 16 -s 16 -x 16 -k 5M --file-allocation=none "$(xclip -o)" -quick-notify "Dmenu downloader" "Downloading finished"