6 Commits

Author SHA1 Message Date
Nihaal Sharma
3e7a7c2ac2 README.md 2025-05-27 15:05:28 +01:00
neon443
43863d3827 _ 2025-05-26 19:22:05 +01:00
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
7 changed files with 38 additions and 12 deletions

View File

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

View File

@@ -294,6 +294,7 @@
ENABLE_HARDENED_RUNTIME = YES; ENABLE_HARDENED_RUNTIME = YES;
ENABLE_USER_SCRIPT_SANDBOXING = NO; ENABLE_USER_SCRIPT_SANDBOXING = NO;
GENERATE_INFOPLIST_FILE = YES; GENERATE_INFOPLIST_FILE = YES;
INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.entertainment";
INFOPLIST_KEY_LSUIElement = YES; INFOPLIST_KEY_LSUIElement = YES;
INFOPLIST_KEY_NSAppleEventsUsageDescription = _; INFOPLIST_KEY_NSAppleEventsUsageDescription = _;
INFOPLIST_KEY_NSHumanReadableCopyright = ""; INFOPLIST_KEY_NSHumanReadableCopyright = "";
@@ -328,6 +329,7 @@
ENABLE_HARDENED_RUNTIME = YES; ENABLE_HARDENED_RUNTIME = YES;
ENABLE_USER_SCRIPT_SANDBOXING = NO; ENABLE_USER_SCRIPT_SANDBOXING = NO;
GENERATE_INFOPLIST_FILE = YES; GENERATE_INFOPLIST_FILE = YES;
INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.entertainment";
INFOPLIST_KEY_LSUIElement = YES; INFOPLIST_KEY_LSUIElement = YES;
INFOPLIST_KEY_NSAppleEventsUsageDescription = _; INFOPLIST_KEY_NSAppleEventsUsageDescription = _;
INFOPLIST_KEY_NSHumanReadableCopyright = ""; INFOPLIST_KEY_NSHumanReadableCopyright = "";

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()) 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) menu.addItem(quit)
statusItem.menu = menu statusItem.menu = menu
} }
@@ -95,6 +95,10 @@ class AppDelegate: NSObject, NSApplicationDelegate {
setupMenus() setupMenus()
} }
@objc func quit() {
NSApplication.shared.terminate(self)
}
@objc func moveDockObjcLeft() { mouseTracker.moveDock(.left) } @objc func moveDockObjcLeft() { mouseTracker.moveDock(.left) }
@objc func moveDockObjcRight() { mouseTracker.moveDock(.right) } @objc func moveDockObjcRight() { mouseTracker.moveDock(.right) }
@objc func moveDockObjcBottom() { mouseTracker.moveDock(.bottom) } @objc func moveDockObjcBottom() { mouseTracker.moveDock(.bottom) }

View File

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

View File

Before

Width:  |  Height:  |  Size: 560 KiB

After

Width:  |  Height:  |  Size: 560 KiB

View File

@@ -1,5 +1,25 @@
# DockPhobia # 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/latest/download/DockPhobia.dmg">
download
</a>
</p>
<br/>
</div>
Have you ever wanted to use your Dock? Have you ever wanted to use your Dock?
well now you cant well now you cant
@@ -8,17 +28,17 @@ well now you cant
- calculates the size of your screen & Dock - 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 - 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 - 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) ## Quick start Guide (Mac App)
(Currently not functional) - Go to [releases](https://github.com/neon443/DockPhobia/releases)
``` - Download the latest version
git clone https://github.com/neon443/DockPhobia - That's it!
cd DockPhobia
open DockPhobia.xcodeproj ## Contributing
``` PRs welcome, as long as you use tabs instead of spaces lol
## Quick start Guide (Python version) ## Quick start Guide (Python version)
Dont use this, still here purely for archival purposes, use the native Mac app instead.
``` ```
xcode-select --install xcode-select --install
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"