From c10d7ac8ceffec28a60102da537ba59dc13a6910 Mon Sep 17 00:00:00 2001 From: Nulo Date: Sun, 10 Apr 2022 11:58:50 -0300 Subject: [PATCH] Borrar notificar-informacion.sh --- .local/bin/notificar-informacion.sh | 11 ----------- 1 file changed, 11 deletions(-) delete mode 100755 .local/bin/notificar-informacion.sh diff --git a/.local/bin/notificar-informacion.sh b/.local/bin/notificar-informacion.sh deleted file mode 100755 index ff4b736..0000000 --- a/.local/bin/notificar-informacion.sh +++ /dev/null @@ -1,11 +0,0 @@ -#!/bin/sh -battery="$(upower -i /org/freedesktop/UPower/devices/battery_BAT0)" -get_battery_value () { - echo "$battery" | grep "$1" | awk '{ print $2 }' -} -title="$(date +%T)" -body="\ -$(date +"%A %d of %B") -$(get_battery_value percentage) $(get_battery_value state)\ -" -notify-send --expire-time=5000 "$title" "$body"