master 0.1.0
Daniel Napora 2021-10-09 01:54:24 +02:00
parent 7889bd329d
commit 0926f69e27
2 changed files with 14 additions and 2 deletions

View File

@ -0,0 +1,12 @@
# mbxcolors
A menu to pick, paste and organize colors (palettes)
## Dependencies
- jgmenu
- xdotool
- colorpicker
- xdg-utils
- xclip

View File

@ -1,6 +1,6 @@
#!/usr/bin/env bash
# Copyright (C) Daniel Napora 2021 <napcok@gmail.com>
# Dependencies: jgmenu, colorpicker, xdg-utils, xclip
# Dependencies: jgmenu, xdotool, colorpicker, xdg-utils, xclip
# TODO
ME=$(basename $0)
@ -10,7 +10,7 @@ CNF_FILE="$CNF_DIR/mbxcolors.cfg"
RECENT="$CNF_DIR/recent.clr"
USED="$CNF_DIR/.used"
LASTPAL="$CNF_DIR/.palette"
mkdir -p $CNF_DIR
[ ! -d "$CNF_DIR" ] && mkdir -p "$CNF_DIR" && cp -r /usr/share/mbxcolors/* "$CNF_DIR"/
if [ ! -f $CNF_FILE ]; then
cat <<EOF > ${CNF_FILE}
# Paste mode: hex,rgb or rgba