diff --git a/joy/vui/font_data.py b/joy/vui/font_data.py index bfc7763..ff84e51 100644 --- a/joy/vui/font_data.py +++ b/joy/vui/font_data.py @@ -1,3 +1,22 @@ +# -*- coding: utf-8 -*- +# +# Copyright © 2019 Simon Forman +# +# This file is part of Thun +# +# Thun is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# Thun is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with Thun. If not see . +# from StringIO import StringIO import base64, zlib diff --git a/joy/vui/init_joy_home.py b/joy/vui/init_joy_home.py index b0c2ad0..52ea90f 100644 --- a/joy/vui/init_joy_home.py +++ b/joy/vui/init_joy_home.py @@ -1,3 +1,22 @@ +# -*- coding: utf-8 -*- +# +# Copyright © 2019 Simon Forman +# +# This file is part of Thun +# +# Thun is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# Thun is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with Thun. If not see . +# ''' Utility module to help with setting up the initial contents of the JOY_HOME directory. diff --git a/joy/vui/main.py b/joy/vui/main.py index f1e14cb..d0f7237 100644 --- a/joy/vui/main.py +++ b/joy/vui/main.py @@ -28,7 +28,7 @@ FULLSCREEN = '-f' in sys.argv JOY_HOME = os.environ.get('JOY_HOME') if JOY_HOME is None: - JOY_HOME = os.path.expanduser('~/.joypy') + JOY_HOME = os.path.expanduser('~/.thun') if not os.path.isabs(JOY_HOME): raise ValueError('what directory?') diff --git a/joy/vui/persist_task.py b/joy/vui/persist_task.py index 84af526..45ed8c4 100644 --- a/joy/vui/persist_task.py +++ b/joy/vui/persist_task.py @@ -194,7 +194,7 @@ def check_filename(name): if __name__ == '__main__': - JOY_HOME = os.path.expanduser('~/.joypy') + JOY_HOME = os.path.expanduser('~/.thun') pt = PersistTask(JOY_HOME) content_id, thing = pt.open('stack.pickle') pt.persist(content_id)