aboutsummaryrefslogtreecommitdiff
path: root/.config/eww
diff options
context:
space:
mode:
authorJustine Smithies <justine@smithies.me.uk>2024-08-03 08:40:00 +0100
committerJustine Smithies <justine@smithies.me.uk>2024-08-03 08:40:00 +0100
commit08330f8102fdb53483fced47a9f71046fbf87740 (patch)
treea4ef6f15c49208b122d78dfef1a4c2176386f3da /.config/eww
parent943db6dd6eb2b2ca0d0b6487156031b0505be7c8 (diff)
Replace notify-send for the fyi notification client
Diffstat (limited to '.config/eww')
-rwxr-xr-x.config/eww/scripts/calendar.sh2
-rwxr-xr-x.config/eww/scripts/network.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/.config/eww/scripts/calendar.sh b/.config/eww/scripts/calendar.sh
index 98f94c0..63789d2 100755
--- a/.config/eww/scripts/calendar.sh
+++ b/.config/eww/scripts/calendar.sh
@@ -3,7 +3,7 @@
# Calendar script
function ShowCalendar() {
- notify-send -i "calendar" " 📅 Calendar" "$(cal | sed "s/\<$(date +%-d)\>/<span color='#fabd2f'><b>$(date +%-d)<\/b><\/span>/")" --hint=string:x-canonical-private-synchronous:calendar
+ fyi -a "Calendar" --hint string:x-canonical-private-synchronous:calendar " 📅 Calendar" "$(cal | sed "s/\<$(date +%-d)\>/<span color='#fabd2f'><b>$(date +%-d)<\/b><\/span>/")"
}
function EditCalendar() {
diff --git a/.config/eww/scripts/network.sh b/.config/eww/scripts/network.sh
index e4f36fa..7e6cd25 100755
--- a/.config/eww/scripts/network.sh
+++ b/.config/eww/scripts/network.sh
@@ -24,7 +24,7 @@ WAN IP: $wan"
else
connection="No active connection."
fi
- notify-send -i "network-idle" "$connection" -r 123
+ fyi -i "network-idle" --hint string:x-canonical-private-synchronous:network-status "$connection"
}
function IconUpdate() {