Archived
2
25
Fork
You've already forked shko
4

window not centered on spawn #12

Open
opened 2026年03月10日 14:54:04 +01:00 by nolsh · 5 comments

hi, when spawning any window, it doesnt get centered automatically when using focusJump.
instead, it spawns centered on the screen, anchored at the top left corner (see image)

i have to invoke shko.nextFocus with a keybind manually

hi, when spawning any window, it doesnt get centered automatically when using `focusJump`. instead, it spawns centered on the screen, anchored at the top left corner (see image) i have to invoke `shko.nextFocus` with a keybind manually
Owner
Copy link

yeah, i am not sure why exactly this happens, but i will soon get to the bottom of this and fix this bug.
this issue will be kept open until the issue is fixed

yeah, i am not sure why exactly this happens, but i will soon get to the bottom of this and fix this bug. this issue will be kept open until the issue is fixed
Owner
Copy link

@nolsh on further thinking, this would just not work
if every window is already spawned in the middle of the screen, it could cause confusion as windows will spawn in the same place

@nolsh on further thinking, this would just not work if every window is already spawned in the middle of the screen, it could cause confusion as windows will spawn in the same place
Author
Copy link

would it be impossible to offset each window by some fixed value/the width of the previous window? leaving focusJump as false already spawns all windows in the same place (top left corner), so it creates confusion just as much

would it be impossible to offset each window by some fixed value/the width of the previous window? leaving `focusJump` as `false` already spawns all windows in the same place (top left corner), so it creates confusion just as much
Owner
Copy link

work on implementing your idea starts today

work on implementing your idea starts today
Author
Copy link

awesome, thank you for considering this and lmk if i can help somehow

(will also open another issue for a feature that is important to me)

awesome, thank you for considering this and lmk if i can help somehow (will also open another issue for a feature that is important to me)
Commenting is not possible because the repository is archived.
No Branch/Tag specified
master
No results found.
Labels
Clear labels
No items
No labels
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
2 participants Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
chld/shko#12
Reference in a new issue
chld/shko
No description provided.
Delete branch "%!s()"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?