Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lots of plugins #137

Draft
wants to merge 100 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
100 commits
Select commit Hold shift + click to select a range
c00bbd5
Add airdrop plugin
Jan 5, 2017
006986b
Add airport plugin
Jan 5, 2017
1e0a7d3
Add debugmode plugin
Jan 5, 2017
febeb9d
Add lightsensor subcommand to display
Jan 5, 2017
ae21fa6
Fix dock pruning so that it always works
Jan 5, 2017
7d0817f
Allow the dock to be completely disabled
Jan 5, 2017
9aba633
Add autohidedelay and autohidespeed to dock
Jan 5, 2017
70759c9
Add magnificationsize to the dock
Jan 5, 2017
0b95915
Add iconsize to the dock
Jan 5, 2017
06bcbab
Add bounce effects to the dock
Jan 5, 2017
a9d1b71
Whitespace
Jan 5, 2017
9d7f6cf
Add active indicators to dock
Jan 5, 2017
1394663
Add helper functions to remove some duplication around reading values
Jan 6, 2017
5f6fdb9
Add more helper functions to remove a bunch of duplication
Jan 6, 2017
f9090f3
Clear more duplication by creating more helpers
Jan 6, 2017
7e09ee0
Add hidden app dimming to the dock
Jan 6, 2017
c448b24
Add only show running to the dock
Jan 6, 2017
db9b798
Add full screen delay to the dock
Jan 6, 2017
e8c6271
Add iTunes notifications to the dock
Jan 6, 2017
0638d9f
Change helpers to converters to be more specific
Jan 6, 2017
724c018
Add keyboard plugin
Jan 6, 2017
883160a
Add tags to gitignore
Jan 6, 2017
07d85d3
Add spotlight plugin
Jan 6, 2017
f153ae8
Add tooltips plugin
Jan 6, 2017
9c41339
Add consistent way of extracting commands/subcommand names
Jan 6, 2017
c7fab51
Add password delay to screensaver
Jan 6, 2017
508218c
Add bannertime to notification
Jan 6, 2017
4259f41
Add mission control
Jan 6, 2017
0c8f545
Add hot corners plugin
Jan 6, 2017
6823062
Add filevault plugin
Jan 6, 2017
aa4f453
Add power plugin
Jan 7, 2017
4c03fb3
Add dashboard plugin
Jan 7, 2017
1b497d0
Add time machine plugin
Jan 7, 2017
dda1338
Add datetime plugin
Jan 7, 2017
c525512
Add locale plugin
Jan 7, 2017
6921e9f
Fix issues with matching 'true' text
Jan 7, 2017
975c1af
Add autobackup and mediakeys to itunes
Jan 7, 2017
0964f8f
Add diskutility plugin
Jan 7, 2017
969f2d7
Add new firewall commands
Jan 7, 2017
6c3057c
Add scrolling plugin
Jan 7, 2017
42a892f
Add diskimages plugin
Jan 7, 2017
d7c22ba
Add appearance plugin
Jan 7, 2017
079b036
Add launchpad plugin
Jan 7, 2017
112c8a0
Add location plugin
Jan 7, 2017
7aa77d7
Syntax changes
Jan 7, 2017
e991c23
Add autologin to user
Jan 7, 2017
5056f38
Add fastuserswitching and guest to user
Jan 7, 2017
7cba97e
Change to using the login_pref_path variable to remove duplication
Jan 7, 2017
28e2265
Add loginattemptsbeforehint to user
Jan 7, 2017
d057ce6
Add showsecure to user
Jan 7, 2017
8a8157b
Add loginpoweroptions to user
Jan 7, 2017
3f7a9f4
Add warn to trash
Jan 7, 2017
091f58e
Change hostname to add a few more places where it needs to change
Jan 7, 2017
9d0e6ce
Add loginmessage to user
Jan 7, 2017
534569b
Add restartonhang to power
Jan 7, 2017
36d9bdc
Add automatic options to update
Jan 7, 2017
d6391fe
Add interval to update
Jan 7, 2017
26fd3a9
Add animations
Jan 7, 2017
6a3244d
Add remotedsstore to finder
Jan 7, 2017
74fb74d
Add defaultusername to network
Jan 7, 2017
10cafe9
Add quitwhenfinished to printer
Jan 7, 2017
5f969d3
Add wakeonethernet and guestaccess to network
Jan 7, 2017
6fff6d1
Alphabetize README
Jan 7, 2017
7967718
Add standbykey to filevault
Jan 7, 2017
6e67119
Add sound plugin
Jan 7, 2017
8bd82ba
Add persistmemory to power
Jan 7, 2017
c801b5c
Add dialogs plugin
Jan 7, 2017
6f81baa
Add dir show and hide
Jan 7, 2017
f8f7fe8
Add tons of new finder capabilities
Jan 8, 2017
6b3a698
Add screencapture plugin
Jan 8, 2017
c70cebd
Add system plugin
Jan 8, 2017
737eea5
Add menubar plugin
Jan 8, 2017
e07d2f1
Add fullscreen plugin
Jan 8, 2017
fb0857a
Add windows plugin
Jan 8, 2017
317dac6
Add hidequicklookondeactivate to finder
Jan 8, 2017
dedcd82
Add remotesharing to disk
Jan 8, 2017
ed06b08
Update usage in docs to be more consistent
Jan 8, 2017
5024887
Allow yes/no combos to include on/off
Jan 8, 2017
23b8360
Fix matching on floats with more than one number
Jan 8, 2017
6d1ddaa
Quote all the things
Jan 8, 2017
5015654
Fix missing imports/command name extraction
Jan 8, 2017
414e980
Fix places where we weren't using our helpers
Jan 8, 2017
c0fb4d3
Fix calls to incorrect defaults helpers
Jan 8, 2017
4662455
Fix issues with commands being called with no arguments
Jan 8, 2017
ada82f9
Change return text to be better
Jan 8, 2017
a62b94e
Add missing sudos
Jan 8, 2017
5f8cd93
Style and nameing changes
Jan 8, 2017
f6631d2
Remove tooltip font stuff which no longer works
Jan 8, 2017
0ad4199
Fix variable and function call bugs
Jan 8, 2017
965cc83
Fix enabled/disabled instead of enable/disable
Jan 8, 2017
1c0df25
Remove wildcards since they aren't very useful
Jan 8, 2017
2a59df2
Docs fix
Jan 8, 2017
2d3e660
Add autoplay to disk
Jan 8, 2017
5bcbddc
Add mouse plugin
Jan 8, 2017
f42677c
Add toggleshortcut to keyboard
Jan 8, 2017
95a8122
Add loginitems plugin
Jan 8, 2017
3deb7af
Fix standby key
Jan 9, 2017
758ee28
Add foldersfirst to finder
Jan 9, 2017
4c938c7
Fix missing subcommand
Jan 9, 2017
6c60ca1
Remove extra 'killall'
Jan 9, 2017
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Allow the dock to be completely disabled
  • Loading branch information
