Miscellany
public shellscript v1 · immutable#!/bin/bash -eget_data() { MHZ="CPU: "$(cpufreq-info | tail -n 1 | cut -d" " -f 7-) CPUTEMP="Temperatur: "$( calc -p `cat /sys/class/thermal/thermal_zone1/temp`/1000)"C" SSID=$(/sbin/iwconfig | grep eth1 | cut -d" " -f 10-) SIGNAL=$(/sbin/iwconfig | grep Link | cut -d" " -f 11-12) NEWLINE=$(echo " ")}get_datanotify-send "$MHZ $NEWLINE $CPUTEMP $NEWLINE $SSID $NEWLINE $SIGNAL"