parent
7889bd329d
commit
0926f69e27
12
README.md
12
README.md
|
@ -0,0 +1,12 @@
|
||||||
|
# mbxcolors
|
||||||
|
|
||||||
|
A menu to pick, paste and organize colors (palettes)
|
||||||
|
|
||||||
|
## Dependencies
|
||||||
|
|
||||||
|
- jgmenu
|
||||||
|
- xdotool
|
||||||
|
- colorpicker
|
||||||
|
- xdg-utils
|
||||||
|
- xclip
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
# Copyright (C) Daniel Napora 2021 <napcok@gmail.com>
|
# Copyright (C) Daniel Napora 2021 <napcok@gmail.com>
|
||||||
# Dependencies: jgmenu, colorpicker, xdg-utils, xclip
|
# Dependencies: jgmenu, xdotool, colorpicker, xdg-utils, xclip
|
||||||
# TODO
|
# TODO
|
||||||
|
|
||||||
ME=$(basename $0)
|
ME=$(basename $0)
|
||||||
|
@ -10,7 +10,7 @@ CNF_FILE="$CNF_DIR/mbxcolors.cfg"
|
||||||
RECENT="$CNF_DIR/recent.clr"
|
RECENT="$CNF_DIR/recent.clr"
|
||||||
USED="$CNF_DIR/.used"
|
USED="$CNF_DIR/.used"
|
||||||
LASTPAL="$CNF_DIR/.palette"
|
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
|
if [ ! -f $CNF_FILE ]; then
|
||||||
cat <<EOF > ${CNF_FILE}
|
cat <<EOF > ${CNF_FILE}
|
||||||
# Paste mode: hex,rgb or rgba
|
# Paste mode: hex,rgb or rgba
|
||||||
|
|
Loading…
Reference in New Issue