2
# -*- coding: utf-8 -*-
5
# J Phani Mahesh <phanimahesh@gmail.com>
6
# Barneedhar (jokerdino) <barneedhar@ubuntu.com>
7
# Amith KK <amithkumaran@gmail.com>
8
# Georgi Karavasilev <motorslav@gmail.com>
9
# Sam Tran <samvtran@gmail.com>
10
# Sam Hewitt <hewittsamuel@gmail.com>
11
# Angel Araya <al.arayaq@gmail.com>
14
# A One-stop configuration tool for Unity.
18
# This file is a part of Unity Tweak Tool
20
# Unity Tweak Tool is free software; you can redistribute it and/or modify it under
21
# the terms of the GNU General Public License as published by the Free Software
22
# Foundation; version 3.
24
# Unity Tweak Tool is distributed in the hope that it will be useful, but WITHOUT
25
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
26
# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
29
# You should have received a copy of the GNU General Public License along with
30
# this program; if not, see <https://www.gnu.org/licenses/gpl-3.0.txt>
35
parser = argparse.ArgumentParser()
36
optgrp = parser.add_mutually_exclusive_group()
38
optgrp.add_argument('-u', '--unity', help='Start in the Unity tab', action='store_true')
39
optgrp.add_argument('-w', '--winmng', help='Start in the WindowManager tab', action='store_true')
40
optgrp.add_argument('-a', '--appearance', help='Start in the appearance tab', action='store_true')
41
optgrp.add_argument('-s', '--system', help='Start in the system tab', action='store_true')
42
optgrp.add_argument('-r', '--restore', help='Restore settings to its default values', action='store_true')
44
args=parser.parse_args()
47
UnityTweakTool.init(1)
49
UnityTweakTool.init(2)
51
UnityTweakTool.init(3)
53
UnityTweakTool.init(4)
55
UnityTweakTool.reset_all()