Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Rewrite Complete!

Compare
Choose a tag to compare
@dylanaraps dylanaraps released this 03 Jan 08:52
· 5236 commits to master since this release

I finished my rewrite!

Here's what's new:

  • The script is now way faster.
  • You can now pick what gets displayed and where using an array
    at the top of the script. This also allows you to:
    • underline anything
    • print custom info
    • print a custom title
    • add linebreaks
  • Mac OS X support and a base that allows us to add other OS later.
  • You can now specify split size.
  • Fixed issue with 2 line prompts
  • Fixed image not displaying in vte based terminals
  • Move all config options to the top of the script
  • Moved almost everything to a function.
  • Removed wmctrl dependency
  • Made variable names more consistent
  • Added shell substitution for cpu output. This means
    that the cpu output won't include: (tm) (r) "Processor" "CPU"
  • Optimized all get* functions
  • Use variable substitution where possible as it's faster than sed/awk
  • Moved crop and smart_crop to crop_mode
  • Removed --size and --padding in favor of --split_size

Here's what I'm currently working on:

  • Window support (I'm almost done)
  • Option to swap the image and text around
  • Imagemagick optimizations
  • Cleanup of info array handling
  • More info outputs. Now that it's easy to customize what's printed and
    everything is a function we can add optional support for pretty much anything.
    • Resolution
    • GTK themes
    • Terminal Font
    • GPU
    • IP
    • etc

Issues:

  • Uptime doesn't work in OS X yet.
  • If the customizable info includes a third colon then it breaks.

I'd love to hear your thoughts.