You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Make some name and stylistic changes to the API to make it more coherent. Many of these are remains from the refactor and have bothered me partly due to their naming, but partly due to not feeling natural.
It’s most likely reasonable to change these, but make the existing ones aliases, deprecate them and remove then in the future — so that users don’t have to make configuration changes so often?
Make some name and stylistic changes to the API to make it more coherent. Many of these are remains from the refactor and have bothered me partly due to their naming, but partly due to not feeling natural.
It’s most likely reasonable to change these, but make the existing ones aliases, deprecate them and remove then in the future — so that users don’t have to make configuration changes so often?
Any others?
Screen
Screen.mainScreen() -> Screen.main()Screen.screens() -> Screen.all()#visibleWindows() -> #windows({ visible: true })Space
Space.activeSpace() -> Space.active()Space.spaces() -> Space.all()#visibleWindows() -> #windows({ visible: true })Mouse
Mouse.moveTo(...) -> Mouse.move(...)App
App.focusedApp() -> App.focused()App.runningApps() -> App.all()#visibleWindows() -> #windows({ visible: true })#forceTerminate() -> #terminate({ force: true })Window
Window.focusedWindow() -> Window.focused()Window.windows() -> Window.all()Window.visibleWindows() -> Window.all({ visible: true })Window.visibleWindowsInOrder() -> Window.recent()#otherWindowsOnSameScreen() -> #others({ screen: window.screen })#otherWindowsOnAllScreens() -> #others()#windowsToWest() -> #neighbors('west')#windowsToEast() -> #neighbors('east')#windowsToNorth() -> #neighbors('north')#windowsToSouth() -> #neighbors('south')#focusClosestWindowInWest() -> #focusClosestNeighbor('west')#focusClosestWindowInEast() -> #focusClosestNeighbor('east')#focusClosestWindowInNorth() -> #focusClosestNeighbor('north')#focusClosestWindowInSouth() -> #focusClosestNeighbor('south')