From 0f58284817310ce6d147588308650dadb47f1a8c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hannes=20K=C3=B6rber?= Date: Mon, 27 May 2024 12:36:46 +0200 Subject: [PATCH] Remove dunstctl, upstream includes it --- bin/dunstctl | 25 ------------------------- 1 file changed, 25 deletions(-) delete mode 100755 bin/dunstctl diff --git a/bin/dunstctl b/bin/dunstctl deleted file mode 100755 index 0e649d1..0000000 --- a/bin/dunstctl +++ /dev/null @@ -1,25 +0,0 @@ -#!/usr/bin/env bash - -set -o nounset - -_logfile="$XDG_RUNTIME_DIR/dunstctl.log" - -log() { - printf '[%s] %s\n' "$(date -uIseconds)" "$*" >> "$_logfile" -} - -case "$1 $2" in - "set-paused false") - log "Enabling dunst" - systemctl --user --no-block kill --signal SIGUSR2 dunst - - ;; - "set-paused true") - log "Disabling dunst" - systemctl --user --no-block kill --signal SIGUSR1 dunst - ;; - *) - >&2 printf 'Unknown command\n' - exit 1 -esac -