From 583a0c19ad2f67a54130a219eeeaccf53ea08ded Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Mon, 26 Jun 2017 12:09:35 +1000 Subject: General: Split wal into multiple files. --- pywal/settings.py | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 pywal/settings.py (limited to 'pywal/settings.py') diff --git a/pywal/settings.py b/pywal/settings.py new file mode 100644 index 0000000..387178b --- /dev/null +++ b/pywal/settings.py @@ -0,0 +1,33 @@ +""" +Global variables and classes. +""" +import pathlib + + +__version__ = "0.1.6" + + +# Internal variables. +COLOR_COUNT = 16 +CACHE_DIR = pathlib.Path.home() / ".cache/wal/" + + +# pylint: disable=too-few-public-methods +class ColorType(object): + """Store colors in various formats.""" + plain = [] + xrdb = [] + sequences = [] + shell = [] + scss = [] + css = [":root {"] + putty = [ + "Windows Registry Editor Version 5.00", + "[HKEY_CURRENT_USER\\Software\\SimonTatham\\PuTTY\\Sessions\\Wal]", + ] + + +# pylint: disable=too-few-public-methods +class Args(object): + """Store args.""" + notify = True -- cgit v1.2.3 From 0bf70c105ec6cc5b6cfa3c4710c01fa78b968c54 Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Mon, 26 Jun 2017 14:41:57 +1000 Subject: General: Cleanup --- pywal/settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pywal/settings.py') diff --git a/pywal/settings.py b/pywal/settings.py index 387178b..cb676f2 100644 --- a/pywal/settings.py +++ b/pywal/settings.py @@ -4,7 +4,7 @@ Global variables and classes. import pathlib -__version__ = "0.1.6" +__version__ = "0.2.0" # Internal variables. -- cgit v1.2.3 From e329f3aea94618bbcd27f154225344428e22163a Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Mon, 26 Jun 2017 15:39:39 +1000 Subject: General: Renames settings.py to globals.py --- pywal/settings.py | 33 --------------------------------- 1 file changed, 33 deletions(-) delete mode 100644 pywal/settings.py (limited to 'pywal/settings.py') diff --git a/pywal/settings.py b/pywal/settings.py deleted file mode 100644 index cb676f2..0000000 --- a/pywal/settings.py +++ /dev/null @@ -1,33 +0,0 @@ -""" -Global variables and classes. -""" -import pathlib - - -__version__ = "0.2.0" - - -# Internal variables. -COLOR_COUNT = 16 -CACHE_DIR = pathlib.Path.home() / ".cache/wal/" - - -# pylint: disable=too-few-public-methods -class ColorType(object): - """Store colors in various formats.""" - plain = [] - xrdb = [] - sequences = [] - shell = [] - scss = [] - css = [":root {"] - putty = [ - "Windows Registry Editor Version 5.00", - "[HKEY_CURRENT_USER\\Software\\SimonTatham\\PuTTY\\Sessions\\Wal]", - ] - - -# pylint: disable=too-few-public-methods -class Args(object): - """Store args.""" - notify = True -- cgit v1.2.3 From 7a723eb173509349e2ebe5b3e706a9cb1fd4be76 Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Mon, 26 Jun 2017 23:36:36 +1000 Subject: General: Rename globals to settings and import constants we need. --- pywal/settings.py | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100755 pywal/settings.py (limited to 'pywal/settings.py') diff --git a/pywal/settings.py b/pywal/settings.py new file mode 100755 index 0000000..c72b37a --- /dev/null +++ b/pywal/settings.py @@ -0,0 +1,12 @@ +""" +Global variables and classes. +""" +import pathlib + + +__version__ = "0.2.0" + + +# Internal variables. +COLOR_COUNT = 16 +CACHE_DIR = pathlib.Path.home() / ".cache/wal/" -- cgit v1.2.3 From 6215fd602bee66c78af0ff8614a0881c8b0ac67e Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Mon, 26 Jun 2017 23:46:58 +1000 Subject: General: Update comments. --- pywal/settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pywal/settings.py') diff --git a/pywal/settings.py b/pywal/settings.py index c72b37a..8758a98 100755 --- a/pywal/settings.py +++ b/pywal/settings.py @@ -1,5 +1,5 @@ """ -Global variables and classes. +Global Constants. """ import pathlib -- cgit v1.2.3