Skip to content

ohnnyj/dock

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#<-dock-># OSX Dock helper monitors mouse to provide auto repositioning to left/right on multi-monitor systems.

Objective-C and Swift sources available, build defaults to Swift executable (slightly more RAM usage, ~1MB, but according Apple could execute more quickly than comparable Obj-C code).

##requirements## XCode Command Line Tools

##installation##

  1. Clone/fork the repo.
> git clone https://github.com/ohnnyj/dock.git
> cd dock
  1. Build it.
> make

####If you want to auto run on startup...####

  1. Copy executable.
> cp Build/Products/Release/\<-dock-\> /usr/local/bin/.
  1. Copy daemon plist. (LaunchAgents -> per user, LaunchDaemons -> computer)
> cp com.ohnnyj.dock.plist /Library/LaunchAgents/com.ohnnyj.dock.plist
  1. Add to launchctrl.
> launchctl load /Library/LaunchAgents/com.ohnnyj.dock.plist

Note: If you put the executable somewhere else (or rename it) you will need to modify the plist.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published