Initial chezmoi commit
This commit is contained in:
7
dot_config/i3blocks/scripts/executable_temperature
Normal file
7
dot_config/i3blocks/scripts/executable_temperature
Normal file
@@ -0,0 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
. "/home/kevin/.cache/wal/colors.sh"
|
||||
|
||||
temps="$(sensors | rg 'temp1:.*' | awk '{ print $2 }' | rg -o '\d{2}' | \
|
||||
sed 's/$/°C/' | tr '\n' ' ' | xargs)"
|
||||
printf "%s\n\n%s\n" "$temps" "$color7"
|
||||
Reference in New Issue
Block a user