{"id":13791858,"url":"https://github.com/lpieri/scripts_42","last_synced_at":"2026-01-16T22:32:09.537Z","repository":{"id":100767078,"uuid":"215784774","full_name":"lpieri/scripts_42","owner":"lpieri","description":"Set of functions to change your preferences on Macos.","archived":false,"fork":false,"pushed_at":"2022-06-14T16:09:59.000Z","size":15,"stargazers_count":19,"open_issues_count":0,"forks_count":2,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-11-18T06:45:51.060Z","etag":null,"topics":["42-school","42born2code","42network","macos","preferences","session-management","shell-script"],"latest_commit_sha":null,"homepage":"http://louise.tech","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lpieri.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2019-10-17T12:17:16.000Z","updated_at":"2024-10-07T22:54:02.000Z","dependencies_parsed_at":"2023-06-09T18:00:26.716Z","dependency_job_id":null,"html_url":"https://github.com/lpieri/scripts_42","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lpieri%2Fscripts_42","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lpieri%2Fscripts_42/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lpieri%2Fscripts_42/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lpieri%2Fscripts_42/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lpieri","download_url":"https://codeload.github.com/lpieri/scripts_42/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253754967,"owners_count":21958934,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["42-school","42born2code","42network","macos","preferences","session-management","shell-script"],"created_at":"2024-08-03T22:01:05.286Z","updated_at":"2026-01-16T22:32:09.490Z","avatar_url":"https://github.com/lpieri.png","language":"Shell","readme":"# Scripts for configure your session @42\n\n\n\u003cp align=\"center\"\u003e\n\u003ca href=\"https://www.codefactor.io/repository/github/lpieri/scripts_42\"\u003e\u003cimg src=\"https://www.codefactor.io/repository/github/lpieri/scripts_42/badge\" alt=\"CodeFactor\" /\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n---\n\nDo you find it painful to reset all your preferences every time you change computers?\n\nThat's why I created this directory too. In this directory you will find a set of functions to change your preferences on Macos.\n\n## How does it work?\n\n### It's very simple !\n\nClone this repository and open the `main.sh` file.\n\nIn the `main.sh` file, write your `main`.\n\nFor exemple:\n\n```sh\nsource libsession.sh  #include the library\n\nmain()\n{\n\tDockApplications=(\"App1\" \"App2\" \"App3\") # All the applications I want in my dock\n\tMenuBarIcons=(\"Bluetooth\" \"Keychain\") # All the menus I want in my menu bar\n\n\tconfigure_dock buttom 0 # Calling function configure_dock for set my dock in the buttom without the autohide\n\tconfigure_wallpaper \"\\\"${HOME}/your/path/picture.jpg\\\"\" # Calling function configure_wallpaper for change my wallpaper\n\tconfigure_screensaver 0 0 # Calling function configure_screensaver for require my password on my screensaver without delay\n\tconfigure_hotcorners tr 5 # Calling function configure_hotcorners for add one hot corners\n\tconfigure_keyrepeat # Calling function configure_keyrepeat set the keyrepeat at the minimum delay\n\tconfigure_menubar # Calling function configure_menubar for add in my menu bar all MenuBarIcons\n\tconfigure_mousespeed 5 # Calling function configure_mousespeed to set the mousespeed to 5 \n\tconfigure_volume 50 0 # Calling function configure_volume to set the ouput volume at 50% and disable alert volume\n}\n\nmain\n```\n\nJust launch the command `sh .configure.sh` ! Logout and Re-Login and it's finish :)\n\n## Contributors\n\n[Louise Pieri](https://github.com/lpieri)\n\n[leonardogb](https://github.com/leonardogb)\n\n[knona](https://github.com/knona)\n\n## I want to contribute to the project! But how?\n - Fork this repository\n - Clone your repository forked\n - Contribute\n - Push\n - Create a pull request in this repository\n - Wait the merged !\n - Be happy\n","funding_links":[],"categories":["Tools"],"sub_categories":["Scripts"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flpieri%2Fscripts_42","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flpieri%2Fscripts_42","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flpieri%2Fscripts_42/lists"}