Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | fill in manpage | Philipp Gesang | 2021-11-11 | 1 | -11/+152 |
| | |||||
* | add built instructions for manpage | Philipp Gesang | 2021-11-11 | 3 | -1/+26 |
| | |||||
* | avoid hard coding builtin names | Philipp Gesang | 2021-11-11 | 2 | -48/+104 |
| | |||||
* | add green monochrome theme (phosphor) | Philipp Gesang | 2021-11-10 | 1 | -0/+21 |
| | |||||
* | add toggle subcommand | Philipp Gesang | 2021-11-10 | 3 | -1/+54 |
| | |||||
* | update readme | Philipp Gesang | 2021-11-10 | 1 | -28/+27 |
| | |||||
* | bump version | Philipp Gesang | 2021-11-10 | 1 | -1/+1 |
| | |||||
* | stick to ascii | Philipp Gesang | 2021-11-10 | 1 | -4/+4 |
| | | | | We can’t count on Unicode in the Linux console. | ||||
* | implement subcommand get (GIO_CMAP) | Philipp Gesang | 2021-11-10 | 1 | -36/+89 |
| | | | | | Get the currently active color palette using ioctl(GIO_CMAP) and attempt to match it against the builtin schemes. | ||||
* | adopt a subcommand ui | Philipp Gesang | 2021-11-10 | 1 | -60/+90 |
| | | | | | | | | Regroup the cli arguments into subcommands: $ vtcol dump $SCHEME $ vtcol list $ vtcol set $SCHEME | ||||
* | use trait for deriving Color | Philipp Gesang | 2021-11-10 | 1 | -34/+36 |
| | |||||
* | add GIO_CMAP wrapper | Philipp Gesang | 2021-11-10 | 1 | -0/+16 |
| | | | | We should be able to get the currently active palette. | ||||
* | clean up struct Palette | Philipp Gesang | 2021-11-10 | 1 | -43/+43 |
| | |||||
* | turn Palette into newtype | Philipp Gesang | 2021-11-10 | 1 | -13/+10 |
| | |||||
* | rework error handling | Philipp Gesang | 2021-11-10 | 2 | -53/+103 |
| | | | | anyhow!() ftw. | ||||
* | remove interfering --help option | Philipp Gesang | 2021-11-10 | 1 | -7/+0 |
| | |||||
* | drop unused code from get_console_fd() | Philipp Gesang | 2021-11-10 | 1 | -22/+11 |
| | |||||
* | apply some clippy lints | Philipp Gesang | 2021-11-10 | 1 | -15/+12 |
| | |||||
* | fix overblown numeric handling | Philipp Gesang | 2021-11-10 | 1 | -12/+12 |
| | | | | The ergonomics of these changed quite a while back. | ||||
* | remove redundant lifetime | Philipp Gesang | 2021-11-10 | 1 | -1/+1 |
| | |||||
* | switch from lazy_static to atomics | Philipp Gesang | 2021-11-10 | 2 | -8/+4 |
| | | | | Yeah const fn! | ||||
* | deal with bitrot and archaic idioms | Philipp Gesang | 2021-11-10 | 1 | -94/+90 |
| | | | | Mostly adapting to match ergonomics. | ||||
* | remove gratuitous use of unsafe | Philipp Gesang | 2021-11-10 | 1 | -2/+2 |
| | |||||
* | switch from getopts to clap | Philipp Gesang | 2021-11-10 | 2 | -98/+88 |
| | | | | | In addition to the glaring lack of ergonomics the getopts crate doesn’t even build anymore. | ||||
* | format with rustfmt | Philipp Gesang | 2021-11-10 | 1 | -338/+285 |
| | |||||
* | add rustfmt settings | Philipp Gesang | 2021-11-10 | 1 | -0/+31 |
| | |||||
* | use lazy_static instead of raw global | Philipp Gesang | 2021-11-10 | 2 | -8/+12 |
| | | | | This crate would have been handy back in the days. | ||||
* | ignore lockfile | Philipp Gesang | 2021-11-10 | 2 | -21/+2 |
| | | | | Build artifact doesn’t belong in the repo. | ||||
* | rework readme | Philipp Gesang | 2021-11-10 | 1 | -41/+13 |
| | |||||
* | switch edition to 2021 | Philipp Gesang | 2021-11-09 | 1 | -2/+3 |
| | | | | The future is now! | ||||
* | Merge pull request #3 from aclemons/master | Philipp Gesang | 2017-12-03 | 2 | -1/+2 |
|\ | | | | | Silence warning for missing path for `vtcol` binary | ||||
| * | Silence warning for missing path for `vtcol` binary | Andrew Clemons | 2017-10-25 | 2 | -1/+2 |
|/ | | | | | vtcol.rs should probably be main.rs, but explicitly setting the non-standard path also silences the warning. (src/bin would also work) | ||||
* | *: bump version and yearv0.42.2 | Philipp Gesang | 2017-01-22 | 7 | -8/+8 |
| | |||||
* | Merge pull request #1 from aclemons/fix_build | Philipp Gesang | 2017-01-22 | 3 | -30/+33 |
|\ | | | | | Fix building against current rust versions | ||||
| * | Fix building against current rust versions | Andrew Clemons | 2017-01-09 | 3 | -30/+33 |
|/ | |||||
* | vtcol.rs: update for rustc 1.4 | Philipp Gesang | 2015-09-15 | 1 | -5/+14 |
| | |||||
* | misc: fix menuentry heading | Philipp Gesang | 2015-05-31 | 1 | -1/+1 |
| | |||||
* | misc: add example grub menuentry | Philipp Gesang | 2015-05-31 | 1 | -0/+47 |
| | |||||
* | misc: add example initramfs setup | Philipp Gesang | 2015-05-31 | 5 | -1/+109 |
| | |||||
* | vtcol.rs: reinstate usage message | Philipp Gesang | 2015-05-26 | 3 | -3/+7 |
| | |||||
* | cargo: silence warnings about non-conformant “keywords” array | Philipp Gesang | 2015-05-09 | 1 | -1/+1 |
| | |||||
* | cargo: extend manifest | Philipp Gesang | 2015-05-09 | 1 | -2/+3 |
| | |||||
* | cargo: add Cargo.lock to repo | Philipp Gesang | 2015-05-09 | 2 | -1/+4 |
| | |||||
* | vtcol.rs: enable verbose messages on demand | Philipp Gesang | 2015-05-08 | 1 | -14/+26 |
| | |||||
* | vtcol.rs: read from stdin if passed dash as file or scheme name | Philipp Gesang | 2015-05-08 | 2 | -6/+13 |
| | |||||
* | vtcol.rs: output instructions when reading from stdin | Philipp Gesang | 2015-05-08 | 1 | -1/+3 |
| | |||||
* | vtcol.rs: choose correct type of argument passed to write() | Philipp Gesang | 2015-05-08 | 1 | -1/+1 |
| | | | | | | | D’oh! Thanks to /u/DroidLogician for the pointer: http://www.reddit.com/r/rust/comments/3588d4/suggestions_for_handling_architecturedependent/cr22okf | ||||
* | vtcol.rs: adapt line-wise iteration | Philipp Gesang | 2015-05-08 | 1 | -24/+28 |
| | |||||
* | readme: update links | Philipp Gesang | 2015-05-07 | 1 | -12/+16 |
| | |||||
* | vtcol.rs: optionally read scheme from string | Philipp Gesang | 2015-05-07 | 1 | -12/+41 |
| |