The Grand Design committed Jan 5, 2017
commit 7d0817f0d36d2985ffa51148d1baca55e3b8f84c
4 changes: 3 additions & 1 deletion Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -207,9 +207,11 @@ usage: m [OPTIONS] COMMAND [help]

#### Dock:
```
usage: m dock [ showdelay | autohide | magnification | position | addblankspace | addrecentitems | prune | help ]
usage: m dock [ enable | disable | autohide | magnification | position | addblankspace | addrecentitems | prune | help ]

Examples:
m dock enable # Shows the Dock
m dock disable # Causes the Dock to be hidden and never reappear
m dock showdelay x.x # Changes how long the Dock takes to show up when auto-hide is enabled
m dock autohide YES # Enable Dock's auto hide feature
m dock autohide NO # Disable Dock's auto hide feature
Expand Down
20 changes: 19 additions & 1 deletion plugins/dock
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,11 @@

help(){
cat<<__EOF__
usage: m dock [ showdelay | autohide | magnification | position | addblankspace | addrecentitems | prune | help ]
usage: m dock [ enable | disable | showdelay | autohide | magnification | position | addblankspace | addrecentitems | prune | help ]

Examples:
m dock enable # Shows the Dock
m dock disable # Causes the Dock to be hidden and never reappear
m dock showdelay x.x # Changes how long the Dock takes to show up when auto-hide is enabled
m dock autohide YES # Enable Dock's auto hide feature
m dock autohide NO # Disable Dock's auto hide feature
Expand All @@ -20,6 +22,16 @@ help(){
__EOF__
}

enable(){
auto_hide "NO"
show_delay 0.25
}

disable(){
auto_hide "YES"
show_delay 999999
}

show_delay(){
case $1 in
[0-9][.][0-9])
Expand Down Expand Up @@ -123,6 +135,12 @@ case $1 in
help)
help
;;
enable)
enable
;;
disable)
disable
;;
showdelay)
shift
show_delay $@
Expand Down