~smlavine/scripts

8910c59c5b17621042fd2a35e648fa1508f6e7f9 — Sebastian LaVine 12 days ago eb5dd38 master
Remove display-todo

I don't use this anymore.
1 files changed, 0 insertions(+), 17 deletions(-)

D src/display-todo
D src/display-todo => src/display-todo +0 -17
@@ 1,17 0,0 @@
#!/bin/sh
# Copyright (c) 2021 Sebastian LaVine <mail@smlavine.com>
# SPDX-License-Identifier: MPL-2.0
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#
# File:        display-todo
# Description: Display a formatted to-do file with dunst.


# This is an intended newline here.
str="To-do:
$(awk '{ print NR " " $0 }' ~/TODO)"

pgrep dunst >/dev/null && dunstify "$str" || echo "$str"