Comments (3)
monitor is sort of useless and doesn't fit the idea of a "push". Adding style only. Workaround for monitor is to simply use a "move".
from slate.
Added style option with the following values:
none - normal push
center - push to direction and center
bar - push to direction and resize to fill other direction ("push right bar" will push the window to the right and resize it to fit the height of the screen
bar-resize:expression - same as above but will also resize the distance away from pushed edge with "expression"
from slate.
In case anyone is looking for how to move to another screen and center, here's what I use:
bind right:ctrl;alt;cmd move screenOriginX+((screenSizeX-min({screenSizeX,windowSizeX}))/2);screenOriginY+((screenSizeY-min({screenSizeY,windowSizeY}))/2) min({screenSizeX,windowSizeX});min({screenSizeY,windowSizeY}) right
bind left:ctrl;alt;cmd move screenOriginX+((screenSizeX-min({screenSizeX,windowSizeX}))/2);screenOriginY+((screenSizeY-min({screenSizeY,windowSizeY}))/2) min({screenSizeX,windowSizeX});min({screenSizeY,windowSizeY}) left
bind up:ctrl;alt;cmd move screenOriginX+((screenSizeX-min({screenSizeX,windowSizeX}))/2);screenOriginY+((screenSizeY-min({screenSizeY,windowSizeY}))/2) min({screenSizeX,windowSizeX});min({screenSizeY,windowSizeY}) up
bind down:ctrl;alt;cmd move screenOriginX+((screenSizeX-min({screenSizeX,windowSizeX}))/2);screenOriginY+((screenSizeY-min({screenSizeY,windowSizeY}))/2) min({screenSizeX,windowSizeX});min({screenSizeY,windowSizeY}) down
from slate.
Related Issues (20)
- Grid screen overlay
- it doesn't respond, macOS Mojave 10.14.2 HOT 2
- How to fix the location of the Dock (i.e. monitor on which cmd + tab switcher is shown) in multi monitor display. HOT 1
- Hangs up for a long time after waking the machine and connecting external monitors HOT 5
- Question about javascript config
- Is there any way to distinguish Lcommand and Rcommand?
- How to know window's MINIMUM width and height?
- Specific website
- Um, how do you use it? HOT 1
- macOS Big Sur 11.1.0.1 (20B29) unresponsive window resizes HOT 5
- Slate not working on Big Sur HOT 13
- Is this project still maintained? HOT 7
- Slate not working on Big Sur HOT 6
- Ignore slate keymaps
- can't download the release package HOT 2
- Download links are not working HOT 2
- Slate stopped working in MacOS Monterey HOT 4
- Ninjamonkeysoftware.com has expired HOT 2
- Animated resizing in Visual Studio Code breaks Slate move HOT 1
- Apple Studio Display issues
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from slate.