Beginning of macOS and Linux dotfiles separation and quality improvements
This commit is contained in:
18
MacOS/scripts/color.sh
Executable file
18
MacOS/scripts/color.sh
Executable file
@@ -0,0 +1,18 @@
|
||||
#! /bin/bash
|
||||
|
||||
RED="\e[31m"
|
||||
GREEN="\e[32m"
|
||||
YELLOW="\e[33m"
|
||||
BLUE="\e[34m"
|
||||
MAGENTA="\e[35m"
|
||||
CYAN="\e[36m"
|
||||
GRAY="\e[90m"
|
||||
ENDCOLOR="\e[0m"
|
||||
|
||||
ENDCOLOR="\e[0m"
|
||||
BOLD="\e[1m"
|
||||
FAINT="\e[2m"
|
||||
ITALIC="\e[3m"
|
||||
UNDERLINE="\e[4m"
|
||||
|
||||
# Example usage: echo -e "${GRAY}Gray text${ENDCOLOR}"
|
||||
2
MacOS/scripts/macos-add-small-spacer.sh
Executable file
2
MacOS/scripts/macos-add-small-spacer.sh
Executable file
@@ -0,0 +1,2 @@
|
||||
defaults write com.apple.dock persistent-apps -array-add '{"tile-type"="small-spacer-tile";}'
|
||||
killall Dock
|
||||
2
MacOS/scripts/macos-add-spacer.sh
Executable file
2
MacOS/scripts/macos-add-spacer.sh
Executable file
@@ -0,0 +1,2 @@
|
||||
defaults write com.apple.dock persistent-apps -array-add '{tile-data={}; tile-type="spacer-tile";}'
|
||||
killall Dock
|
||||
Reference in New Issue
Block a user