xfce4-notifyd missing a send-notifyd call
Fedora 37 libnotify-0.8.2-1.fc37.x86_64 xfce4-notifyd-0.6.4-1.fc37.x86_64
After removing xfce4-notifyd and reverting to libnotify, I noticed that a send-notify call started showing up again.
Here is the code. You will have to supply you own icons or none at all. Or I can attach them if you want.
`#!/bin/bash
notify-send -t 0 -u normal -i /home/linuxutil/Images/HardDrive.jpg "Boot Drive" $(grep sd /etc/mtab | awk '{print $1}')
BootDrive=$(grep boot /etc/mtab | grep -v efi | awk '{print $1}')
BootDrive="/dev/sda1"
BootDrive="/dev/sdb1"
BootDrive="/dev/nvme0n1p2"
BootDrive="/unknown"
if [ "BootDrive" == "/dev/sda1" ] || [ "
BootDrive" == "/dev/sda2" ]; then
# DrivePic=/home/linuxutil/Images/HardDrive.jpg
DrivePic=/home/linuxutil/Images/HardDriveRed.jpg
elif [ "BootDrive" == "/dev/sdb1" ] || [ "
BootDrive" == "/dev/sdb2" ]; then
DrivePic=/home/linuxutil/Images/HardDriveRed.jpg
elif [ "$BootDrive" == "/dev/nvme0n1p2" ]; then DrivePic=/home/linuxutil/Images/HardDriveGreen.jpg
else DrivePic=/home/linuxutil/Images/HardDriveUnknown.jpg fi
notify-send -t 0 -u normal -i "{DrivePic}" "Boot Drive" "
{BootDrive}"
`
Screenshot of popup run under stock libnotify with xfce4-notifyd removed