even comments are bloat
This commit is contained in:
parent
da9a2063fd
commit
b911eba455
@ -1,11 +1,5 @@
|
|||||||
#!/usr/bin/env sh
|
#!/usr/bin/env sh
|
||||||
# This script will run mbsync and check
|
# Sync mail and give notification if there is new mail.
|
||||||
# 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.
|
|
||||||
|
|
||||||
# Checks for internet connection and set notification script.
|
# Checks for internet connection and set notification script.
|
||||||
ping -q -c 1 1.1.1.1 > /dev/null || exit
|
ping -q -c 1 1.1.1.1 > /dev/null || exit
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
# Helps open a file with xdg-open from mutt in a external program without weird side effects.
|
# Helps open a file with xdg-open from mutt in a external program without weird side effects.
|
||||||
|
|
||||||
base=$(basename "$1")
|
base=$(basename "$1")
|
||||||
ext="${base##*.}"
|
ext="${base##*.}"
|
||||||
file=$(mktemp -u --suffix=".$ext")
|
file=$(mktemp -u --suffix=".$ext")
|
||||||
|
Loading…
Reference in New Issue
Block a user