Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

workspacer questions please. #450

Open
ComputerCulture opened this issue May 20, 2023 · 6 comments
Open

workspacer questions please. #450

ComputerCulture opened this issue May 20, 2023 · 6 comments

Comments

@ComputerCulture
Copy link

Hello,

Just wanted to say how much I like this software, so far it is the best tiling WM I have found for windows.

Yes, I Don’t Know C# or how to code this software. I just wish there was a config file that you could go in and change a few options.

  1. It Would be nice if I could have away to put the top Bar down to the bottom of the screen.
    This is because I put my Taskbar, location to the top of my screen.

  2. Would be good if I could remove the Clock 03:43:20 PM as example. Because I can see a clock in the taskbar.
    Not sure what the word "tall" means next to the clock? or if it this text can also be removed.

  3. Also would be great if I could config the size of the text and bar size.

So far these are my only things I would love to be able to configure in some way or through a config file.

Just my thoughts and thank you for a wonderful tiling window manager.

@josteink
Copy link
Member

josteink commented Jun 1, 2023

For better or worse configuration for now is C# only. Changes to that would require some featured-design and code (pull-requests).

I advice you just check existing config-samples and try to work with that.

@pranavpa8788
Copy link

Could you share your config file (or url of the example config if you're using that one) so that I can help you, 2 and 3 can be done, not sure about 1 though

@ComputerCulture
Copy link
Author

Hello, pranavpa8788

Thank you for your reply and offer.

I have no idea how to make any changes you mentioned to the config file. Maybe you have one that I can just change out and replace the the current one?

Look forward to your help... Thank you

My config file is just the standard example one the workspacer will create, (workspacer.config.csx)
Example below:

#r "C:\Program Files\workspacer\workspacer.Shared.dll"
#r "C:\Program Files\workspacer\plugins\workspacer.Bar\workspacer.Bar.dll"
#r "C:\Program Files\workspacer\plugins\workspacer.ActionMenu\workspacer.ActionMenu.dll"
#r "C:\Program Files\workspacer\plugins\workspacer.FocusIndicator\workspacer.FocusIndicator.dll"

using System;
using workspacer;
using workspacer.Bar;
using workspacer.ActionMenu;
using workspacer.FocusIndicator;

Action doConfig = (context) =>
{
// Uncomment to switch update branch (or to disable updates)
//context.Branch = Branch.None;

context.AddBar();
context.AddFocusIndicator();
var actionMenu = context.AddActionMenu();

context.WorkspaceContainer.CreateWorkspaces("1", "2", "3", "4", "5");
context.CanMinimizeWindows = true; // false by default

};
return doConfig;

@FarrukhKamal48
Copy link

FarrukhKamal48 commented Sep 13, 2023

Hello ComputerCulture.

You can remove the clock my doing the following:

Add using workspacer.Bar; and using workspacer.Bar.Widgets; to the top of your file

Then replace context.AddBar with:

    context.AddBar(new BarPluginConfig()
    {
        FontSize = 9,
        BarHeight = 19,
        FontName = "Arial",
        DefaultWidgetBackground = new Color(0x0, 0x0, 0x0),
        LeftWidgets = () => new IBarWidget[]
        {
            new WorkspaceWidget(), new TextWidget(": "), new TitleWidget() {
                IsShortTitle = true
            }
        },
        RightWidgets = () => new IBarWidget[]
        {
            new ActiveLayoutWidget(),
        }
    });

this should remove the clock. You can also see that things like Fontsize and Barheight can be adjusted as well.

The "tall" text as you mentioned, is actually the current tilling layout.

Also, if you don't want to configure yourself, here is my config: workspacerConfig.txt

@ComputerCulture
Copy link
Author

ComputerCulture commented Sep 16, 2023

Hello, @FarrukhKamal48

I just wanted to say thank you for your time and help with this.
Your examples have really giving me something to work with, and change some configuration settings to suite.
All the best...
CC

@ComputerCulture
Copy link
Author

ComputerCulture commented Oct 14, 2023

@FarrukhKamal48

Hello,

If I may ask another question please. I am using the above workspacer config file you help me with.
Is it possible you could show me how to add the code to exclude certain programs from been tiled when launching.
Microsoft Outlook, as an example. I noticed that the Reminders window in the Calendar does not tile very well.
I could then also use the example to exclude other programs as well.

Kind regards
CC

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants