Giter VIP home page Giter VIP logo

j4status's People

Contributors

sardemff7 avatar stevejones avatar tomsod avatar wentasah 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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

j4status's Issues

Release for packaging

So far I wasn't able to find a release package for j4status, would it be possible for you to provide a release tarball (i.e. a 0.0.1/0.1.0 version)?

It would make it easier to package j4status (for Debian/Ubuntu in my case).

Thanks!

[REQUEST] Merge wip/evp branch on master

Hi!

Thank you for this tool.
I used it previously to replace i3bar completely and use it with eventd to spawn notifications.

Unfortunately it seems that it has been abandoned :(

Any change it can be merged with master?

Appreciate it!

Unable to build on Ubuntu 13.10

Hi, very interested to demo j4status but I'm unable to build and I receive following error:

michael@samsung:~/code$ git clone git://github.com/sardemff7/j4status
Cloning into 'j4status'...
remote: Counting objects: 784, done.
remote: Compressing objects: 100% (405/405), done.
remote: Total 784 (delta 394), reused 767 (delta 377)
Receiving objects: 100% (784/784), 130.99 KiB | 0 bytes/s, done.
Resolving deltas: 100% (394/394), done.
Checking connectivity... done
michael@samsung:~/code$ cd j4status/
michael@samsung:~/code/j4status$ ./autogen.sh 
configure.ac:20: error: possibly undefined macro: AC_DISABLE_STATIC
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
configure.ac:66: error: possibly undefined macro: PKG_INSTALLDIR
autoreconf: /usr/bin/autoconf failed with exit status: 1
michael@samsung:~/code/j4status$ ls -l
total 372
-rw-rw-r-- 1 michael michael  45295 Nov 15 12:25 aclocal.m4
-rwxrwxr-x 1 michael michael     53 Nov 15 12:25 autogen.sh
drwxr-xr-x 2 michael michael   4096 Nov 15 12:25 autom4te.cache
-rwxrwxr-x 1 michael michael 207947 Nov 15 12:25 configure
-rw-rw-r-- 1 michael michael   5159 Nov 15 12:25 configure.ac
-rw-rw-r-- 1 michael michael  35147 Nov 15 12:25 COPYING
drwxrwxr-x 2 michael michael   4096 Nov 15 12:25 include
drwxrwxr-x 2 michael michael   4096 Nov 15 12:25 m4
-rw-rw-r-- 1 michael michael   1648 Nov 15 12:25 Makefile.am
drwxrwxr-x 2 michael michael   4096 Nov 15 12:25 man
drwxrwxr-x 7 michael michael   4096 Nov 15 12:25 src
michael@samsung:~/code/j4status$ ./configure
configure: error: cannot find install-sh, install.sh, or shtool in .aux "."/.aux

Any hints on where to go from here? Thanks

Stops working after going fullscreen and back

After running i3 fullscreen; i3 fullscreen the i3bar says "Error: status_command process exited unexpectedly (exit 0)".

Before this, the process tree looks like this: i3bar -> sh -> j4status. After the second i3 fullscreen, sh exits and j4status is adopted by pid 1. It has probably something to do with i3bar sending SIGSTOP/SIGCONT signal to the child. I figured out a difference between using i3status and j4status. When using i3status and watching the processes with top during fullscreen, both sh and i3status are marked as stopped ("T"), while with j4status it is not the case.

make needs docbook-xsl on Ubuntu

(or maybe docbook-style-xsl on other distris) because else you get make error:

I/O error : Attempt to load network entity http://docbook.sourceforge.net/release/xsl/current/manpages/profile-docbook.xsl
warning: failed to load external entity "http://docbook.sourceforge.net/release/xsl/current/manpages/profile-docbook.xsl"
cannot parse http://docbook.sourceforge.net/release/xsl/current/manpages/profile-docbook.xsl

Feature: Unusual system state detection

So every now and then, I will come across a bug in systemd, or maybe by my own mistakes cause some sort of problem on my system that may be difficult to detect until I require the full resources of the system.

For instance, a script or application may be in an infinite loop without any immediate indication and many times the first way I notice this is by the rising temperature of the room.

So this is a feature request for some feature that will allow me to run some sort of light system diagnosis at some interval and alert me if this test fails. Maybe something as general as running a script and reporting the exit code unless zero will do.

Plugin initialization failure not verbose enough

The plugins with -o flat and with the [plugins] in j4status/config sections doesnt work with git version. time works, upower works, systemd, but nm doesnt work, i3bar doesnt work.

I noticed that if NetworkManager is not running, j4status says not input plugin with no error specified, maybe the others doesnt work because fails finding the program o service.

nm plugin: “Addresses” is ignored

my config:

[NetworkManager]
Interfaces=eenp5s0;wlp1s0;
Addresses=IPv4

yet i get an IPv6:

$ j4status -1i nm
W: 192.168.2.105, fe80::218:deff:fe97:9322 (78% at My_SSID, 54Mb/s)

Compilation fails with clang

Compilation fails on:

src/libnkutils/src/token.c:184:5: error:
non-void function 'nk_token_list_replace' should return a value [-Wreturn-type]
src/libnkutils/src/token.c:185:5: error:
non-void function 'nk_token_list_replace' should return a value [-Wreturn-type]

with:

  • archlinux 3.17.6-1-ARCH
  • clang 3.5 and 3.6
  • autoconf 2.69
  • automake 1.14.1
  • pkg-config 0.28

Compilation works with gcc though, maybe README should mention it as mandatory?

current commit will not build

OS: ArchLinux 64-bit fully patched yesterday.

Fresh checkout, I ran:

./autogen.sh && ./configure && make 

and end up with this (end of configure, plus compile and error)

    j4status 0.1 - 67c260a (master)

    Output plugins:
        Flat: yes
        Debug: yes
        i3bar JSON protocol: yes (Default, disable with --disable-i3bar-input-output)
    Input plugins:
        Time: yes
        File monitor: yes
        NetworkManager: yes (Default, disable with --disable-nm-input)
        UPower: yes (Default, disable with --disable-upower-input)
        libsensors: yes (Default, disable with --disable-sensors-input)
        PULSEAUDIO: yes (Default, disable with --disable-pulseaudio-input)
        MPD: no (Default, enable with --enabled-mpd-input)
        systemd: no (Default, enable with --enabled-systemd-input)
        i3bar JSON protocol: yes (Default, disable with --disable-i3bar-input-output)

    Debug mode: no

make --no-print-directory all-am
  CC       libj4status-plugin/src/libj4status_plugin_la-utils.lo
  CC       libj4status-plugin/src/libj4status_plugin_la-plugin.lo
  CC       libj4status-plugin/src/libj4status_plugin_la-core.lo
  CC       libj4status-plugin/src/libj4status_plugin_la-config.lo
  CC       libj4status-plugin/src/libj4status_plugin_la-section.lo
  CC       src/libnkutils/src/src_libnkutils_libnkutils_la-enum.lo
  CC       src/libnkutils/src/src_libnkutils_libnkutils_la-token.lo
  CC       src/libnkutils/src/src_libnkutils_libnkutils_la-colour.lo
  CCLD     src/libnkutils/libnkutils.la
  CCLD     libj4status-plugin.la
  CC       output/flat/src/flat_la-flat.lo
output/flat/src/flat.c:41:36: fatal error: j4status-plugin-output.h: No such file or directory
 #include <j4status-plugin-output.h>
                                    ^
compilation terminated.
Makefile:1862: recipe for target 'output/flat/src/flat_la-flat.lo' failed
make[1]: *** [output/flat/src/flat_la-flat.lo] Error 1
Makefile:1333: recipe for target 'all' failed
make: *** [all] Error 2

Representation of numeric values as a range of characters

Other similar projects allow to interpolate on a given list to display something.

What i mean is that given e.g. an interpolation list of [" ", "▁", "▂", "▃", "▄", "▅", "▆", "▇", "█"], one can interpolate a numeric value (e.g. between 0 and 100, or 0 and 1) on this list.

This could be used in formatting or for labels (if used for labels, there has to be a concept of a “main number” that can be used for interpolation, e.g. hours÷12 for time, signal strength for wifi, volume, charge, …)

Provide examples for the Override feature

The recently popular emojis are really useful. I’d like to use 🔌 for my system power, 🖰 for my mouse, …

(install ttf-symbola or watch on a mobile device to see what i mean)

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.