Code Sample |
${color red}$hr ${color grey}Uptime: $color $uptime ${color #ddd}Battery: $color ${battery} ${color #ddd}CPU Temp: $color ${acpitemp}degC ${color grey}CPU Freq: $color ${execi 180 ~/.cpufreq.sh} ${color grey}CPU Govn: $color ${execi 180 ~/.cpugov.sh} ${color green}$hr$color [.cpufreq.sh] cpufreq-info -mf [.cpugov.sh] cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor |
Code Sample |
$ sudo /etc/init.d/laptop-mode status | grep drive drive state is: standby (NOTE: drive settings affected by Laptop Mode cannot be retrieved.) $ sudo /etc/init.d/laptop-mode status | grep drive drive state is: active/idle (NOTE: drive settings affected by Laptop Mode cannot be retrieved.) |
Quote |
Can you edit those *.sh files? |
Code Sample |
$ cpufreq-info -mf | head -n1 1.60 GHz $ cpufreq-info -mf | head -c8 1.60 GHzdsl@dslbox:~$ |
Code Sample |
$ cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor | head -c11 performancedsl@dslbox:~$ |
Code Sample |
$ sudo /etc/init.d/laptop-mode status | grep "drive state is:" | cut -b22- active/idle |
Code Sample |
$ sudo /etc/init.d/laptop-mode status | grep "drive state is:" | awk '{printf $1}' |