Beispiel #1
0
from UnityTweakTool.elements.checkbox import CheckBox
from UnityTweakTool.elements.colorchooser import ColorChooser
from UnityTweakTool.elements.radio import Radio
from UnityTweakTool.elements.scale import Scale
from UnityTweakTool.elements.spin import SpinButton
from UnityTweakTool.elements.switch import Switch

from UnityTweakTool.section.spaghetti.unity import Unitysettings as SpaghettiUnitySettings
from UnityTweakTool.elements.option import Option, HandlerObject

from UnityTweakTool.backends import gsettings

from collections import defaultdict
from gi.repository import Gtk

Unity = Section(ui='unity.ui', id='nb_unitysettings')

#=============== LAUNCHER ==========================

sw_launcher_hidemode = Switch({
    'id':
    'sw_launcher_hidemode',
    'builder':
    Unity.builder,
    'schema':
    'org.compiz.unityshell',
    'path':
    '/org/compiz/profiles/unity/plugins/unityshell/',
    'key':
    'launcher-hide-mode',
    'type':
Beispiel #2
0
#
# You should have received a copy of the GNU General Public License along with
# this program; if not, see <https://www.gnu.org/licenses/gpl-3.0.txt>

from UnityTweakTool.section.skeletonpage import Section, Tab
from UnityTweakTool.elements.fontbutton import FontButton
from UnityTweakTool.elements.cbox import ComboBox
from UnityTweakTool.elements.spin import SpinButton
from UnityTweakTool.elements.radio import Radio
from UnityTweakTool.elements.checkbox import CheckBox
from UnityTweakTool.section.spaghetti.theme import Themesettings as SpaghettiThemeSettings
from UnityTweakTool.elements.option import Option, HandlerObject

from collections import defaultdict

Appearance = Section(ui='appearance.ui', id='nb_themesettings')

#=============== THEME ==========================

#=============== ICONS ==========================

#=============== CURSOR =========================

#=============== FONTS ==========================

font_default = FontButton({
    'id': 'font_default',
    'builder': Appearance.builder,
    'schema': 'org.gnome.desktop.interface',
    'path': None,
    'key': 'font-name',
# this program; if not, see <https://www.gnu.org/licenses/gpl-3.0.txt>


from UnityTweakTool.section.skeletonpage import Section, Tab
from UnityTweakTool.elements.cbox import ComboBox
from UnityTweakTool.elements.checkbox import CheckBox
from UnityTweakTool.elements.spin import SpinButton
from UnityTweakTool.elements.switch import Switch

from UnityTweakTool.section.spaghetti.compiz import Compizsettings as SpaghettiCompizSettings
from UnityTweakTool.elements.option import Option,HandlerObject

from collections import defaultdict


WindowManager=Section(ui='windowmanager.ui',id='nb_compizsettings')

#=============== GENERAL ==========================

#sw_compiz_zoom= Switch({
#    'id'        : 'sw_compiz_zoom',
#    'builder'   : WindowManager.builder,
#    'schema'    : 'org.compiz.ezoom',
#    'path'      : '/org/compiz/profiles/unity/plugins/ezoom/',
#    'key'       : 'integration-allowed',
#    'type'      : 'boolean',
#    'map'       : {True:True,False:False},
#    'dependants': []
#})

cbox_opengl=ComboBox({
Beispiel #4
0
# 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
# this program; if not, see <https://www.gnu.org/licenses/gpl-3.0.txt>

from UnityTweakTool.section.skeletonpage import Section, Tab
from UnityTweakTool.elements.switch import Switch
from UnityTweakTool.elements.checkbox import CheckBox
from UnityTweakTool.elements.cbox import ComboBox
from UnityTweakTool.elements.radio import Radio
from UnityTweakTool.elements.togglebutton import ToggleButton
import UnityTweakTool.section.dynamic as dynamic

System = Section(ui='system.ui', id='nb_desktop_settings')

tb_home_folder = ToggleButton({
    'id': 'tb_home_folder',
    'builder': System.builder,
    'schema': dynamic.desktop_schema,
    'path': None,
    'key': 'home-icon-visible',
    'type': 'boolean',
    'map': {
        True: True,
        False: False
    },
    'dependants': []
})