mirror of
https://github.com/Matir/skel.git
synced 2026-05-26 05:29:09 -07:00
ACPI Temperature alias.
This commit is contained in:
@@ -35,3 +35,6 @@ alias dircount="for d in * ; do find \$d -type d | wc -l | tr -d '\n' ; echo ' '
|
|||||||
|
|
||||||
# Drop caches for swap issues
|
# Drop caches for swap issues
|
||||||
alias drop_caches="echo 3 | sudo /usr/bin/tee /proc/sys/vm/drop_caches"
|
alias drop_caches="echo 3 | sudo /usr/bin/tee /proc/sys/vm/drop_caches"
|
||||||
|
|
||||||
|
# dump acpi temperature
|
||||||
|
alias temp='printf "%02.2f\n" "$(cat /sys/class/thermal/thermal_zone0/temp)e-3"'
|
||||||
|
|||||||
Reference in New Issue
Block a user