From: Thomas Teixeira Date: Mon, 6 Nov 2023 10:37:25 +0000 (+0100) Subject: feat: credits and licenses X-Git-Url: https://git.ramnitz.eu/?a=commitdiff_plain;h=1bb17f3ffcee620a7985a4bdcaa07a053e4e9ded;p=dabruin.kak feat: credits and licenses --- diff --git a/LICENSES/CC-BY-SA-4.0.txt b/LICENSES/CC-BY-SA-4.0.txt new file mode 100644 index 0000000..2bb775e --- /dev/null +++ b/LICENSES/CC-BY-SA-4.0.txt @@ -0,0 +1 @@ +dabruin.kak logo © 2023 by Thomas Teixeira is licensed under CC BY-SA 4.0. To view a copy of this license, visit http://creativecommons.org/licenses/by-sa/4.0/ diff --git a/LICENSES/ISC.txt b/LICENSES/ISC.txt deleted file mode 100644 index 4921131..0000000 --- a/LICENSES/ISC.txt +++ /dev/null @@ -1,13 +0,0 @@ -Copyright (c) 2015-2020, Ivan Tham - -Permission to use, copy, modify, and/or distribute this software for any -purpose with or without fee is hereby granted, provided that the above -copyright notice and this permission notice appear in all copies. - -THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES -WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF -MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR -ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN -ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF -OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. diff --git a/README.md b/README.md index e69de29..8988e99 100644 --- a/README.md +++ b/README.md @@ -0,0 +1,60 @@ +## dabruin.kak +One color, multiple attributes. +**D**im, **A**ccent, **B**old, **R**everse, **U**nderline, **I**talic, **N**othing. + +![common dab stylized](https://pic.t0.vc/YFCU) + +### installation +Install as any other plugin. More information [here](https://github.com/mawww/kakoune/wiki/Installing-Plugins) + +### palette +Here is *dabruin*'s default palette. +I did not use the terminal palette to avoid non-optimal contrasts and keep sane defaults. + +![default dabruin palette](https://pic.t0.vc/WMNK) + +### customization +If the `dabruin_accent` option exists, **before** calling the colorscheme command, +its value will be used as `dabruin_accent` color. +The following code snippet will load *dabruin* with a bright red as its accent color. +```kak +declare-option str dabruin_accent 'rgb:ff0000' +colorscheme dabruin +``` +Each time you (re-)load *dabruin* theme the `dabruin_accent` option will be read and used. +For example, the following snippet changes the accent to a random value at startup, and +when you run the `dabruin-random-accent` command. +```kak +declare-option str dabruin_accent +define-command -params 0 dabruin-random-accent %{ + set-option global dabruin_accent %sh{ + printf 'rgb:%s' "$(tr -dc 'a-fA-F0-9'