Dual screen need help

Jun 16, 2013 at 5:12 AM
Hey guys just hoping that someone could help me out im totally new at coding and dont really know what im doing i have a dual monitor setup and am using python 2.7.5 i have only altered the config folder and it is currently:

from System.Drawing import Color, Font
from System.Linq import Enumerable
from Windawesome import ILayout, TileLayout, FullScreenLayout, FloatingLayout, IPlugin, Workspace
from Windawesome import Bar, LayoutWidget, WorkspacesWidget, ApplicationTabsWidget, SystemTrayWidget, CpuMonitorWidget, RamMonitorWidget, LaptopBatteryMonitorWidget, LanguageBarWidget, CurrentlyPlayingWidget, SeparatorWidget
from Windawesome import LoggerPlugin, ShortcutsManager, InputLanguageChangerPlugin
from Windawesome.NativeMethods import MOD
from System import Tuple
from System.Windows.Forms import Keys

def onLayoutLabelClick():
if windawesome.CurrentWorkspace.Layout.LayoutName() == "Full Screen":
    windawesome.CurrentWorkspace.ChangeLayout(FloatingLayout())
elif windawesome.CurrentWorkspace.Layout.LayoutName() == "Floating":
    windawesome.CurrentWorkspace.ChangeLayout(TileLayout())
else:
    windawesome.CurrentWorkspace.ChangeLayout(FullScreenLayout())
config.WindowBorderWidth = 1
config.WindowPaddedBorderWidth = 0

config.CheckForUpdates = False

workspacesWidgetForegroundColors = [Color.Yellow for i in range(0, 10)]
workspacesWidgetForegroundColors[0] = Color.LightSeaGreen
workspacesWidgetBackgroundColors = [Color.Black for i in range(0, 10)]

def createBar(sys, monitor):
return Bar(windawesome.monitors[monitor],
    [
        WorkspacesWidget(
            normalForegroundColor = workspacesWidgetForegroundColors,
            normalBackgroundColor = workspacesWidgetBackgroundColors,
            highlightedForegroundColor = Color.DarkOrange,
            highlightedBackgroundColor = Color.Black,
            highlightedInactiveForegroundColor = Color.LightSeaGreen,
            highlightedInactiveBackgroundColor = Color.Black,
            flashingForegroundColor = Color.Black
        ),
        LayoutWidget(
            foregroundColor = Color.Gold,
            backgroundColor = Color.Black,
            onClick = onLayoutLabelClick
        )
    ],

    [
        SystemTrayWidget(sys),
        LanguageBarWidget(
            foregroundColor = Color.Gold,
            backgroundColor = Color.Black
        ),
        SeparatorWidget(
            foregroundColor = Color.Gold,
            backgroundColor = Color.Black
        ),
        DateTimeWidget("ddd, d-MMM", "", "", Color.Black, Color.Gold),
        SeparatorWidget(
            foregroundColor = Color.Gold,
            backgroundColor = Color.Black
        ),
        DateTimeWidget("h:mm tt", "", "", Color.Black, Color.Gold),
    ],

    [
        ApplicationTabsWidget(
            normalForegroundColor = Color.LightSeaGreen,
            normalBackgroundColor = Color.Black,
            highlightedForegroundColor = Color.DarkOrange,
            highlightedBackgroundColor = Color.Black,
        )
    ],

    backgroundColor = Color.Black,
    font = Font("Consolas", 11)
)
config.Bars = Enumerable.ToArray[Bar]([
createBar(False, 0),
createBar(True, 1),
createBar(True, 2)
])

config.Workspaces = Enumerable.ToArray[Workspace]([
Workspace(windawesome.monitors[0], FloatingLayout(), [config.Bars[0]], name = 'main'),
Workspace(windawesome.monitors[0], FullScreenLayout(), [config.Bars[0]], name = 'web'),
Workspace(windawesome.monitors[0], FullScreenLayout(), [config.Bars[0]]),
Workspace(windawesome.monitors[0], TileLayout(masterAreaAxis = TileLayout.LayoutAxis.TopToBottom, masterAreaWindowsCount = 2, masterAreaFactor = 0.5), [config.Bars[0]], name = 'chat'),
Workspace(windawesome.monitors[0], FullScreenLayout(), [config.Bars[0]]),
Workspace(windawesome.monitors[0], FullScreenLayout(), [config.Bars[0]]),
Workspace(windawesome.monitors[0], FullScreenLayout(), [config.Bars[0]]),
Workspace(windawesome.monitors[1], FullScreenLayout(), [config.Bars[1]], name = 'mail'),
Workspace(windawesome.monitors[2], FullScreenLayout(), [config.Bars[2]], name = 'BC')
])

config.StartingWorkspaces = [config.Workspaces[0], config.Workspaces[7], config.Workspaces[8]]

config.Plugins = [
#LoggerPlugin(logWorkspaceSwitching = True, logWindowMinimization = True, logWindowRestoration = True,
#    logActivation = True),
ShortcutsManager(),
InputLanguageChangerPlugin(["icoicq", "icoSKYPE", "icoGOOGLE", "icoChannel", "icoJabber"])
]


This coding was posted by alien 282 for a triple monitor problem
thats all i got please reply when you have the time