Giter Club home page Giter Club logo

xfce-hkmon's People

Contributors

lightful 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

Watchers

 avatar  avatar  avatar  avatar

xfce-hkmon's Issues

Vertical/horizontal layouts

Would be good to have options for horizontal or vertical layouts. I find it works really well when added to a blank panel using vertical layout, but would be good to have it added to a horizontal panel that's small (like 32 pixels tall)

CPU times overflows ?

What happens if the vars that stores the Core.user, Core.nice, Core.system etc overflow ? The values are larger than int64 ? I guess you could get some large values on a long running system.
When doing the diff between new_CPU and old_CPU you'll get funny results...
Or even when computing CPU total in Core::cpuTotal().
Or am I missing something ?

What if I want it in KBps?

I love this, it's even better than the applet for cinnamon, but i would prefer it if it could display in Bps instead of bps.
Like, instead of saying it's 8 Mbps, it displays 1 MBps, and so on with Kbps.

Build failes with gcc-Version 5.2.0

g++ -v
Es werden eingebaute Spezifikationen verwendet.
COLLECT_GCC=g++
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-unknown-linux-gnu/5.2.0/lto-wrapper
Ziel: x86_64-unknown-linux-gnu
Konfiguriert mit: /build/gcc-multilib/src/gcc-5.2.0/configure --prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=https://bugs.archlinux.org/ --enable-languages=c,c++,ada,fortran,go,lto,objc,obj-c++ --enable-shared --enable-threads=posix --enable-libmpx --with-system-zlib --with-isl --enable-__cxa_atexit --disable-libunwind-exceptions --enable-clocale=gnu --disable-libstdcxx-pch --disable-libssp --enable-gnu-unique-object --enable-linker-build-id --enable-lto --enable-plugin --enable-install-libiberty --with-linker-hash-style=gnu --enable-gnu-indirect-function --enable-multilib --disable-werror --enable-checking=release --with-default-libstdcxx-abi=gcc4-compatible
Thread-Modell: posix
gcc-Version 5.2.0 (GCC)
make
g++ -c -o xfce-hkmon.o xfce-hkmon.cpp -std=c++0x -O3 -Wall -Wextra -pedantic -march=native
xfce-hkmon.cpp: In Instanziierung von »bool fromString(const string&, T&) [mit T = short int; std::string = std::basic_string<char>]«:
xfce-hkmon.cpp:168:81:   von hier erfordert
xfce-hkmon.cpp:107:108: Fehler: »std::basic_istream<char>::__istream_type {aka std::basic_istream<char>}« kann nicht nach »bool« in Rückgabe umgewandelt werden
 template <typename T> bool fromString(const std::string& from, T& to) { return std::istringstream(from) >> to; }
                                                                                                            ^
Makefile:11: die Regel für Ziel „xfce-hkmon.o“ scheiterte

select network interface via used bandwith

Hi,
as I'm quite often switching between WiFi and Ethernet it would be neat to have a choice for selecting the default network interface between total download (like now) and the overall traffic since last update. I just hacked this part for me and it works for me. Should this be an option or is this something only I need?
If this should be an option, should this be done via and extra option "-b" or something like an extra value "NETBW"?

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.