diff options
| author | Dylan Araps <dylan.araps@gmail.com> | 2018-02-04 15:52:24 +1100 |
|---|---|---|
| committer | Dylan Araps <dylan.araps@gmail.com> | 2018-02-04 15:52:24 +1100 |
| commit | 775ceccf3a4f22ec01e2b6a9280d60d0c4b1a8af (patch) | |
| tree | f3b5550b3f5579c80d4a2cf00a8fa56ffd0921d6 | |
| parent | 63b6e35cd7818a27c9ebcef0c911e5dd8eb28291 (diff) | |
misc: fixes
| -rw-r--r-- | pywal/sequences.py | 3 | ||||
| -rw-r--r-- | 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) |
