<reponame>da3dsoul/superpaper
#!/usr/bin/env python3
"""
Superpaper is a cross-platform multi monitor wallpaper manager.

Written by <NAME>.
"""

#__all__ to be set at some point. Defines the APIs of the module(s).
__author__ = "<NAME>"

import sys

from superpaper.cli import cli_logic
from superpaper.tray import tray_loop
from superpaper.spanmode import set_spanmode

def main():
    """Runs tray applet if no command line arguments are passed, CLI parsing otherwise."""
    set_spanmode()
    if len(sys.argv) <= 1:
        tray_loop()
    else:
        cli_logic()


if __name__ == "__main__":
    main()

#!/usr/bin/env python3
"""
Superpaper is a cross-platform multi monitor wallpaper manager.

Written by <NAME>.
"""

#__all__ to be set at some point. Defines the APIs of the module(s).
__author__ = "<NAME>"

import sys

from superpaper.cli import cli_logic
from superpaper.tray import tray_loop
from superpaper.spanmode import set_spanmode

def main():
    """Runs tray applet if no command line arguments are passed, CLI parsing otherwise."""
    set_spanmode()
    if len(sys.argv) <= 1:
        tray_loop()
    else:
        cli_logic()


if __name__ == "__main__":
    main()
#!/usr/bin/env python3 Superpaper is a cross-platform multi monitor wallpaper manager.  Written by <NAME>. #__all__ to be set at some point. Defines the APIs of the module(s). Runs tray applet if no command line arguments are passed, CLI parsing otherwise.