diff options
author | Vidhu Kant Sharma <bokuwakanojogahoshii@yahoo.com> | 2021-04-08 16:38:30 +0530 |
---|---|---|
committer | Vidhu Kant Sharma <bokuwakanojogahoshii@yahoo.com> | 2021-04-08 16:38:30 +0530 |
commit | f94c1202afce479d61ff833d8cd05fe417c98288 (patch) | |
tree | 8fd0da2ca4fc57f90c194757cb77628edc0b9852 /.config/lemonblocks/modules | |
parent | 5db7f0e0671acfb9d03145d21a3645c80efc167e (diff) |
enabled golang and other modules in starship, trying to push to this repo after messing everything up
Diffstat (limited to '.config/lemonblocks/modules')
-rwxr-xr-x | .config/lemonblocks/modules/cpu_load.sh | 10 | ||||
-rwxr-xr-x | .config/lemonblocks/modules/cpu_temp.sh | 5 | ||||
-rwxr-xr-x | .config/lemonblocks/modules/date.sh | 3 | ||||
-rwxr-xr-x | .config/lemonblocks/modules/mem_usage.sh | 4 | ||||
-rwxr-xr-x | .config/lemonblocks/modules/volume.sh | 9 |
5 files changed, 0 insertions, 31 deletions
diff --git a/.config/lemonblocks/modules/cpu_load.sh b/.config/lemonblocks/modules/cpu_load.sh deleted file mode 100755 index 1a677a9..0000000 --- a/.config/lemonblocks/modules/cpu_load.sh +++ /dev/null @@ -1,10 +0,0 @@ -#!/bin/bash - -read cpu a b c previdle rest < /proc/stat -prevtotal=$((a+b+c+previdle)) -sleep 0.5 -read cpu a b c idle rest < /proc/stat -total=$((a+b+c+idle)) -cpu=$((100*( (total-prevtotal) - (idle-previdle) ) / (total-prevtotal) )) - -printf " CPU:%s%% " $cpu diff --git a/.config/lemonblocks/modules/cpu_temp.sh b/.config/lemonblocks/modules/cpu_temp.sh deleted file mode 100755 index a5286ad..0000000 --- a/.config/lemonblocks/modules/cpu_temp.sh +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/bash -CEL=$'\xc2\xb0C' -temp=$( cat /sys/devices/virtual/thermal/thermal_zone0/temp ) -temp=`expr $temp / 1000` -printf " TEMP:$temp$CEL " diff --git a/.config/lemonblocks/modules/date.sh b/.config/lemonblocks/modules/date.sh deleted file mode 100755 index dcd0681..0000000 --- a/.config/lemonblocks/modules/date.sh +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/bash -date=$(date +"%d %b(%A) %H:%M") -printf " $date " diff --git a/.config/lemonblocks/modules/mem_usage.sh b/.config/lemonblocks/modules/mem_usage.sh deleted file mode 100755 index 6b939eb..0000000 --- a/.config/lemonblocks/modules/mem_usage.sh +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/bash - -mem=$(free -m | grep Mem: | awk '{print$3 / $2 * 100}') -printf " MEM: %.0f%% " $mem diff --git a/.config/lemonblocks/modules/volume.sh b/.config/lemonblocks/modules/volume.sh deleted file mode 100755 index a0843dd..0000000 --- a/.config/lemonblocks/modules/volume.sh +++ /dev/null @@ -1,9 +0,0 @@ -#!/bin/bash - -printf " VOL:$(pamixer --get-volume-human)% " -# if [ $volume_level == "muted" ]; then - # printf "%{F#ff0058}VOL: $(pamixer --get-volume)%{F-}" -# else - # printf "VOL: $volume_level" -# fi - |