Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lpieri/scripts_42
Set of functions to change your preferences on Macos.
https://github.com/lpieri/scripts_42
42-school 42born2code 42network macos preferences session-management shell-script
Last synced: 2 months ago
JSON representation
Set of functions to change your preferences on Macos.
- Host: GitHub
- URL: https://github.com/lpieri/scripts_42
- Owner: lpieri
- License: mit
- Created: 2019-10-17T12:17:16.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2022-06-14T16:09:59.000Z (over 2 years ago)
- Last Synced: 2024-07-31T09:34:06.660Z (6 months ago)
- Topics: 42-school, 42born2code, 42network, macos, preferences, session-management, shell-script
- Language: Shell
- Homepage: http://louise.tech
- Size: 14.6 KB
- Stars: 16
- Watchers: 4
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-42 - scripts_42 - Set of functions to change your preferences on macOS. (Tools / Scripts)
README
# Scripts for configure your session @42
---
Do you find it painful to reset all your preferences every time you change computers?
That's why I created this directory too. In this directory you will find a set of functions to change your preferences on Macos.
## How does it work?
### It's very simple !
Clone this repository and open the `main.sh` file.
In the `main.sh` file, write your `main`.
For exemple:
```sh
source libsession.sh #include the librarymain()
{
DockApplications=("App1" "App2" "App3") # All the applications I want in my dock
MenuBarIcons=("Bluetooth" "Keychain") # All the menus I want in my menu barconfigure_dock buttom 0 # Calling function configure_dock for set my dock in the buttom without the autohide
configure_wallpaper "\"${HOME}/your/path/picture.jpg\"" # Calling function configure_wallpaper for change my wallpaper
configure_screensaver 0 0 # Calling function configure_screensaver for require my password on my screensaver without delay
configure_hotcorners tr 5 # Calling function configure_hotcorners for add one hot corners
configure_keyrepeat # Calling function configure_keyrepeat set the keyrepeat at the minimum delay
configure_menubar # Calling function configure_menubar for add in my menu bar all MenuBarIcons
configure_mousespeed 5 # Calling function configure_mousespeed to set the mousespeed to 5
configure_volume 50 0 # Calling function configure_volume to set the ouput volume at 50% and disable alert volume
}main
```Just launch the command `sh .configure.sh` ! Logout and Re-Login and it's finish :)
## Contributors
[Louise Pieri](https://github.com/lpieri)
[leonardogb](https://github.com/leonardogb)
[knona](https://github.com/knona)
## I want to contribute to the project! But how?
- Fork this repository
- Clone your repository forked
- Contribute
- Push
- Create a pull request in this repository
- Wait the merged !
- Be happy