summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* fix argument handling for “dump” subcommandPhilipp Gesang2021-11-111-2/+2
| | | | D’oh!
* add build recipe for binaryPhilipp Gesang2021-11-111-5/+14
|
* fill in manpagePhilipp Gesang2021-11-111-11/+152
|
* add built instructions for manpagePhilipp Gesang2021-11-113-1/+26
|
* avoid hard coding builtin namesPhilipp Gesang2021-11-112-48/+104
|
* add green monochrome theme (phosphor)Philipp Gesang2021-11-101-0/+21
|
* add toggle subcommandPhilipp Gesang2021-11-103-1/+54
|
* update readmePhilipp Gesang2021-11-101-28/+27
|
* bump versionPhilipp Gesang2021-11-101-1/+1
|
* stick to asciiPhilipp Gesang2021-11-101-4/+4
| | | | We can’t count on Unicode in the Linux console.
* implement subcommand get (GIO_CMAP)Philipp Gesang2021-11-101-36/+89
| | | | | Get the currently active color palette using ioctl(GIO_CMAP) and attempt to match it against the builtin schemes.
* adopt a subcommand uiPhilipp Gesang2021-11-101-60/+90
| | | | | | | | Regroup the cli arguments into subcommands: $ vtcol dump $SCHEME $ vtcol list $ vtcol set $SCHEME
* use trait for deriving ColorPhilipp Gesang2021-11-101-34/+36
|
* add GIO_CMAP wrapperPhilipp Gesang2021-11-101-0/+16
| | | | We should be able to get the currently active palette.
* clean up struct PalettePhilipp Gesang2021-11-101-43/+43
|
* turn Palette into newtypePhilipp Gesang2021-11-101-13/+10
|
* rework error handlingPhilipp Gesang2021-11-102-53/+103
| | | | anyhow!() ftw.
* remove interfering --help optionPhilipp Gesang2021-11-101-7/+0
|
* drop unused code from get_console_fd()Philipp Gesang2021-11-101-22/+11
|
* apply some clippy lintsPhilipp Gesang2021-11-101-15/+12
|
* fix overblown numeric handlingPhilipp Gesang2021-11-101-12/+12
| | | | The ergonomics of these changed quite a while back.
* remove redundant lifetimePhilipp Gesang2021-11-101-1/+1
|
* switch from lazy_static to atomicsPhilipp Gesang2021-11-102-8/+4
| | | | Yeah const fn!
* deal with bitrot and archaic idiomsPhilipp Gesang2021-11-101-94/+90
| | | | Mostly adapting to match ergonomics.
* remove gratuitous use of unsafePhilipp Gesang2021-11-101-2/+2
|
* switch from getopts to clapPhilipp Gesang2021-11-102-98/+88
| | | | | In addition to the glaring lack of ergonomics the getopts crate doesn’t even build anymore.
* format with rustfmtPhilipp Gesang2021-11-101-338/+285
|
* add rustfmt settingsPhilipp Gesang2021-11-101-0/+31
|
* use lazy_static instead of raw globalPhilipp Gesang2021-11-102-8/+12
| | | | This crate would have been handy back in the days.
* ignore lockfilePhilipp Gesang2021-11-102-21/+2
| | | | Build artifact doesn’t belong in the repo.
* rework readmePhilipp Gesang2021-11-101-41/+13
|
* switch edition to 2021Philipp Gesang2021-11-091-2/+3
| | | | The future is now!
* Merge pull request #3 from aclemons/masterPhilipp Gesang2017-12-032-1/+2
|\ | | | | Silence warning for missing path for `vtcol` binary
| * Silence warning for missing path for `vtcol` binaryAndrew Clemons2017-10-252-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.2Philipp Gesang2017-01-227-8/+8
|
* Merge pull request #1 from aclemons/fix_buildPhilipp Gesang2017-01-223-30/+33
|\ | | | | Fix building against current rust versions
| * Fix building against current rust versionsAndrew Clemons2017-01-093-30/+33
|/
* vtcol.rs: update for rustc 1.4Philipp Gesang2015-09-151-5/+14
|
* misc: fix menuentry headingPhilipp Gesang2015-05-311-1/+1
|
* misc: add example grub menuentryPhilipp Gesang2015-05-311-0/+47
|
* misc: add example initramfs setupPhilipp Gesang2015-05-315-1/+109
|
* vtcol.rs: reinstate usage messagePhilipp Gesang2015-05-263-3/+7
|
* cargo: silence warnings about non-conformant “keywords” arrayPhilipp Gesang2015-05-091-1/+1
|
* cargo: extend manifestPhilipp Gesang2015-05-091-2/+3
|
* cargo: add Cargo.lock to repoPhilipp Gesang2015-05-092-1/+4
|
* vtcol.rs: enable verbose messages on demandPhilipp Gesang2015-05-081-14/+26
|
* vtcol.rs: read from stdin if passed dash as file or scheme namePhilipp Gesang2015-05-082-6/+13
|
* vtcol.rs: output instructions when reading from stdinPhilipp Gesang2015-05-081-1/+3
|
* vtcol.rs: choose correct type of argument passed to write()Philipp Gesang2015-05-081-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 iterationPhilipp Gesang2015-05-081-24/+28
|