mirror of
https://github.com/neon443/DockPhobia.git
synced 2026-03-11 06:49:12 +00:00
add reaadme and stuff
This commit is contained in:
4
.nova/Configuration.json
Normal file
4
.nova/Configuration.json
Normal file
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"python.analysis.typeCheckingMode" : "strict",
|
||||
"python.pipRequirements" : "DockPhobiaPy\/requirements.txt"
|
||||
}
|
||||
17
.nova/Tasks/Custom Task.json
Normal file
17
.nova/Tasks/Custom Task.json
Normal file
@@ -0,0 +1,17 @@
|
||||
{
|
||||
"actions" : {
|
||||
"build" : {
|
||||
"enabled" : true,
|
||||
"script" : "#!\/bin\/sh\ncd DockPhobiaPy\npython3 -m venv venv\n. venv\/bin\/activate\npip3 install -r requirements.txt"
|
||||
},
|
||||
"clean" : {
|
||||
"enabled" : true,
|
||||
"script" : "#!\/bin\/sh\ncd DockPhobiaPy\n. venv\/bin\/activate\npip3 freeze > requirements.txt\nrm -rf venv"
|
||||
},
|
||||
"run" : {
|
||||
"enabled" : true,
|
||||
"script" : "#!\/bin\/sh\ncd DockPhobiaPy\n. venv\/bin\/activate\npython3 main.py"
|
||||
}
|
||||
},
|
||||
"openLogOnRun" : "start"
|
||||
}
|
||||
@@ -1,20 +0,0 @@
|
||||
{
|
||||
"actions" : {
|
||||
"run" : {
|
||||
"postActions" : [
|
||||
{
|
||||
"script" : ". *Py\/venv\/bin\/activate\npython3 *Py\/main.py",
|
||||
"type" : "runScript"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"extension" : {
|
||||
"identifier" : "net.danwatson.Python",
|
||||
"name" : "Python"
|
||||
},
|
||||
"extensionTemplate" : "virtualenv",
|
||||
"extensionValues" : {
|
||||
"script" : "DockPhobiaPy\/main.py"
|
||||
}
|
||||
}
|
||||
@@ -269,10 +269,10 @@
|
||||
CURRENT_PROJECT_VERSION = 1;
|
||||
DEVELOPMENT_ASSET_PATHS = "\"DockPhobia/Preview Content\"";
|
||||
DEVELOPMENT_TEAM = P6PV2R9443;
|
||||
ENABLE_APP_SANDBOX = YES;
|
||||
ENABLE_APP_SANDBOX = NO;
|
||||
ENABLE_HARDENED_RUNTIME = NO;
|
||||
ENABLE_PREVIEWS = YES;
|
||||
ENABLE_USER_SCRIPT_SANDBOXING = YES;
|
||||
ENABLE_USER_SCRIPT_SANDBOXING = NO;
|
||||
GENERATE_INFOPLIST_FILE = YES;
|
||||
INFOPLIST_FILE = DockPhobia/Info.plist;
|
||||
INFOPLIST_KEY_LSUIElement = NO;
|
||||
@@ -302,10 +302,10 @@
|
||||
CURRENT_PROJECT_VERSION = 1;
|
||||
DEVELOPMENT_ASSET_PATHS = "\"DockPhobia/Preview Content\"";
|
||||
DEVELOPMENT_TEAM = P6PV2R9443;
|
||||
ENABLE_APP_SANDBOX = YES;
|
||||
ENABLE_APP_SANDBOX = NO;
|
||||
ENABLE_HARDENED_RUNTIME = NO;
|
||||
ENABLE_PREVIEWS = YES;
|
||||
ENABLE_USER_SCRIPT_SANDBOXING = YES;
|
||||
ENABLE_USER_SCRIPT_SANDBOXING = NO;
|
||||
GENERATE_INFOPLIST_FILE = YES;
|
||||
INFOPLIST_FILE = DockPhobia/Info.plist;
|
||||
INFOPLIST_KEY_LSUIElement = NO;
|
||||
|
||||
BIN
DockPhobia/.DS_Store
vendored
BIN
DockPhobia/.DS_Store
vendored
Binary file not shown.
@@ -6,8 +6,8 @@
|
||||
<string>allow it</string>
|
||||
<key>NSAccessibilitysUsageDescription</key>
|
||||
<string>allow it</string>
|
||||
<key>com.apple.security.automation.apple-events<>
|
||||
<true>
|
||||
<key>com.apple.security.automation.apple-events</key>
|
||||
<true/>
|
||||
<key>com.apple.security.scripting-targets</key>
|
||||
<dict>
|
||||
<key>com.apple.mail</key>
|
||||
|
||||
@@ -1,5 +0,0 @@
|
||||
tell application "System Events"
|
||||
tell dock preferences
|
||||
set screen edge to right
|
||||
end tell
|
||||
end tell
|
||||
BIN
DockPhobiaPy/.DS_Store
vendored
BIN
DockPhobiaPy/.DS_Store
vendored
Binary file not shown.
30
README.md
30
README.md
@@ -1,8 +1,34 @@
|
||||
# DoclkPhobia
|
||||
# DockPhobia
|
||||
|
||||
git clone https://github.com/noen443/DockPhobia
|
||||
Have you ever wanted to use your Dock?
|
||||
well now you cant
|
||||
|
||||
## This masterclass of an app does the following:
|
||||
- tracks your mouse
|
||||
- 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 (Python version)
|
||||
```
|
||||
xcode-select --install
|
||||
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
|
||||
brew install python3
|
||||
```
|
||||
```
|
||||
git clone https://github.com/neon443/DockPhobia
|
||||
cd DockPhobia/DockPhobiaPy
|
||||
python3 -m venv venv
|
||||
. venv/bin/activate
|
||||
pip3 install -r requirements.txt
|
||||
python3 main.py
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user