Giter Club home page Giter Club logo

fancy-motd's People

Contributors

bcyran avatar brandonsdavis avatar eh8 avatar kminek avatar rhoriguchi avatar wiewaldi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

fancy-motd's Issues

Handle systemd timers

Currently, it only handles services, would be nice to somehow also handle timers.

status=$(systemctl show -p ActiveState --value $key.service);
statuses+=("$(print_status "${services[$key]}" "$status")")

As you can see it shows Duck DNS as down but the timer is up, the issue is that the service is triggered by a timer.

image
image

I'm open to implementing something myself, I'm just not sure what's the best way to handle this.

Module "load" does not load

I cannot understand why the load average module does not show up in my motd while I can see the other modules. I am using the latest raspberry pi os on (of course) a raspberry pi 4B. Is there a way to debug what could be the issue?

disk module error

Cool stuff, i like it. Bit slow on my pi zero but what to expect.
I get this error:
/home/pi/gits/fancy-motd/modules/32-disk: line 17: -1: substring expression < 0
and it wont spit out disk graph. Also added the boot partition and it wont show numbers even.
Also the tmux module prints an error when no tmux is running.

Disk not showing

Hello! This is very cool!
Only issue is that Disk is not showing up . That's missing in the motd.
Any ideas about this?

Disk left label not working with LVM

Hey I noticed that my disk that uses LVM does not show used/free space
Here screenshots of how it looks like:
image
Different terminal and font:
image

It shows some weird questionmark instead

This is the output of:

excluded_types=(
    "devtmpfs"
    "ecryptfs"
    "squashfs"
    "tmpfs"
)

# shellcheck disable=SC2046
disks="$(df -h --local --print-type $(printf " -x %s" "${excluded_types[@]}") | tail -n +2 | sort -u -k 7)"
echo $disks

output:
/dev/mapper/jack--server--vg-root ext4 1.8T 242G 1.5T 14% / /dev/nvme0n1p2 ext2 456M 103M 329M 24% /boot /dev/nvme0n1p1 vfat 511M 5.9M 506M 2% /boot/efi /dev/sda1 ext4 7.3T 3.8T 3.1T 56% /mnt/wd8tb

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.