This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # --- | |
| # | |
| # Based on: | |
| # | |
| # https://github.com/matthewmcvickar/heyfocus | |
| # | |
| # --- | |
| # |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| defaults write com.apple.finder CreateDesktop true | |
| killall Finder |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| defaults write com.apple.finder CreateDesktop false | |
| killall Finder |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| networksetup -setairportpower en1 off | |
| echo "NOW:" `networksetup -getairportpower en1` | |
| networksetup -setairportpower en1 on | |
| echo "NOW:" `networksetup -getairportpower en1` |