From 775ceccf3a4f22ec01e2b6a9280d60d0c4b1a8af Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Sun, 4 Feb 2018 15:52:24 +1100 Subject: [PATCH] misc: fixes --- pywal/sequences.py | 3 ++- pywal/util.py | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/pywal/sequences.py b/pywal/sequences.py index c492d32..a354891 100644 --- a/pywal/sequences.py +++ b/pywal/sequences.py @@ -51,7 +51,8 @@ def create_sequences(colors): sequences.extend([set_special(10, colors["special"]["foreground"], "g"), set_special(11, colors["special"]["background"], "h"), set_special(12, colors["colors"]["color1"], "l"), - set_special(13, colors["special"]["foreground"], "l")]) + set_special(13, colors["special"]["foreground"], "l"), + set_special(19, colors["special"]["foreground"], "l")]) # This escape sequence doesn't work in VTE terminals and their parsing of # unknown sequences is garbage so we need to use some escape sequence diff --git a/pywal/util.py b/pywal/util.py index a2325e8..1302e13 100644 --- a/pywal/util.py +++ b/pywal/util.py @@ -146,7 +146,7 @@ def disown(cmd): def msg(input_msg, notify): """Print to the terminal and display a libnotify notification.""" - if notify and shutil.which("notify"): + if notify and shutil.which("notify-send"): disown(["notify-send", input_msg]) print(input_msg)