"
-else
- filename="${1%.*}"
- \cp -f "$1" /tmp/"$1"
- javac -d /tmp "$1"
- java -cp /tmp "$filename"
-fi
-
diff --git a/.local/bin/maimshot b/.local/bin/maimshot
deleted file mode 100755
index db4780c..0000000
--- a/.local/bin/maimshot
+++ /dev/null
@@ -1,13 +0,0 @@
-#!/bin/sh
-
-ocr_cmd="xclip -sel clip"
-
-case "$(printf "a selected area (copy)\\ncurrent window (copy)\\nfull screen (copy)\\na selected area\\ncurrent window\\nfull screen\\na selected area (OCR)" | dmenu -l 7 -i -p "Screenshot which area?")" in
- "a selected area (copy)") maim -u -s | xclip -selection clipboard -t image/png ;;
- "current window (copy)") maim -i "$(xdotool getactivewindow)" | xclip -selection clipboard -t image/png ;;
- "full screen (copy)") sleep 0.2 ; maim | xclip -selection clipboard -t image/png ;;
- "a selected area") maim -u -s ~/pix/ss/pic-selected-$(uuidgen | awk -F- '{printf $2}')-"$(date '+%y-%m-%d').png" ;;
- "current window") maim -i "$(xdotool getactivewindow)" ~/pix/ss/pic-window-"$(uuidgen | awk -F- '{printf $2}')-$(date '+%y-%m-%d').png" ;;
- "full screen") sleep 0.2 ; maim ~/pix/ss/pic-full-"$(uuidgen | awk -F- '{printf $2}')-$(date '+%y-%m-%d').png" ;;
- "a selected area (OCR)") tmpfile=$(mktemp /tmp/ocr-XXXXXX.png) && maim -u -s > "$tmpfile" && tesseract "$tmpfile" - -l eng | ${ocr_cmd} && rm "$tmpfile" ;;
-esac
diff --git a/.local/bin/pirokit b/.local/bin/pirokit
deleted file mode 100755
index 6986780..0000000
--- a/.local/bin/pirokit
+++ /dev/null
@@ -1,68 +0,0 @@
-#!/usr/bin/bash
-
-mkdir -p $HOME/.cache/pirokit
-
-if [ -z $1 ]; then
- query=$(echo "" | dmenu -p "Search Torrent: ")
-else
- query=$1
-fi
-
-baseurl="https://1337x.to"
-cachedir="$HOME/.cache/pirokit"
-query="$(sed 's/ /+/g' <<<$query)"
-
-#curl -s https://1337x.to/category-search/$query/Movies/1/ > $cachedir/tmp.html
-curl -s https://1337x.to/search/$query/1/ > $cachedir/tmp.html
-
-# Get Titles
-grep -o '' $cachedir/tmp.html |
- sed 's/<[^>]*>//g' | sed 'N;s/\n/ /' > $cachedir/seedleech.bw
-
-# Size
-grep -o '| .*<\/span>//g' |
- sed -e 's/<[^>]*>//g' > $cachedir/size.bw
-
-# Links
-grep -E '/torrent/' $cachedir/tmp.html |
- sed -E 's#.*(/torrent/.*)/">.*/#\1#' |
- sed 's/td>//g' > $cachedir/links.bw
-
-
-
-# Clearning up some data to display
-sed 's/\./ /g; s/\-/ /g' $cachedir/titles.bw |
- sed 's/[^A-Za-z0-9 ]//g' | tr -s " " > $cachedir/tmp && mv $cachedir/tmp $cachedir/titles.bw
-
-awk '{print NR " - ["$0"]"}' $cachedir/size.bw > $cachedir/tmp && mv $cachedir/tmp $cachedir/size.bw
-awk '{print "[S:"$1 ", L:"$2"]" }' $cachedir/seedleech.bw > $cachedir/tmp && mv $cachedir/tmp $cachedir/seedleech.bw
-
-# Getting the line number
-LINE=$(paste -d\ $cachedir/size.bw $cachedir/seedleech.bw $cachedir/titles.bw |
- dmenu -i -l 25 |
- cut -d\- -f1 |
- awk '{$1=$1; print}')
-
-url=$(head -n $LINE $cachedir/links.bw | tail -n +$LINE)
-fullURL="${baseurl}${url}/"
-
-# Requesting page for magnet link
-curl -s $fullURL > $cachedir/tmp.html
-magnet=$(grep -Po "magnet:\?xt=urn:btih:[a-zA-Z0-9]*" $cachedir/tmp.html | head -n 1)
-
-transadd "$magnet"
-
-# Simple notification
-notify-send "β¬οΈ Start downloading File π"
diff --git a/.local/bin/run_alacritty b/.local/bin/run_alacritty
deleted file mode 100755
index af0ecc2..0000000
--- a/.local/bin/run_alacritty
+++ /dev/null
@@ -1,8 +0,0 @@
-#!/bin/env bash
-
-mode=$(autorandr --current)
-if [[ $mode = 'hybridnew' ]]; then
- alacritty --config-file "$XDG_CONFIG_HOME/alacritty/docked.toml" $*
-else
- alacritty --config-file "$XDG_CONFIG_HOME/alacritty/normal.toml" $*
-fi
diff --git a/.local/bin/statusbar/sb-battery b/.local/bin/statusbar/sb-battery
deleted file mode 100755
index 513cb1e..0000000
--- a/.local/bin/statusbar/sb-battery
+++ /dev/null
@@ -1,37 +0,0 @@
-#!/bin/sh
-
-# Prints all batteries, their percentage remaining and an emoji corresponding
-# to charge status (π for plugged up, π for discharging on battery, etc.).
-
-case $BLOCK_BUTTON in
- 3) notify-send "π Battery module" "π: discharging
-π: not charging
-β»: stagnant charge
-π: charging
-β‘: charged
-β: battery very low!
-- Scroll to change adjust xbacklight." ;;
- 4) xbacklight -inc 10 ;;
- 5) xbacklight -dec 10 ;;
- 6) "$TERMINAL" -e "$EDITOR" "$0" ;;
-esac
-
-# Loop through all attached batteries and format the info
-for battery in /sys/class/power_supply/BAT?*; do
- # If non-first battery, print a space separator.
- [ -n "${capacity+x}" ] && printf " "
- # Sets up the status and capacity
- case "$(cat "$battery/status" 2>&1)" in
- "Full") status="β‘" ;;
- "Discharging") status="π" ;;
- "Charging") status="π" ;;
- "Not charging") status="π" ;;
- "Unknown") status="β»οΈ" ;;
- *) exit 1 ;;
- esac
- capacity="$(cat "$battery/capacity" 2>&1)"
- # Will make a warn variable if discharging and low
- [ "$status" = "π" ] && [ "$capacity" -le 25 ] && warn="β"
- # Prints the info
- printf "[ %s %s%d%% ]" "$status" "$warn" "$capacity"; unset warn
-done && printf "\\n"
diff --git a/.local/bin/statusbar/sb-clock b/.local/bin/statusbar/sb-clock
deleted file mode 100755
index 3a1b2ee..0000000
--- a/.local/bin/statusbar/sb-clock
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/bin/sh
-# date "+[ ο³ %a %d %b %Y] [ ο %I:%M %P ]"
-date "+[ ο³ %a %d %b %Y] [ ο %R ]"
diff --git a/.local/bin/statusbar/sb-memory b/.local/bin/statusbar/sb-memory
deleted file mode 100755
index b894ca1..0000000
--- a/.local/bin/statusbar/sb-memory
+++ /dev/null
@@ -1,4 +0,0 @@
-#!/bin/sh
-# echo "[ ο $(free --mebi | sed -n '2{p;q}' | awk '{printf ("%2.2fGiB", ( $3 / 1024), ($2 / 1024))}') $(sensors | awk '/Core 0/ {print "ο " $3}') ]"
-
-echo "[ ο $(free -h --si | sed -n "2s/\([^ ]* *\)\{2\}\([^ ]*\).*/\2/p") ο $(grep -o "^[^ ]*" /proc/loadavg ) ]"
diff --git a/.local/bin/statusbar/sb-mpdup b/.local/bin/statusbar/sb-mpdup
deleted file mode 100755
index 770d44d..0000000
--- a/.local/bin/statusbar/sb-mpdup
+++ /dev/null
@@ -1,8 +0,0 @@
-#!/bin/sh
-
-# This loop will update the mpd statusbar module whenever a command changes the
-# music player's status. mpd must be running on X's start for this to work.
-
-while : ; do
- mpc idle >/dev/null && kill -45 $(pidof dwmblocks) || break
-done
diff --git a/.local/bin/statusbar/sb-music b/.local/bin/statusbar/sb-music
deleted file mode 100755
index 0a8e0ca..0000000
--- a/.local/bin/statusbar/sb-music
+++ /dev/null
@@ -1,11 +0,0 @@
-#!/bin/sh
-
-filter() { mpc | sed "/^volume:/d;s/\\&/&/g;s/\\[paused\\].*/βΈ/g;/\\[playing\\].*/d;/^ERROR/Q" | paste -sd ' ' -;}
-
-pidof -x sb-mpdup >/dev/null 2>&1 || sb-mpdup >/dev/null 2>&1 &
-
-if [ -z "$(filter)" ]; then
- echo ""
-else
- echo "[ $(filter) ]"
-fi
diff --git a/.local/bin/statusbar/sb-updates b/.local/bin/statusbar/sb-updates
deleted file mode 100755
index e7683aa..0000000
--- a/.local/bin/statusbar/sb-updates
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/bin/sh
-
-echo "[ σ° $(checkupdates | wc -l) ]"
diff --git a/.local/bin/statusbar/sb-volume b/.local/bin/statusbar/sb-volume
deleted file mode 100755
index eefed94..0000000
--- a/.local/bin/statusbar/sb-volume
+++ /dev/null
@@ -1,2 +0,0 @@
-#!/bin/sh
-echo [ "$([ "$(pamixer --get-mute)" = "false" ] && printf 'ο¨ ' || printf 'ο¦ ')$(pamixer --get-volume)%" ]
|