updated stuff
This commit is contained in:
parent
826c7b2c5e
commit
e935f657b9
6 changed files with 24 additions and 0 deletions
4
bin/clock
Executable file
4
bin/clock
Executable 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
4
bin/kernel
Executable file
|
@ -0,0 +1,4 @@
|
||||||
|
#! /bin/bash
|
||||||
|
|
||||||
|
kern="$(uname -r)"
|
||||||
|
echo -e "$kern "
|
4
bin/memory
Executable file
4
bin/memory
Executable file
|
@ -0,0 +1,4 @@
|
||||||
|
#! /bin/bash
|
||||||
|
|
||||||
|
mem="$(free -h | awk '/^Mem:/ {print $3 "/" $2}')"
|
||||||
|
echo -e "$mem ram "
|
4
bin/pacupdate
Executable file
4
bin/pacupdate
Executable file
|
@ -0,0 +1,4 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
cupd=$(checkupdates | wc -l)
|
||||||
|
printf "$cupd updates \n"
|
4
bin/upt
Executable file
4
bin/upt
Executable 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
4
bin/volume
Executable file
|
@ -0,0 +1,4 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
vol="$(amixer get Master | tail -n1 | sed -r 's/.*\[(.*)%\].*/\1/')"
|
||||||
|
echo "${vol}% "
|
Loading…
Add table
Add a link
Reference in a new issue