Cleanup
This commit is contained in:
@@ -21,7 +21,7 @@ time_remaining=$(omarchy-battery-remaining-time)
|
|||||||
capacity=$(omarchy-battery-capacity)
|
capacity=$(omarchy-battery-capacity)
|
||||||
|
|
||||||
if [[ $state == "charging" ]]; then
|
if [[ $state == "charging" ]]; then
|
||||||
echo " Battery ${percentage}% · ${time_remaining} to full · ${power_rate}W / ${capacity}Wh"
|
echo "Battery ${percentage}% · ${time_remaining} to full · ${power_rate}W / ${capacity}Wh"
|
||||||
else
|
else
|
||||||
echo " Battery ${percentage}% · ${time_remaining} left · ${power_rate}W / ${capacity}Wh"
|
echo "Battery ${percentage}% · ${time_remaining} left · ${power_rate}W / ${capacity}Wh"
|
||||||
fi
|
fi
|
||||||
|
|||||||
@@ -2,4 +2,4 @@
|
|||||||
|
|
||||||
# omarchy:summary=Show the current battery status notification
|
# omarchy:summary=Show the current battery status notification
|
||||||
|
|
||||||
omarchy-notification-send -u low "$(omarchy-battery-status)"
|
omarchy-notification-send -g -u low "$(omarchy-battery-status)"
|
||||||
|
|||||||
@@ -2,4 +2,4 @@
|
|||||||
|
|
||||||
# omarchy:summary=Show the current time and date notification
|
# omarchy:summary=Show the current time and date notification
|
||||||
|
|
||||||
omarchy-notification-send -u low " $(date +"%A %H:%M · %d %B %Y · Week %V")"
|
omarchy-notification-send -g -u low "$(date +"%A %H:%M · %d %B %Y · Week %V")"
|
||||||
|
|||||||
@@ -2,4 +2,4 @@
|
|||||||
|
|
||||||
# omarchy:summary=Show the current weather notification
|
# omarchy:summary=Show the current weather notification
|
||||||
|
|
||||||
omarchy-notification-send -u low "$(omarchy-weather-status)"
|
omarchy-notification-send -g $(omarchy-weather-icon) -u low "$(omarchy-weather-status)"
|
||||||
|
|||||||
@@ -14,4 +14,4 @@ place=${place%%,*}
|
|||||||
place=${place^}
|
place=${place^}
|
||||||
temperature=${temperature#+}
|
temperature=${temperature#+}
|
||||||
|
|
||||||
echo "$(omarchy-weather-icon) $place · Temp $temperature · Wind $wind"
|
echo "$place · Temp $temperature · Wind $wind"
|
||||||
|
|||||||
Reference in New Issue
Block a user