Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/alexw00/dot-launcher
Quickly open and edit dotfiles.
https://github.com/alexw00/dot-launcher
config dotfiles dotfiles-linux dotfiles-macos dotfiles-manager linux
Last synced: about 16 hours ago
JSON representation
Quickly open and edit dotfiles.
- Host: GitHub
- URL: https://github.com/alexw00/dot-launcher
- Owner: AlexW00
- Created: 2022-07-29T09:36:04.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2023-03-09T13:21:17.000Z (over 1 year ago)
- Last Synced: 2024-10-02T00:22:14.569Z (about 1 month ago)
- Topics: config, dotfiles, dotfiles-linux, dotfiles-macos, dotfiles-manager, linux
- Language: Shell
- Homepage:
- Size: 13.7 KB
- Stars: 11
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Dot-Launcher
Dot-Launcher is a Bash script to quickly open and edit dotfiles.
![ezgif com-gif-maker](https://user-images.githubusercontent.com/55558407/182107032-9b6ec145-ea73-4e1a-a816-b5c9b5da1fa4.gif)
## 🚚 Dependencies
- [Git](https://git-scm.com/)
- [Fzf](https://github.com/junegunn/fzf)## 💿 Installation
1. (Install the [dependencies](#dependencies))
2. Download [dot.sh](./dot.sh) and save it in a directory of your choice.
3. `chmod +x /path/to/dot.sh` to make it executable
4. To execute the script from anywhere, add the following line to your `~/.bashrc`/`~/.zshrc`:
```bash
alias dot='/path/to/dot.sh'
```## ⚙️ Configuration
You can configure the following variables in the `dot.sh` file:
- `dot_dir`: the directory where the dotfiles are stored. (default: `$HOME/.config`)
- `nested_levels`: the number of nested levels to search for dotfiles. (default: `3`)
- `dot_file_extensions`: allowed file extensions for dotfiles. (default: `".txt" ".json" ".yml" ".yaml" ".conf" ".ini" ".toml" ".xml" ".vim" ".lua" "rc" "profile" ".resources"`)
- `do_ignore_gitignored_files`: whether or not to ignore files also ignored by git (default: `"true"`)## 💻 Usage
Simply run `dot` in your terminal.