mirror of
https://github.com/dylanaraps/pywal.git
synced 2025-02-09 23:09:21 +01:00
misc: fixes
This commit is contained in:
parent
63b6e35cd7
commit
775ceccf3a
@ -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
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user