Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zzampax/catppuccin-cli-color-picker
Simple script that helps to develop applications using the Catppuccin Color Theme by giving a CLI fuzzy finder to copy individual #HEXs to clipboard
https://github.com/zzampax/catppuccin-cli-color-picker
agplv3 bash bash-script catppuccin json unix unix-shell wayland x11
Last synced: 14 days ago
JSON representation
Simple script that helps to develop applications using the Catppuccin Color Theme by giving a CLI fuzzy finder to copy individual #HEXs to clipboard
- Host: GitHub
- URL: https://github.com/zzampax/catppuccin-cli-color-picker
- Owner: zzampax
- License: agpl-3.0
- Created: 2024-08-07T13:04:10.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2024-08-08T15:00:33.000Z (3 months ago)
- Last Synced: 2024-10-31T10:05:10.183Z (14 days ago)
- Topics: agplv3, bash, bash-script, catppuccin, json, unix, unix-shell, wayland, x11
- Language: Shell
- Homepage:
- Size: 19.5 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Catppuccin-CLI-Color-Picker
## Introduction
This is a simple CLI color picker made with Bash that copies the selected color to the clipboard.
It works on most of the Linux distributions (using X11 or Wayland).
The script also runs in TTYs, but it won't copy the color to the clipboard and will only display the color code.
It requires the following tools to work:
- [x] xclip/wl-clipboard
- [x] jq
- [x] fzf
## Install the Dependencies
### Arch Linux
```bash
# For X11 based systems
sudo pacman -Sy xclip jq fzf
# For Wayland based systems
sudo pacman -Sy wl-clipboard jq fzf
```
### Debian/Ubuntu
```bash
# For X11 based systems
sudo apt install xclip jq fzf
# For Wayland based systems
sudo apt install wl-clipboard jq fzf
```
### Fedora
```bash
# For X11 based systems
sudo dnf install xclip jq fzf
# For Wayland based systems
sudo dnf install wl-clipboard jq fzf
```
## Installation
```bash
git clone https://github.com/zzampax/Catppuccin-CLI-Color-Picker.git
cd Catppuccin-CLI-Color-Picker
./install.sh
```
## Usage
```bash
# Follow the process to select a color
ctp
```
## Uninstallation
```bash
rm ~/.local/bin/ctp
rm ~/.local/share/ctp/palette.json
```
## License
This project is licensed under the GNU General Public License v3.0 - see the [LICENSE](LICENSE) file for details.