From 4090ada879c20874ea63e58690903f536aba9fa3 Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Sun, 4 Feb 2018 16:18:36 +1100 Subject: util: Remove broken notifications --- pywal/util.py | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'pywal/util.py') diff --git a/pywal/util.py b/pywal/util.py index 1302e13..acca2f7 100644 --- a/pywal/util.py +++ b/pywal/util.py @@ -4,7 +4,6 @@ Misc helper functions. import colorsys import json import os -import shutil import subprocess @@ -141,12 +140,3 @@ def disown(cmd): subprocess.Popen(cmd, stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL) - - -def msg(input_msg, notify): - """Print to the terminal and display a libnotify - notification.""" - if notify and shutil.which("notify-send"): - disown(["notify-send", input_msg]) - - print(input_msg) -- cgit v1.2.3