Simple Window Manager - SWM

Screen-Shot-2020-07-14-at-15.53.07

Better way to manage windows

Please Read all features and important notes.

Window...

SWM_WM Maximize

SWM_WR Restore

SWM_WHO Hide Other Windows

SWM_WS Switcher

     This button will work differently on normal/fullscreen windows

  • Application Expose on normal windows
  • Mission Control on fullscreen windows

Halves...

SWM_HL Left

SWM_HR Right

SWM_HT Top

SWM_HB Bottom

Quarters...

SWM_CLT Left Top

SWM_CLB Left Bottom

SWM_CRT Right Top

SWM_CRB Right Bottom

Thirds...

SWM_TL Left

SWM_TLT Left Two

SWM_TM Middle

SWM_TRT Right Two

SWM_TR Right

Align

Moves window to related position

SWM_MC Center

SWM_MC copy Left

SWM_MC copy 2 Right

SWM_MNM Top

SWM_MC copy 3 Bottom

Functions

SWM_MLS copy Split to Left

SWM_MLS copy 2 Split to Right

SWM_MLS Move to Left Space

SWM_MRS Move to Right Space

SWM_MLS copy 3 Move to Next Monitor

SWM_WSC Take Screenshot of Window

Keyboard Shortcuts

Activate swm with fn+W then press keys, easy

ESC

W I N D O W
E
R
H
D
F
H A L V E S
Left
Right
Top
Bottom
Q U A R T E R S
Q
A
W
S
T H I R D S
1
2
3
4
5
A L I G N
C
Option + Left
Option + Right
Option + Up
Option + Down
R E S I Z E
Shift + Up
Shift + Down
Cmd + Up
Cmd + Down
Cmd + Right
Cmd + Left
F U N C T I O N S
Z
X
Shift + Left
Shift + Right
N
T
Close SWM


Maximize
Restore
Hide Other Windows
Switcher
Fullscreen Toggle

Left Half
Right Half
Top Half
Bottom Half

Left Top
Left Bottom
Right Top
Right Bottom

Left Third
Left Two Third
Middle Third
Right Two Third
Right Third

Align to Center
Align to Left
Align to Right
Align to Top
Align to Bottom

Make Window Bigger
Make Window Smaller
Make Window Taller
Make Window Shorter
Make Window Wider
Make Window Narrower

Split to Left
Split to Right
Move to Left Space
Move to Right Space
Move to Next Monitor
Take Screenshot

Additional Triggers

  • Doubleclick titlebar to maximize window

How to Activate

  • Right click Yellow button (Minimise button)
  • fn+W keyboard shortcut

Future Plans

  • Switch between dark or light theme due to system appearance
  • Shortcuts for settings ex. hide tooltips

Known Issues

  • SWM not visible on some apps (Chrome, Photoshop.. etc.) because they are using custom icons instead of using native system minimize and maximize buttons. Use keyboard shortcut on these windows

  • If you use SWM on other apps when a BTT window active, BTT window brings to front

Download ⏬

★  Uninstall previous versions of SWM & Update Better Touch Tool to Latest before installation

★  Check status of "Allow external BetterTouchTool scripting" in Scripting BTT tab of BetterTouchTool settings. This should be enabled.

Download Simple Window Manager - v0.4 - BTT version 3.335+

Simple-Window-Manager-v0_4.bttpresetzip (24.9 KB)

Changelog

  • New - Redesigned UI for more modern look with translucent background
    Screen-Shot-2020-07-14-at-15.53.07
  • New - Redesigned tooltip with shortcut description. You can hide from bottom of html file
    Screen Shot 2020-07-14 at 16.08.53
  • Fixed - Typo "Halfs" changed to "Halves". Thanks to @yuuiko
  • Fixed - Window switcher not working properly on catalina
  • Updated future plans

Download Simple Window Manager - v0.3 - BTT version 3.335+

Simple-Window-Manager-v0_3.bttpresetzip (20.8 KB)

Changelog

  • New - Aligning windows
  • New - Split screen buttons
  • New - Keyboard Shortcuts. Check first post for complete list
  • New - Resize windows with Keyboard Shortcuts
  • New - Fullscreen toggle with Keyboard Shortcuts

Download Simple Window Manager - v0.2.4 - BTT version 3.335+

Simple-Window-Manager-v0_2_4.bttpresetzip (14.8 KB)

Changelog

  • Reduced RAM usage, half of previous release
  • Window actions faster now with fullscreen support
  • Cleanup on code

