https://github.com/prakash-aryan/bashcanvas
BashCanvas is a custom bash profile manager that allows you to switch between different themed terminal environments easily. It provides a more personalized and enjoyable command-line experience with visually appealing prompts and useful functions.
https://github.com/prakash-aryan/bashcanvas
bash bash-script debian terminal ubuntu
Last synced: 3 months ago
JSON representation
BashCanvas is a custom bash profile manager that allows you to switch between different themed terminal environments easily. It provides a more personalized and enjoyable command-line experience with visually appealing prompts and useful functions.
- Host: GitHub
- URL: https://github.com/prakash-aryan/bashcanvas
- Owner: prakash-aryan
- License: gpl-3.0
- Created: 2024-08-17T04:24:16.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-08-21T07:31:41.000Z (almost 2 years ago)
- Last Synced: 2025-01-05T17:14:27.318Z (over 1 year ago)
- Topics: bash, bash-script, debian, terminal, ubuntu
- Language: Shell
- Homepage:
- Size: 26.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# BashCanvas
BashCanvas is a custom bash profile manager that allows you to switch between different themed terminal environments easily. It provides a more personalized and enjoyable command-line experience with visually appealing prompts and useful functions.
## Features
- Multiple themed profiles (Cosmic Explorer, Cyberpunk Hacker, Oceanic Dream)
- Easy switching between profiles using a GUI
- Customizable prompts with Git integration
- Themed ASCII art and animations
## Screenshots
### Cosmic Explorer

### Cyberpunk Hacker

### Forest Dweller

### Oceanic Dream

## Installation
1. Clone the repository:
```bash
git clone https://github.com/prakash-aryan/bashcanvas.git ~/BashCanvas
```
2. Install the required package:
```bash
sudo apt install libncurses-dev
```
3. Make the scripts executable:
```bash
chmod +x ~/BashCanvas/*.sh ~/BashCanvas/profiles/*.sh
```
4. Edit your `~/.bashrc` file:
```bash
nano ~/.bashrc
```
Add the following at the end of the file:
```bash
# BashCanvas Profile Loading
if [ -f "$HOME/.current_profile" ]; then
current_profile=$(cat "$HOME/.current_profile")
profile_file="$HOME/BashCanvas/profiles/${current_profile}.sh"
if [ -f "$profile_file" ]; then
source "$profile_file"
fi
fi
```
5. Source your `.bashrc`:
```bash
source ~/.bashrc
```
## Usage
1. Navigate to the BashCanvas directory:
```bash
cd ~/BashCanvas
```
2. Compile the GUI:
```bash
gcc -o bashcanvas_gui bashcanvas_gui.c -lncurses
```
3. Run the GUI:
```bash
./bashcanvas_gui
```
4. Use the arrow keys to navigate, Enter to select a profile, and 'q' to quit.
5. After selecting a profile, open a new terminal or source your `.bashrc` for the changes to take effect:
```bash
source ~/.bashrc
```
and open a new terminal to see the changes
## Uninstallation
To remove BashCanvas and its settings:
1. Remove the BashCanvas directory:
```bash
rm -rf ~/BashCanvas
```
2. Edit your `~/.bashrc` file:
```bash
nano ~/.bashrc
```
Remove the BashCanvas Profile Loading block.
3. Remove the current profile file:
```bash
rm ~/.current_profile
```
4. Source your `.bashrc` to apply changes:
```bash
source ~/.bashrc
```
and open a new terminal to see the changes
## Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
## License
This project is licensed under the GNU General Public License v3.0 - see the [LICENSE](LICENSE) file for details.