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
# from https://apple.stackexchange.com/questions/337478/how-to-get-dark-menu-bar-and-dock-in-mojave-light-mode | |
# 1. Mode clair | |
defaults write -g com.apple.notificationcenterui -bool Yes | |
defaults write -g NSRequiresAquaSystemAppearance -bool Yes | |
# 2. Logout | |
# 3. Mode dark |
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
# from https://www.imore.com/add-space-your-mac-dock | |
defaults write com.apple.dock persistent-apps -array-add '{"tile-type"="spacer-tile";}'; killall Dock |
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
/** | |
* Copy the text content of the active layer in the clipboard | |
* Author: Maxime Cousinou | |
* | |
* Installation: | |
* - Copy the script in your Photoshop/Presets/Scripts directory | |
* - Create an Action with a keyboard shorcut for quick access (cf http://www.tranberry.com/photoshop/photoshop_scripting/tips/script_shortcut.html) | |
**/ | |
var activeLayer = app.activeDocument.activeLayer; |
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
;******************************************************************************** | |
; Move Windows by 1/3 | |
;******************************************************************************** | |
MoveCycle(Add) { | |
static SizeCycle = 0 | |
SizeCycle := Mod(SizeCycle + Add, 6) | |
if (SizeCycle < 0) { | |
SizeCycle := SizeCycle + 6 | |
} |