From 5eee5b44924bf9079a67d5bc7612bfad56ddeed3 Mon Sep 17 00:00:00 2001 From: Yaroslav Date: Fri, 17 Jan 2020 19:14:34 +0300 Subject: config restructuring and cleanup --- dotfiles/.scripts/notistats | 10 ---------- 1 file changed, 10 deletions(-) delete mode 100755 dotfiles/.scripts/notistats (limited to 'dotfiles/.scripts/notistats') diff --git a/dotfiles/.scripts/notistats b/dotfiles/.scripts/notistats deleted file mode 100755 index 0da5b7b..0000000 --- a/dotfiles/.scripts/notistats +++ /dev/null @@ -1,10 +0,0 @@ -#!/bin/sh - -body=$(echo -e "Screen brightness:\t$(xbacklight -get)"; -lscpu | grep 'CPU MHz'; -sensors | grep 'Package id 0' | sed 's/Package id 0/CPU temp/' | awk '{print $1 $2 "\t" $3}'; -sensors | grep 'fan'; -echo print\(\'BAT0 drainage:\\t{}W\'.format\($(grep 'POWER_SUPPLY_POWER_NOW' /sys/class/power_supply/BAT0/uevent | awk -F '=' '{print $2}')/1000000\)\) | python; -echo print\(\'BAT1 drainage:\\t{}W\'.format\($(grep 'POWER_SUPPLY_POWER_NOW' /sys/class/power_supply/BAT1/uevent | awk -F '=' '{print $2}')/1000000\)\) | python) - -notify-send "Hardware status" "$body" -- cgit v1.2.3