updated stuff

This commit is contained in:
Nikolas Weger 2020-05-21 15:59:58 +02:00
parent 826c7b2c5e
commit e935f657b9
6 changed files with 24 additions and 0 deletions

4
bin/clock Executable file
View file

@ -0,0 +1,4 @@
#! /bin/bash
dte="$(date +"%a, %B %d %l:%M%p"| sed 's/ / /g')"
echo -e "$dte"

4
bin/kernel Executable file
View file

@ -0,0 +1,4 @@
#! /bin/bash
kern="$(uname -r)"
echo -e "$kern "

4
bin/memory Executable file
View file

@ -0,0 +1,4 @@
#! /bin/bash
mem="$(free -h | awk '/^Mem:/ {print $3 "/" $2}')"
echo -e "$mem ram "

4
bin/pacupdate Executable file
View file

@ -0,0 +1,4 @@
#!/bin/bash
cupd=$(checkupdates | wc -l)
printf "$cupd updates \n"

4
bin/upt Executable file
View file

@ -0,0 +1,4 @@
#! /bin/bash
upt="$(uptime --pretty | sed -e 's/up //g' -e 's/ days/d/g' -e 's/ day/d/g' -e 's/ hours/h/g' -e 's/ hour/h/g' -e 's/ minutes/m/g' -e 's/, / /g')"
echo -e "$upt uptime "

4
bin/volume Executable file
View file

@ -0,0 +1,4 @@
#!/bin/bash
vol="$(amixer get Master | tail -n1 | sed -r 's/.*\[(.*)%\].*/\1/')"
echo "${vol}% "