setups my desktop environment from a debian netinst
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
250 B

# asus zenbook ux303la
set mhz (cat /sys/class/drm/card0/gt_cur_freq_mhz)
set bar (math "($mhz-200) / 8.0")
# thinkpad t430
#set mhz (cat /sys/class/drm/card0/gt_cur_freq_mhz)
#set bar (math "($mhz-350) / 8.5")
echo "$bar"