Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

Awesome Lists containing this project

README

        

# Scripts for configure your session @42


CodeFactor

---

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 library

main()
{
DockApplications=("App1" "App2" "App3") # All the applications I want in my dock
MenuBarIcons=("Bluetooth" "Keychain") # All the menus I want in my menu bar

configure_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