Ejemplo n.º 1
0
    '/org/compiz/profiles/unity/plugins/unityshell/',
    'key':
    'launcher-opacity',
    'type':
    'double',
    'min':
    0.2,  # TODO : Check these min max. Most prolly wrong.
    'max':
    8.0,  # But fine since they are ignored anyway.
    'ticks': [(0.666, Gtk.PositionType.BOTTOM, None)]
})

LauncherIcons = Tab([
    sw_launcher_hidemode, cbox_autohide_animation, radio_reveal_left,
    radio_reveal_topleft, sw_launcher_transparent,
    radio_launcher_visibility_primary, radio_launcher_visibility_all,
    cbox_urgent_animation, cbox_launch_animation, cbox_launcher_icon_colouring,
    spin_launcher_icon_size, sc_reveal_sensitivity, sc_launcher_transparency,
    color_launcher_color_cus
])

#=============== DASH ==========================

sw_dash_blur = Switch({
    'id':
    'sw_dash_blur',
    'builder':
    Unity.builder,
    'schema':
    'org.compiz.unityshell',
    'path':
    '/org/compiz/profiles/unity/plugins/unityshell/',
Ejemplo n.º 2
0
cbox_autohide_animation = ComboBox({
    'id': 'cbox_autohide_animation',
    'builder': Unity.builder,
    'schema': 'org.compiz.unityshell',
    'path': '/org/compiz/profiles/unity/plugins/unityshell/',
    'key': 'autohide-animation',
    'type': 'int',
    'map': {
        0: 0,
        1: 1,
        2: 2,
        3: 3
    }
})

LauncherIcons = Tab([sw_launcher_hidemode, cbox_autohide_animation])

sw_dash_blur = Switch({
    'id':
    'sw_dash_blur',
    'builder':
    Unity.builder,
    'schema':
    'org.compiz.unityshell',
    'path':
    '/org/compiz/profiles/unity/plugins/unityshell/',
    'key':
    'dash-blur-experimental',
    'type':
    'int',
    'map':
Ejemplo n.º 3
0
#     				 'animation:Horizontal Folds':6,
#     				 'animation:Magic Lamp':7,
#     				 'animation:Magic Lamp Wavy':8,
#     				 'animation:Sidekick':9,
#     				 'animation:Zoom':10}
# })


# TODO
# sw_compiz_zoom
# list_compiz_general_zoom_accelerators
# cbox_minimize_animation
# cbox_unminimize_animation
# list_compiz_general_keys_accelerators

GeneralIcons=Tab([cbox_opengl]) #,
				  # cbox_minimize_animation,
				  # cbox_unminimize_animation])


#=============== WORKSPACE SETTINGS ==========================

spin_horizontal_desktop=SpinButton({
    'id'     : 'spin_horizontal_desktop',
    'builder': WindowManager.builder,
    'schema' : 'org.compiz.core',
    'path'   : '/org/compiz/profiles/unity/plugins/core/',
    'key'    : 'hsize',
    'type'   : 'int',
    'min'    : 1,
    'max'    : 25
Ejemplo n.º 4
0
    }
})

spin_textscaling = SpinButton({
    'id': 'spin_textscaling',
    'builder': Appearance.builder,
    'schema': 'org.gnome.desktop.interface',
    'path': None,
    'key': 'text-scaling-factor',
    'type': 'double',
    'min': 0.50,
    'max': 3.00
})

Fonts = Tab([
    font_default, font_document, font_monospace, font_window_title,
    cbox_antialiasing, cbox_hinting, spin_textscaling
])

#========== WINDOW CONTROLS =====================

radio_left = Radio({
    'id': 'radio_left',
    'builder': Appearance.builder,
    'schema': 'org.gnome.desktop.wm.preferences',
    'path': None,
    'key': 'button-layout',
    'type': 'string',
    'group': 'radio_left',
    'value': 'close,minimize,maximize:',
    'dependants': []
})
Ejemplo n.º 5
0
    }
})

spin_textscaling = SpinButton({
    'id': 'spin_textscaling',
    'builder': Appearance.builder,
    'schema': 'org.gnome.desktop.interface',
    'path': None,
    'key': 'text-scaling-factor',
    'type': 'double',
    'min': 0.50,
    'max': 3.00
})

FontsIcons = Tab([
    font_default, font_document, font_monospace, font_window_title,
    cbox_antialiasing, cbox_hinting, spin_textscaling
])

#========== WINDOW CONTROLS =====================

radio_default_layout = Radio({
    'id':
    'radio_default_layout',
    'builder':
    Appearance.builder,
    'schema':
    'org.gnome.desktop.wm.preferences',
    'path':
    None,
    'key':
    'button-layout',
Ejemplo n.º 6
0
tb_devices = ToggleButton({
    'id': 'tb_devices',
    'builder': System.builder,
    'schema': dynamic.desktop_schema,
    'path': None,
    'key': 'volumes-visible',
    'type': 'boolean',
    'map': {
        True: True,
        False: False
    },
    'dependants': []
})

DesktopIcons = Tab([tb_home_folder, tb_network, tb_trash, tb_devices])

check_security_lock_screen = CheckBox({
    'id': 'check_security_lock_screen',
    'builder': System.builder,
    'schema': 'org.gnome.desktop.lockdown',
    'path': None,
    'key': 'disable-lock-screen',
    'type': 'boolean',
    'map': {
        True: True,
        False: False
    },
    'dependants': []
})