4 Commits
1.0 ... 1.0.1

Author SHA1 Message Date
neon443
f18874deb3 version bump 2025-05-26 17:26:24 +01:00
neon443
7ba2e84cb1 fix quit button 2025-05-26 17:24:19 +01:00
Nihaal Sharma
bc2bc9bb6d Update README.md 2025-05-26 13:47:13 +01:00
neon443
d954730117 icon stuff 2025-05-26 13:43:42 +01:00
6 changed files with 36 additions and 12 deletions

View File

@@ -5,8 +5,8 @@
// Created by neon443 on 26/05/2025.
//
VERSION = 1.0
BUILD_ID = 4
VERSION = 1.0.1
BUILD_ID = 1
TEAM_ID = 8JGND254B7
BUNDLE_ID = com.neon443.DockPhobia

BIN
DockPhobia/.DS_Store vendored
View File

Binary file not shown.

View File

@@ -69,7 +69,7 @@ class AppDelegate: NSObject, NSApplicationDelegate {
menu.addItem(NSMenuItem.separator())
let quit = NSMenuItem(title: "Quit", action: #selector(didTapStart), keyEquivalent: "q")
let quit = NSMenuItem(title: "Quit", action: #selector(quit), keyEquivalent: "q")
menu.addItem(quit)
statusItem.menu = menu
}
@@ -95,6 +95,10 @@ class AppDelegate: NSObject, NSApplicationDelegate {
setupMenus()
}
@objc func quit() {
NSApplication.shared.terminate(self)
}
@objc func moveDockObjcLeft() { mouseTracker.moveDock(.left) }
@objc func moveDockObjcRight() { mouseTracker.moveDock(.right) }
@objc func moveDockObjcBottom() { mouseTracker.moveDock(.bottom) }

View File

@@ -55,7 +55,7 @@
"size" : "512x512"
},
{
"filename" : "DockPhobiaAppIcon1024.png",
"filename" : "DockPhobiaAppIcon.png",
"idiom" : "mac",
"scale" : "2x",
"size" : "512x512"

View File

Before

Width:  |  Height:  |  Size: 560 KiB

After

Width:  |  Height:  |  Size: 560 KiB

View File

@@ -1,5 +1,25 @@
# DockPhobia
<div align="center">
<br/>
<p>
<img src="https://github.com/neon443/DockPhobia/blob/main/DockPhobia/Resources/Assets.xcassets/AppIcon.appiconset/DockPhobiaAppIcon.png?raw=true" title="dockphobia" alt="dockphobia icon" width="200" />
</p>
<p>
make your Dock scared of the mouse
<br/>
<a href="https://neon443.github.io">
made by neon443
</a>
</p>
<p>
<a href="https://github.com/neon443/DockPhobia/releases">
download
</a>
</p>
<br/>
</div>
Have you ever wanted to use your Dock?
well now you cant
@@ -8,17 +28,17 @@ well now you cant
- calculates the size of your screen & Dock
- when your cursor is on the Dock (+ extra 5% of screen), the Dock moves to a different side of the screen
- it also figures out the furthest it can be, for example if your cursor is at the top left quarter of the screen and near the Dock on the left, the dock moves to the bottom as that is the furthest, etc
- -
## Quick start Guide (Swift Mac App)
(Currently not functional)
```
git clone https://github.com/neon443/DockPhobia
cd DockPhobia
open DockPhobia.xcodeproj
```
## Quick start Guide (Mac App)
- Go to [releases](https://github.com/neon443/DockPhobia/releases)
- Download the latest version
- That's it!
## Contributing
PRs welcome, as long as you use tabs instead of spaces lol
## Quick start Guide (Python version)
Dont use this, still here purely for archival purposes, use the native Mac app instead.
```
xcode-select --install
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"