Code Monkey home page Code Monkey logo

monochrome's People

Contributors

ernesto1 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

Watchers

 avatar

monochrome's Issues

Make the layout override an optional feature

The layout override is an advanced feature that should be optional.
The current setup forces the user's implicit knowledge of this feature.

Changes

  • Use a flag to enable this feature: --layout-override 1920
  • The launch script's default should be to launch the conkys using the x/y coordinates configured in their respective files. If a user wants to override this, they should make use of the layout override.
  • Instead of tying the layout file name to a screen resolution, allow the user to specify their own "description" for it, ex. layout.<description>.cfg
  • Ability to exclude a conky from launching from within the override file, ex. on laptop mode the external devices conky is not required

Conky window position changes in multi monitor setup between x11 and wayland

There is no official way to tell the two window compositors (x11 and wayland ) that conky should reside on the primary monitor.

The xinerama_head setting allows you to choose which monitor conky should be displayed on. Unfortunately this setting behaves differently between the two compositors:

  • x11 treats the primary monitor as 0
  • Wayland has no concept of primary monitor. Monitors are listed from left to right starting at 0.

TODO

  • Introduce an optional flag that allows the user to select what monitor they want: 1,2,3
  • Have the launch script detect the window compositor at runtime and do a inline change to the conky files to the corresponding compositor equivalent, ex. under x11 monitor 3 would be 2 not possible to implement given how x11 and wayland treat monitors differently

DNF lookup script not killed upon startup

When the conky setup is restarted, the prior running conky instances are killed as part of the cleanup step.
The prior instance of the bash script dnfPackageLookup.bash is not terminated however. This causes the script to be run again creating duplicating instances.

TODO kill any running instance of the DNF lookup script upon initialization

System iddle computation fails if the desktop is running for longer than one day

The extraction of the 5m load average fails once the system has been running for longer than 24 hours.
The output of uptime changes making our text parsing logic fail.

#                                                              1m    5m    15m
#  within a day     11:46:08 up 3 min,  1 user,  load average: 4.24, 2.49, 1.03
#  after a day:     22:54:03 up 2 days,  2:12,  1 user,  load average: 0.53, 1.16, 1.40

See dnfPackageLookup.bash

use of lua's parse function is corrupting the value of the network speeds

The new lua function to left pad the network up/down speed (commit 30f9e8b) is cutting the actual value by half, ex. if the speed is 1MiB, we get 500kib.

Additionally all native conky calls to the network speed (ex. ${totalup wlp4s0}) get halved as well. Even if they are not being parsed by the lua function. This affects the graph of said network interface as well.

This seems to be a bug with lua itself in the current version of conky I am on: v.1.11.5_pre

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.