mirror of
https://github.com/dylanaraps/pywal.git
synced 2025-06-20 01:27:42 +02:00
Args: Add -n
This commit is contained in:
parent
4c37388aa2
commit
b2af5c914d
7
wal.py
7
wal.py
@ -48,8 +48,8 @@ def get_args():
|
|||||||
arg.add_argument('-i', metavar='"/path/to/img.jpg"',
|
arg.add_argument('-i', metavar='"/path/to/img.jpg"',
|
||||||
help='Which image or directory to use.')
|
help='Which image or directory to use.')
|
||||||
|
|
||||||
# arg.add_argument('-n', action='store_true',
|
arg.add_argument('-n', action='store_true',
|
||||||
# help='Skip setting the wallpaper.')
|
help='Skip setting the wallpaper.')
|
||||||
|
|
||||||
arg.add_argument('-o', metavar='"script_name"',
|
arg.add_argument('-o', metavar='"script_name"',
|
||||||
help='External script to run after "wal".')
|
help='External script to run after "wal".')
|
||||||
@ -400,7 +400,8 @@ def main():
|
|||||||
colors = get_colors(image)
|
colors = get_colors(image)
|
||||||
|
|
||||||
# Set the wallpaper.
|
# Set the wallpaper.
|
||||||
set_wallpaper(image)
|
if not args.n:
|
||||||
|
set_wallpaper(image)
|
||||||
|
|
||||||
# Set the colors.
|
# Set the colors.
|
||||||
send_sequences(colors, args.t)
|
send_sequences(colors, args.t)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user