mirror of
https://github.com/tiyn/dotfiles.git
synced 2025-04-20 08:37:49 +02:00
Compare commits
No commits in common. "1dd6b8c86c1931c1a8499a8da34eaf81b2d51883" and "b97537db9e6356b9ae38294ab9f0c71291da3f1b" have entirely different histories.
1dd6b8c86c
...
b97537db9e
@ -167,7 +167,7 @@
|
|||||||
"bypass": false,
|
"bypass": false,
|
||||||
"clipping": false,
|
"clipping": false,
|
||||||
"clipping-range": 0.0,
|
"clipping-range": 0.0,
|
||||||
"fft": "2048",
|
"fft": "16384",
|
||||||
"input-gain": 0.0,
|
"input-gain": 0.0,
|
||||||
"output-gain": 17.0,
|
"output-gain": 17.0,
|
||||||
"std": "Flat",
|
"std": "Flat",
|
||||||
|
@ -1,15 +1,12 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
model=$(cat /proc/cpuinfo | grep "model name" | head -n1)
|
icon="^b#282828^^c#dfdfdf^ ^d^ "
|
||||||
|
|
||||||
icon="^b#282828^^c#dfdfdf^ ^d^"
|
if [ "$1" = "amd" ]; then
|
||||||
|
|
||||||
if printf "$model " | grep -Fqe "AMD"; then
|
|
||||||
temp=$(sensors | awk '/Tctl/ {print $2}')
|
temp=$(sensors | awk '/Tctl/ {print $2}')
|
||||||
else
|
elif [ "$1" = "intel" ]; then
|
||||||
temp=$(sensors | awk '/Package id 0/ {print $4}')
|
temp=$(sensors | awk '/Package id 0/ {print $4}')
|
||||||
fi
|
fi
|
||||||
|
|
||||||
temp=$(printf %3s $(echo ${temp##*+} | sed "s/\..*//") | tr ' ' ' ')
|
temp=$(printf %3s $(echo ${temp##*+} | sed "s/\..*//") | tr ' ' ' ')
|
||||||
|
echo "$icon$temp°C"
|
||||||
echo "$icon $temp°C"
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/sh
|
#!/usr/bin/env sh
|
||||||
|
|
||||||
# Status bar module for disk space
|
# Status bar module for disk space
|
||||||
# $1 should be drive mountpoint
|
# $1 should be drive mountpoint
|
||||||
|
@ -1,15 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
icon="^b#282828^^c#dfdfdf^ ^d^"
|
|
||||||
|
|
||||||
temp=""
|
|
||||||
|
|
||||||
if command -v nvidia-smi > /dev/null; then
|
|
||||||
temp=$(nvidia-smi --query-gpu=temperature.gpu --format=csv,noheader)
|
|
||||||
temp=$(printf %3s $(echo ${temp##*+} | sed "s/\..*//") | tr ' ' ' ')
|
|
||||||
else
|
|
||||||
echo ""
|
|
||||||
return
|
|
||||||
fi
|
|
||||||
|
|
||||||
echo "$icon $temp°C"
|
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/sh
|
!/usr/bin/env sh
|
||||||
|
|
||||||
wifipercent=" ___"
|
wifipercent=" ___"
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user