diff options
Diffstat (limited to '')
-rwxr-xr-x | .local/bin/hddmnt | 6 | ||||
-rwxr-xr-x | .local/bin/hddumnt | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/.local/bin/hddmnt b/.local/bin/hddmnt index 33d0ebf..8ede464 100755 --- a/.local/bin/hddmnt +++ b/.local/bin/hddmnt @@ -11,15 +11,15 @@ case "$(hostname -s)" in exit 1 fi if ! doas cryptsetup open "$dev" "$devname"; then - notify-send -u critical 'exthdd' " failed to uncrypt dev $dev" + notify-send -u critical 'exthdd' " failed to uncrypt dev <b>$dev</b>" exit 1 fi mkdir -p "$mountpoint" if ! doas mount /dev/mapper/"$devname" "$mountpoint"; then - notify-send -u critical 'exthdd' " failed to mount dev $dev" + notify-send -u critical 'exthdd' " failed to mount dev <b>$dev</b>" exit 1 fi - notify-send -t 5000 'exthdd' " crypt dev mounted to $mountpoint" + notify-send -t 5000 'exthdd' " crypt dev mounted to <b>$mountpoint</b>" ;; mars) if ! diskinfo da0 >/dev/null; then diff --git a/.local/bin/hddumnt b/.local/bin/hddumnt index 75c6570..9a5319b 100755 --- a/.local/bin/hddumnt +++ b/.local/bin/hddumnt @@ -6,13 +6,13 @@ mountpoint="$HOME/$devname" case "$(hostname -s)" in mother|po-rbo) if ! doas umount "$mountpoint"; then - notify-send -u critical 'exthdd' " failed to dismount $mountpoint" + notify-send -u critical 'exthdd' " failed to dismount <b>$mountpoint</b>" fi if ! doas cryptsetup close "$devname"; then - notify-send -u critical 'exthdd' " failed to close crypt dev $devname" + notify-send -u critical 'exthdd' " failed to close crypt dev <b>$devname</b>" fi rmdir "$mountpoint" - notify-send -t 5000 'exthdd' " crypt dev dismounted from $mountpoint" + notify-send -t 5000 'exthdd' " crypt dev dismounted from <b>$mountpoint</b>" ;; mars) if ! mount | grep -F /dev/da0p1; then |