spring clean-up

This commit is contained in:
git
2023-05-30 14:29:36 +02:00
parent c42c8c09a5
commit ac15d7635d
5 changed files with 0 additions and 60 deletions

8
lbg
View File

@@ -1,8 +0,0 @@
#!/bin/bash
while true
do
xwinwrap -fs -fdt -ni -b -nf -un -o 1.0 -debug -- mpv -wid WID --loop --no-audio $(find /home/warezjoe/Videa/animation -type f | shuf -n 1) &
sleep 300
killall mpv
done

View File

@@ -1,12 +0,0 @@
#!/bin/bash
if [ $(pgrep -c $(basename $0)) -gt 1 ]
then
echo 'Proccess already exist. Exiting..'
exit
fi
echo 'Good proccess run..'
sleep 500;

4
syou
View File

@@ -1,4 +0,0 @@
#!/bin/bash
#firefox -new-tab "https://www.youtube.com/results?search_query="$1+$2+$3+$4+$5+$6+$7+$8+$9
search=$(curl "https://www.youtube.com/results?search_query="$1+$2+$3+$4+$5+$6+$7+$8+$9 | grep -o -P 'watch\?v=.{0,11}' | head -1)
youtube-dl --extract-audio --audio-format mp3 -o "%(title)s.%(ext)s" https://www.youtube.com/$search & > /dev/null

7
vssh
View File

@@ -1,7 +0,0 @@
#/bin/bash
export SSH_AUTH_SOCK="${XDG_RUNTIME_DIR}/gnupg/S.gpg-agent.ssh"
export GPG_TTY=$(tty)
gpg-connect-agent updatestartuptty /bye >/dev/null
exec ssh $@

29
welcome
View File

@@ -1,29 +0,0 @@
#!/bin/bash
let upSeconds="$(/usr/bin/cut -d. -f1 /proc/uptime)"
let secs=$((${upSeconds}%60))
let mins=$((${upSeconds}/60%60))
let hours=$((${upSeconds}/3600%24))
let days=$((${upSeconds}/86400))
UPTIME=`printf "%d days, %02dh%02dm%02ds" "$days" "$hours" "$mins" "$secs"`
# get the load averages
read one five fifteen rest < /proc/loadavg
echo "$(tput setaf 2)
▄ ▄ ██ █▄▄▄▄ ▄███▄ ▄▄▄▄▄▄ ▄▄▄▄▄ ████▄ ▄███▄
█ █ █ █ █ ▄▀ █▀ ▀ ▀ ▄▄▀ ▄▀ █ █ █ █▀ ▀
█ ▄ █ █▄▄█ █▀▀▌ ██▄▄ ▄▀▀ ▄▀ █ █ █ ██▄▄
█ █ █ █ █ █ █ █▄ ▄▀ ▀▀▀▀▀▀ ▄ █ ▀████ █▄ ▄▀
█ █ █ █ █ ▀███▀ ▀ ▀███▀
▀ ▀ █ ▀
`date +"%A, %e %B %Y, %r"`
`uname -srmo`
$(tput sgr0)- Uptime.............: ${UPTIME}
$(tput sgr0)- Memory.............: `free | grep Mem | awk '{print $3/1024}'` MB (Used) / `cat /proc/meminfo | grep MemTotal | awk {'print $2/1024'}` MB (Total)
$(tput sgr0)- Load Averages......: ${one}, ${five}, ${fifteen} (1, 5, 15 min)
$(tput sgr0)- Running Processes..: `ps ax | wc -l | tr -d " "`
$(tput sgr0)- IP Addresses.......: `hostname -I | /usr/bin/cut -d " " -f 1` and `wget -q -O - http://icanhazip.com/ | tail`
$(tput sgr0)"