even comments are bloat

This commit is contained in:
Luke Smith 2019-04-16 13:52:37 -04:00
parent da9a2063fd
commit b911eba455
No known key found for this signature in database
GPG Key ID: 4C50B54A911F6252
2 changed files with 1 additions and 8 deletions

View File

@ -1,11 +1,5 @@
#!/usr/bin/env sh
# This script will run mbsync and check
# for new email if there is an internet connection.
#
# If it detects new mail, it uses mpv to play a
# notification sound: notify.opus
#
# I have this run as a cronjob every 5 minutes.
# Sync mail and give notification if there is new mail.
# Checks for internet connection and set notification script.
ping -q -c 1 1.1.1.1 > /dev/null || exit

View File

@ -1,6 +1,5 @@
#!/bin/sh
# Helps open a file with xdg-open from mutt in a external program without weird side effects.
base=$(basename "$1")
ext="${base##*.}"
file=$(mktemp -u --suffix=".$ext")