diff options
author | Luke Smith <luke@lukesmith.xyz> | 2019-04-16 13:52:37 -0400 |
---|---|---|
committer | Luke Smith <luke@lukesmith.xyz> | 2019-04-16 13:52:37 -0400 |
commit | b911eba455e3b5b913ec7ea9e51e02200060e5b9 (patch) | |
tree | 9f08dd2f1fec585c1855fe576f063c3ae5bcafce | |
parent | da9a2063fde179a9907b1408bd1cc95062992d5f (diff) |
even comments are bloat
-rwxr-xr-x | bin/mailsync | 8 | ||||
-rwxr-xr-x | bin/openfile | 1 |
2 files changed, 1 insertions, 8 deletions
diff --git a/bin/mailsync b/bin/mailsync index 6292021..da1d2b7 100755 --- a/bin/mailsync +++ b/bin/mailsync @@ -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 diff --git a/bin/openfile b/bin/openfile index fdc0e5f..19cb077 100755 --- a/bin/openfile +++ b/bin/openfile @@ -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") |