mirror of
https://github.com/dylanaraps/pywal.git
synced 2025-06-20 01:27:42 +02:00
general: fix linting
This commit is contained in:
parent
ba84790b7a
commit
78582215a0
@ -56,7 +56,8 @@ def get_args(args):
|
|||||||
don't display notifications.")
|
don't display notifications.")
|
||||||
|
|
||||||
arg.add_argument("-r", action="store_true",
|
arg.add_argument("-r", action="store_true",
|
||||||
help="Deprecated: Use (cat ~/.cache/wal/sequences &) instead.")
|
help="Deprecated: Use \
|
||||||
|
(cat ~/.cache/wal/sequences &) instead.")
|
||||||
|
|
||||||
arg.add_argument("-R", action="store_true",
|
arg.add_argument("-R", action="store_true",
|
||||||
help="Restore previous colorscheme.")
|
help="Restore previous colorscheme.")
|
||||||
|
@ -2,7 +2,6 @@
|
|||||||
Reload programs.
|
Reload programs.
|
||||||
"""
|
"""
|
||||||
import os
|
import os
|
||||||
import re
|
|
||||||
import shutil
|
import shutil
|
||||||
import subprocess
|
import subprocess
|
||||||
|
|
||||||
|
@ -65,7 +65,8 @@ def create_sequences(colors):
|
|||||||
# \033[8m # Conceal text.
|
# \033[8m # Conceal text.
|
||||||
# \033]708;#000000\007 # Garbage sequence.
|
# \033]708;#000000\007 # Garbage sequence.
|
||||||
# \0338 # Restore cursor position.
|
# \0338 # Restore cursor position.
|
||||||
sequences.append(f"\0337\033[1000H\033[8m\033]708;{colors['special']['background']}\007\0338")
|
sequences.append(f"\0337\033[1000H\033[8m\033]708;%s\007\0338" %
|
||||||
|
colors['special']['background'])
|
||||||
|
|
||||||
return "".join(sequences)
|
return "".join(sequences)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user