瀏覽代碼

even comments are bloat

tags/v3.1
Luke Smith 5 年之前
父節點
當前提交
b911eba455
沒有發現已知的金鑰在資料庫的簽署中 GPG Key ID: 4C50B54A911F6252
共有 2 個文件被更改,包括 1 次插入8 次删除
  1. +1
    -7
      bin/mailsync
  2. +0
    -1
      bin/openfile

+ 1
- 7
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


+ 0
- 1
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")


Loading…
取消
儲存