{"id":18663118,"url":"https://github.com/asapdotid/mac-config","last_synced_at":"2026-05-08T07:33:17.542Z","repository":{"id":113711188,"uuid":"255872082","full_name":"asapdotid/mac-config","owner":"asapdotid","description":"MacOS custom bash script for aliases for ZSH","archived":false,"fork":false,"pushed_at":"2022-07-07T02:42:22.000Z","size":303,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-30T01:44:57.769Z","etag":null,"topics":["aliases","bash","macos","shell","web","zsh"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/asapdotid.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-04-15T09:44:57.000Z","updated_at":"2022-07-07T02:42:25.000Z","dependencies_parsed_at":null,"dependency_job_id":"c033f37c-ddae-409f-8452-6631278c683e","html_url":"https://github.com/asapdotid/mac-config","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/asapdotid/mac-config","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asapdotid%2Fmac-config","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asapdotid%2Fmac-config/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asapdotid%2Fmac-config/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asapdotid%2Fmac-config/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/asapdotid","download_url":"https://codeload.github.com/asapdotid/mac-config/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asapdotid%2Fmac-config/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32771041,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-08T02:36:36.067Z","status":"ssl_error","status_checked_at":"2026-05-08T02:36:07.210Z","response_time":54,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["aliases","bash","macos","shell","web","zsh"],"created_at":"2024-11-07T08:15:06.360Z","updated_at":"2026-05-08T07:33:17.518Z","avatar_url":"https://github.com/asapdotid.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Custom config for support bash or zsh 💻\n\n1. Aliasas\n1. Function\n\n## Requirements\n\n-   Exa (`brew install exa`)\n\nClone this repository to `user configuration` directory to your home directory: `$HOME/.config`\n\n```bash\n# Install configs\n$ git clone https://github.com/asapdotid/mac-config.git \"${HOME}\"/.config/asapmac\n```\n\nAdd script to load `functions` and `aliases` to ZSH or BASH config `(.zshrc or bashrc)` on the bottom.\n\n```bash\nsource $HOME/.config/asapmac/.aliases\nsource $HOME/.config/asapmac/.functions\n```\n\n## Note:\n\n\u003e Change your environment variables config on `.env`\n\nexample:\n\n```bash\nEDITOR='vim'\n```\n\nor\n\n```bash\nEDITOR='nvim'\n```\n\nNow you can use aliases for your command don't forget before use it, please to reload config `source ~/.zshrc`\n\n# Yabai and skhd configs\n\nMy personal yabai and skhd configs\n\nSee my [dotfiles](https://gitlab.com/julian-heng/dotfiles.git) repo for my other configs\n\nNOTE: yabai requires System Integrity Protection to be disabled to work properly. See [here](https://github.com/koekeishiya/yabai/wiki/Disabling-System-Integrity-Protection) for more information.\n\n## Installing for yabai\n\n```sh\n# Remove previous links\n$ rm -f \"${HOME}\"/.{yabai,skhd}rc\n\n$ ln -s \"${HOME}/.config/asapmac/yabai/yabairc\" \"${HOME}/.yabairc\"\n$ ln -s \"${HOME}/.config/asapmac/yabai/skhdrc\" \"${HOME}/.skhdrc\"\n```\n\n## Keyboard shortcuts\n\n### Yabai\n\n#### Changing focus\n\n\u003ckbd\u003ealt\u003c/kbd\u003e + \u003ckbd\u003ehjkl\u003c/kbd\u003e\n\n#### Resize windows\n\n| Action       | Key Combination                                 |\n| ------------ | ----------------------------------------------- |\n| Resize left  | \u003ckbd\u003ectrl\u003c/kbd\u003e + \u003ckbd\u003ealt\u003c/kbd\u003e + \u003ckbd\u003eh\u003c/kbd\u003e |\n| Resize down  | \u003ckbd\u003ectrl\u003c/kbd\u003e + \u003ckbd\u003ealt\u003c/kbd\u003e + \u003ckbd\u003ej\u003c/kbd\u003e |\n| Resize up    | \u003ckbd\u003ectrl\u003c/kbd\u003e + \u003ckbd\u003ealt\u003c/kbd\u003e + \u003ckbd\u003ek\u003c/kbd\u003e |\n| Resize right | \u003ckbd\u003ectrl\u003c/kbd\u003e + \u003ckbd\u003ealt\u003c/kbd\u003e + \u003ckbd\u003el\u003c/kbd\u003e |\n| Equalise     | \u003ckbd\u003ectrl\u003c/kbd\u003e + \u003ckbd\u003ealt\u003c/kbd\u003e + \u003ckbd\u003e0\u003c/kbd\u003e |\n\n#### Move windows\n\n\u003ckbd\u003eshift\u003c/kbd\u003e + \u003ckbd\u003ealt\u003c/kbd\u003e + \u003ckbd\u003ehjkl\u003c/kbd\u003e\n\n#### Move windows to workspace\n\n| Action                      | Key Combination                                    |\n| --------------------------- | -------------------------------------------------- |\n| Send to last active desktop | \u003ckbd\u003eshift\u003c/kbd\u003e + \u003ckbd\u003ealt\u003c/kbd\u003e + \u003ckbd\u003em\u003c/kbd\u003e   |\n| Send to previous workplace  | \u003ckbd\u003eshift\u003c/kbd\u003e + \u003ckbd\u003ealt\u003c/kbd\u003e + \u003ckbd\u003ep\u003c/kbd\u003e   |\n| Send to next workplace      | \u003ckbd\u003eshift\u003c/kbd\u003e + \u003ckbd\u003ealt\u003c/kbd\u003e + \u003ckbd\u003en\u003c/kbd\u003e   |\n| Send to workplace           | \u003ckbd\u003eshift\u003c/kbd\u003e + \u003ckbd\u003ealt\u003c/kbd\u003e + \u003ckbd\u003enum\u003c/kbd\u003e |\n\n#### Rotate windows\n\n| Action               | Key Combination                                  |\n| -------------------- | ------------------------------------------------ |\n| Rotate clockwise     | \u003ckbd\u003eshift\u003c/kbd\u003e + \u003ckbd\u003ealt\u003c/kbd\u003e + \u003ckbd\u003er\u003c/kbd\u003e |\n| Rotate anticlockwise | \u003ckbd\u003ealt\u003c/kbd\u003e + \u003ckbd\u003er\u003c/kbd\u003e                    |\n| Flip on x-axis       | \u003ckbd\u003eshift\u003c/kbd\u003e + \u003ckbd\u003ealt\u003c/kbd\u003e + \u003ckbd\u003ex\u003c/kbd\u003e |\n| Flip on y-axis       | \u003ckbd\u003eshift\u003c/kbd\u003e + \u003ckbd\u003ealt\u003c/kbd\u003e + \u003ckbd\u003ey\u003c/kbd\u003e |\n\n#### Window actions\n\n| Action            | Key Combination                                  |\n| ----------------- | ------------------------------------------------ |\n| Fullscreen        | \u003ckbd\u003ealt\u003c/kbd\u003e + \u003ckbd\u003ef\u003c/kbd\u003e                    |\n| Native fullscreen | \u003ckbd\u003eshift\u003c/kbd\u003e + \u003ckbd\u003ealt\u003c/kbd\u003e + \u003ckbd\u003ef\u003c/kbd\u003e |\n| Center window     | \u003ckbd\u003eshift\u003c/kbd\u003e + \u003ckbd\u003ealt\u003c/kbd\u003e + \u003ckbd\u003ec\u003c/kbd\u003e |\n\n#### Insertion point\n\n| Action                       | Key Combination                                                    |\n| ---------------------------- | ------------------------------------------------------------------ |\n| Insert left                  | \u003ckbd\u003eshift\u003c/kbd\u003e + \u003ckbd\u003ectrl\u003c/kbd\u003e + \u003ckbd\u003ealt\u003c/kbd\u003e + \u003ckbd\u003eh\u003c/kbd\u003e |\n| Insert down                  | \u003ckbd\u003eshift\u003c/kbd\u003e + \u003ckbd\u003ectrl\u003c/kbd\u003e + \u003ckbd\u003ealt\u003c/kbd\u003e + \u003ckbd\u003ej\u003c/kbd\u003e |\n| Insert up                    | \u003ckbd\u003eshift\u003c/kbd\u003e + \u003ckbd\u003ectrl\u003c/kbd\u003e + \u003ckbd\u003ealt\u003c/kbd\u003e + \u003ckbd\u003ek\u003c/kbd\u003e |\n| Insert right                 | \u003ckbd\u003eshift\u003c/kbd\u003e + \u003ckbd\u003ectrl\u003c/kbd\u003e + \u003ckbd\u003ealt\u003c/kbd\u003e + \u003ckbd\u003el\u003c/kbd\u003e |\n| Cancel insert (chunkwm only) | \u003ckbd\u003eshift\u003c/kbd\u003e + \u003ckbd\u003ectrl\u003c/kbd\u003e + \u003ckbd\u003ealt\u003c/kbd\u003e + \u003ckbd\u003ex\u003c/kbd\u003e |\n\n#### Misc\n\n| Action          | Key Combination                                                    |\n| --------------- | ------------------------------------------------------------------ |\n| Toggle float    | \u003ckbd\u003eshift\u003c/kbd\u003e + \u003ckbd\u003ealt\u003c/kbd\u003e + \u003ckbd\u003espace\u003c/kbd\u003e               |\n| Toggle gaps     | \u003ckbd\u003ectrl\u003c/kbd\u003e + \u003ckbd\u003ealt\u003c/kbd\u003e + \u003ckbd\u003eg\u003c/kbd\u003e                    |\n| Restart chunkwm | \u003ckbd\u003ectrl\u003c/kbd\u003e + \u003ckbd\u003eshift\u003c/kbd\u003e + \u003ckbd\u003ealt\u003c/kbd\u003e + \u003ckbd\u003er\u003c/kbd\u003e |\n\n### Non-chunkwm\n\n#### Show information\n\n##### Description\n\nUses `osascript` to show information like CPU, memory, battery, etc. The CPU script requires [osx-cpu-temp](https://github.com/lavoiesl/osx-cpu-temp) installed. The song script supports iTunes and cmus.\n\nClick [here](scripts) to view the script folder\n\nNote: May have to change the location of the scripts in skhdrc\n\n##### Key Combination\n\n\u003ckbd\u003efn\u003c/kbd\u003e + \u003ckbd\u003ealt\u003c/kbd\u003e + \u003ckbd\u003enum\u003c/kbd\u003e\n\n##### Screenshots\n\n\u003cimg width=\"382\" height=\"101\" src=\"screenshots/cpu.png?raw=true\"\u003e\u003cimg width=\"382\" height=\"101\" src=\"screenshots/mem.png?raw=true\"\u003e\n\u003cimg width=\"382\" height=\"101\" src=\"screenshots/bat.png?raw=true\"\u003e\u003cimg width=\"382\" height=\"101\" src=\"screenshots/disk.png?raw=true\"\u003e\n\u003cimg width=\"382\" height=\"101\" src=\"screenshots/song.png?raw=true\"\u003e\n\n```\nfn + alt - 1 : /path/to/script\nfn + alt - 2 : /path/to/script\nfn + alt - 3 : /path/to/script\n...\n```\n\n#### Opening applications\n\n#### Launch iTerm2\n\n##### Description\n\nLaunches iTerm2 using like in i3-wm.\n\nClick [here](scripts/open_iterm2.sh) to view the script\n\n##### Key Combination\n\n\u003ckbd\u003ecmd\u003c/kbd\u003e + \u003ckbd\u003ereturn\u003c/kbd\u003e\n\n```\ncmd - return : /path/to/launch/terminal\n```\n\nRefrence :\n\n-   [Yabai Config](https://github.com/Julian-Heng/chunkwm-yabai-config)\n-   [Emoji Log](https://github.com/ahmadawais/Emoji-Log)\n\nIf any issue please contact me [@asapdotid](mailto:asapdotid@gmail.com) :point_left:\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fasapdotid%2Fmac-config","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fasapdotid%2Fmac-config","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fasapdotid%2Fmac-config/lists"}