Skip to content

Commit 75888cc

Browse files
committed
update brewFile
0 parents  commit 75888cc

6 files changed

Lines changed: 181 additions & 0 deletions

File tree

Brewfile

Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
tap "buo/cask-upgrade"
2+
tap "homebrew/autoupdate"
3+
tap "homebrew/bundle"
4+
tap "krtirtho/apps"
5+
6+
brew mas
7+
brew "zsh"
8+
brew "findutils"
9+
brew "coreutils"
10+
brew "brew-pip"
11+
brew "bash"
12+
brew "cairo"
13+
brew "unbound"
14+
brew "gnutls"
15+
brew "cask"
16+
brew "exiftool"
17+
brew "srt"
18+
brew "ffmpeg"
19+
brew "gawk"
20+
brew "gh"
21+
brew "ghostscript"
22+
brew "git"
23+
brew "nghttp2"
24+
brew "node"
25+
brew "pandoc"
26+
brew "nmap"
27+
brew "openjdk"
28+
brew "parallel"
29+
brew "testdisk"
30+
brew "wget"
31+
brew "wireguard-tools"
32+
33+
cask "appcleaner"
34+
cask "bruno"
35+
cask "chatgpt"
36+
cask "cryptomator"
37+
cask "docker"
38+
cask "firefox"
39+
cask "keepassxc"
40+
cask "keeweb"
41+
cask "keka"
42+
cask "macfuse"
43+
cask "notion"
44+
cask "obsidian"
45+
cask "onedrive"
46+
cask "onyx"
47+
cask "postman"
48+
cask "signal"
49+
cask "rectangle"
50+
cask "teamviewer"
51+
cask "the-unarchiver"
52+
cask "thunderbird"
53+
cask "transmission"
54+
cask "veracrypt"
55+
cask "visual-studio-code"
56+
cask "vlc"
57+
cask "linearmouse"
58+
cask "synology-drive"
59+
cask "tor-browser"
60+
cask "spotube"
61+
cask "steam"
62+
63+
cask "lulu"
64+
cask "knockknock"
65+
cask "dhs"
66+
cask "oversight"

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2022 AxelG.
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# init mac
2+
Simple repo pour ré-installer plus vite un macbook neuf.
3+
4+
Il suffit de télécharger les sources du repo :
5+
```
6+
curl -fsSL -O -J -L "https://github.com/llexaxell/init_mac/archive/refs/heads/main.zip"
7+
```
8+
et d'exécuter le fichier via la commande :
9+
```
10+
sh init.sh
11+
```

init.sh

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
#!/usr/bin/env bash
2+
3+
echo "Début de l'installation"
4+
#Vérifie si Homebrew est déjà installé
5+
if test ! $(which brew); then
6+
echo "Installing homebrew…"
7+
export HOMEBREW_BREW_GIT_REMOTE="..." # put your Git mirror of Homebrew/brew here
8+
export HOMEBREW_CORE_GIT_REMOTE="..." # put your Git mirror of Homebrew/homebrew-core here
9+
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
10+
fi
11+
12+
brew update
13+
brew tap "homebrew/bundle"
14+
15+
echo "Installation des apps…"
16+
brew bundle install
17+
18+
sh init_conf_macOs.sh
19+
sh install_fonts.sh
20+
21+
echo "Nettoyage…"
22+
brew cleanup
23+
24+
echo "Mise à jour automatique des brews"
25+
brew autoupdate start --upgrade --greedy --cleanup
26+
27+
echo "Installation terminée"

init_conf_macOs.sh

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
#!/usr/bin/env bash
2+
3+
echo "Configuration de OSX…"
4+
5+
#Installation des confs macOS que j'aime (https://macos-defaults.com/fr/)
6+
#Dock
7+
##Dock à gauche de l'écran
8+
defaults write com.apple.dock "orientation" -string "left"
9+
##Taille des icônes
10+
defaults write com.apple.dock "tilesize" -int "22"
11+
##Cacher le doc automatiquement
12+
defaults write com.apple.dock "autohide" -bool "true"
13+
##Ne pas afficher la section des applications utilisées récemment
14+
defaults write com.apple.dock "show-recents" -bool "false"
15+
16+
#Finder
17+
##Show filename extensions by default
18+
defaults write NSGlobalDomain "AppleShowAllExtensions" -bool "false"
19+
##Ne pas mettre d'alerte au changement d'extension d'un fichier
20+
defaults write com.apple.finder "FXEnableExtensionChangeWarning" -bool "false"
21+
#Enregistrer par défaut dans iCloud
22+
defaults write NSGlobalDomain "NSDocumentSaveNewDocumentsToCloud" -bool "false"
23+
24+
##Menus
25+
##Format de l'horloge
26+
defaults write com.apple.menuextra.clock "DateFormat" -string "\"EEE d MMM HH:MM\""
27+
28+
##Assistante d'évaluation
29+
defaults write com.apple.appleseed.FeedbackAssistant "Autogather" -bool "false"
30+
31+
#TextEdit
32+
##Ouvrir par défaut en txt
33+
defaults write com.apple.TextEdit "RichText" -bool "false"
34+
35+
##Timemachine
36+
##Ne pas activer l'ajout de disque timeMachine
37+
defaults write com.apple.TimeMachine "DoNotOfferNewDisksForBackup" -bool "true"
38+
39+
###Trackpad
40+
##Activer le tap to click
41+
defaults write com.apple.driver.AppleBluetoothMultitouch.trackpad Clicking -bool true
42+
defaults -currentHost write NSGlobalDomain com.apple.mouse.tapBehavior -int 1
43+
##Désactiver le "natural" scroll
44+
defaults write NSGlobalDomain com.apple.swipescrolldirection -bool true

install_fonts.sh

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
#!/usr/bin/env bash
2+
echo "Installation des fonts…"
3+
brew tap homebrew/cask-fonts
4+
FONTS=(
5+
font-inconsolata-nerd-font
6+
font-roboto
7+
font-clear-sans
8+
font-montserrat
9+
font-open-sans
10+
font-poppins
11+
)
12+
brew install ${FONTS[@]}

0 commit comments

Comments
 (0)