Download Simple Window Manager - v0.2.3 - BTT version 3.335+

Simple-Window-Manager-v0_2_3.bttpresetzip (20.6 KB)

Changelog

  • Changed trigger button to yellow (minimise button) instead of green for Catalina users
  • Minor changes

Download Simple Window Manager - v0.2.2 - BTT version 3.335+

Simple-Window-Manager-v0_2_2.bttpresetzip (20.6 KB)

Changelog

  • Possible speedup on triggering actions

Download Simple Window Manager - v0.2.1 - BTT version 3.335+

Simple-Window-Manager-v0_2_1.bttpresetzip (20.6 KB)

Changelog

  • Better solution for fullscreen apps
  • Switcher button will work as Mission Control when window is in fullscreen mode & Application Expose on normal windows

Download Simple Window Manager - v0.2 - BTT version 3.335+

Simple-Window-Manager-v0_2.bttpresetzip (20.2 KB)

Changelog

  • Added support for fullscreen applications
  • Corrected position of SWM window
  • Changed all triggers to predefined ones, your Bettertouchtool trigger list cleaner now.

Download Simple Window Manager - v0.1 - BTT version 3.255+

Simple Window Manager - SWM.bttcompressedpresetbundle (16.3 KB)

Get Bonus Content 🎁

  • Gifts for BTT community on my gumroad page . Icons, Applescripts and many more... I will continue to add new content
  • All content is Pay what you want. You can download them for free or you can surprise me
    with buying me a cup coffee. That motivates me to continuously create new things for community.
  • Don't forget to watch my threads and follow my gumroad page for keep updated with fresh content

Other Presets from Me

macOS Control Center

This looks awesome! Can’t wait to give it a shot :smile:

1 Like

Very cool!
I’m currently preparing a new preset bundle format, which will be able to include icons / files. This will make a one click install of this possible - I’ll post instructions when the next alpha has been released.

2 Likes

Thx, great to hear from you :wink: Any plan for global scale setting for floating view? This would be great

What exactly do you mean by that? Something like the zoom in/out that's supported by browsers?

actually yes, didnt tested yet but floating views pixel based, so they should look so small on high dpi screens, need a ratio/scale setting for this. maybe it can be automated by BTT

This is handled by macOS just like on normal webpages or apps. (on retina screens 4 px are combined to just 1px, so it will look sharper but have the same physical size as on non-retina screens).

Didnt know that thanks for info

There is one thing though: graphics you create for a non-hi-dpi screen will look blurry on a retina screen. Basically to have sharp images you'd just use double the resolution to make them look sharp on retina (e.g. a 30px * 30px icon for non-retina screens should be saved as 60px*60px to look sharp on retina screens, even though the actual display size will just be 30*30. It is also possible to provide different images for different screens using css. (Alternatively vector graphics like svg will always look good)

I did done same thing as you said, my icons are 40x28 and i use 20x14 in html, i did icons as vector but i guess pixel images more resource friendly

1 Like

Thanks it is really cool

PS: The path for the screenshot is hardcoded to your home :wink:

@yuuiko maybe you could be interested in!

i changed with ~/Desktop instead of my username i hope thats fixed now. Updated preset in first post

I can't seem to get to work. The triggers show up in BTT's configuration and work but the SWM window's icons are blank.

I can't move the icon folder too Macintosh HD due to Catalina' s new restrictions. I tried putting it in my /User folder to no effect.

Thanks

You can put the folder where ever you want, just modify the image source in the HTML in the action to point at it. for example, I put mine in my user dev folder:
file:///Users/[your user name]/dev/swmicons/SWM_MC.png

The image url's are near the end of the of the HTML

Super cool preset btw!

Does this only work in catalina or can it work in mavericks too?

@lynx it should work every macos that have latest BTT

@akiersky thanks for guide

@jlc1978 just follow akiersky's suggestion. i'm waiting next release of BTT. you don't have to install icons on that. I guess icons will be install with preset file

Opened the preset in text editor but could not find a line with a path, other than for the screen capture save location. There was a bunch of random text in the middle after the line:

"BTTFileContent" :

Posted a new version with keyboard shortcut fn+W, shortcut menu will popup with animation
also added new instructions for installation

@jlc1978 please re download files and follow new instructions on first post

I have converted your window manager to one of the new preset bundles. This means it should work right after importing this preset, no need to copy files:

SIMPLE_WINDOW_MANAGER_b.bttcompressedpresetbundle (16.2 KB)

Requires BTT v3.250!

Imprint | Privacy Policy