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

overview:centerAligned should center active workspace when overflown #95

Open
KAGEYAM4 opened this issue Oct 13, 2024 · 9 comments
Open

Comments

@KAGEYAM4
Copy link

2024-10-13.15-27-17.mp4

Am i misunderstanding the config? I was thinking that it would center the current workspace in the overview.

@myamusashi
Copy link
Contributor

Not center
2024-10-13_17-10-1728814316
Center
image

@KAGEYAM4
Copy link
Author

Okay, so i tried with same number of workspace as you. So its alignment of hyprspace overview and not that active workspace will be shown in center.

@KAGEYAM4 KAGEYAM4 reopened this Oct 13, 2024
@KAGEYAM4
Copy link
Author

KAGEYAM4 commented Oct 13, 2024

Want to know if this can be considered in feature Request where the activeWorkspace will be drawn at center in hyprspace when first launched.

@myamusashi
Copy link
Contributor

Like this?
image

@KAGEYAM4
Copy link
Author

KAGEYAM4 commented Oct 13, 2024

yes, wait a minute .. i think this should not be implemented .. let me think

Edit: never mind i thought there were scenario where workflow would mess up. But no its fine

@myamusashi
Copy link
Contributor

ok

@KAGEYAM4
Copy link
Author

@myamusashi can you share you hyprspace config, i am having trouble with data type in colors section.

@myamusashi
Copy link
Contributor

just use rgb or rgba

overview {
        # Color workspaces window
	 dragAlpha             = 0.5
         panelColor            = rgba(46, 52, 64, 1)
	 panelBorderColor      = rgb(243, 139, 168)

        # Layout
         workspaceMargin       = 20
         panelHeight           = 200
	 panelBorderWidth      = 5
          workspaceBorderSize   = 5
          hideBackgroundLayers  = 0
          hideTopLayers         = 0
          hideOverlayLayers     = 0
          hideRealLayers        = 1
          onBottom              = 1
         overrideGaps          = 1
          adaptiveHeight        = 1
          centerAligned         = 1

        # Event 
          autoDrag              = 1
          autoScroll            = 0
	drawActiveWorkspace   = 1
  	showNewWorkspace      = 0
	showEmptyWorkspace    = 1
          showSpecialWorkspace  = 0
          exitOnClick           = 0

        # Animation 
          overrideAnimSpeed     = 8
	}

@KZDKM
Copy link
Owner

KZDKM commented Oct 24, 2024

Want to know if this can be considered in feature Request where the activeWorkspace will be drawn at center in hyprspace when first launched.

Good idea, would be a quick fix.

@KZDKM KZDKM changed the title overview:centerAligned is not working overview:centerAligned should center active workspace when overflown Oct 24, 2024
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

3 participants