Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/windwp/rofi-color-picker
https://github.com/windwp/rofi-color-picker
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/windwp/rofi-color-picker
- Owner: windwp
- Created: 2020-05-31T01:57:24.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-02-01T02:04:58.000Z (over 3 years ago)
- Last Synced: 2024-06-10T01:35:23.365Z (4 months ago)
- Language: Shell
- Size: 11.7 KB
- Stars: 16
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Color Picker list for Rofi
![preview](https://i.redd.it/av7zez4501251.png)
I generated this Color Picker lists to be used as a quick search/select tool utilizing rofi, xclip and xdotool.
[Material Color Chart](https://htmlcolorcodes.com/color-chart/material-design-color-chart/)
# Requirements
* Obviously you will need [Rofi](https://github.com/DaveDavenport/rofi).
* The actual [Font Awesome](http://fontawesome.io/) font
* A CLI clipboard utility like [xclip](https://github.com/astrand/xclip), [xsel](https://linux.die.net/man/1/xsel) or [pbpaste](https://developer.apple.com/legacy/library/documentation/Darwin/Reference/ManPages/man1/pbpaste.1.html).
* xdotool (or another tool to simulate keyboard input and mouse activity)# Credit
This code is based on rofi fontawesome by [wstam88](https://github.com/wstam88/rofi-fontawesome)
### snippet
g/^\d/delete
%s/\(#.\{6\}\)/\=printf(" Red%d<\/span>",submatch(0) ,line('.')-1,line('.')-1)
%s/$/\=printf('-%-4d', line('.')-1)
```