All Projects → Daguhh → ConkyLuaMakerGUIv2

Daguhh / ConkyLuaMakerGUIv2

Licence: MIT license
An interactive GUI to generate lua conky

Programming Languages

python
139335 projects - #7 most used programming language
lua
6591 projects

Projects that are alternatives of or similar to ConkyLuaMakerGUIv2

Snake-Game-with-Deep-learning
Developing a neural network to play a snake game
Stars: ✭ 43 (+115%)
Mutual labels:  pygame
Vanilla
frantic1048's grimoire
Stars: ✭ 19 (-5%)
Mutual labels:  conky
raylib-py
A Python binding for the great C library raylib.
Stars: ✭ 147 (+635%)
Mutual labels:  pygame
kana
Single cell analysis in the browser
Stars: ✭ 81 (+305%)
Mutual labels:  interactive-visualizations
Fegaria-Remastered
Similar to my other project Fegaria, but with improved graphics, collisions and terrain generation.
Stars: ✭ 73 (+265%)
Mutual labels:  pygame
conky-for-macOS
macOS port of the Light-weight system monitor for X.
Stars: ✭ 139 (+595%)
Mutual labels:  conky
ECharts.jl
Julia package for the Apache ECharts v4 visualization library
Stars: ✭ 80 (+300%)
Mutual labels:  interactive-visualizations
connect4
🎮 It is a two-player connection game in which the players first choose a color and then take turns dropping one colored disc from the top into a seven-column, six-row vertically suspended grid. The pieces fall straight down, occupying the lowest available space within the column, user wins by forming row of four of same color
Stars: ✭ 18 (-10%)
Mutual labels:  pygame
Pycraft
Pycraft is the OpenGL, open world, video game made entirely with Python. This project is a game to shed some light on OpenGL programming in Python as it is a seldom touched area of Python's vast amount of uses. Feel free to give this project a run, and message us if you have any feedback!
Stars: ✭ 39 (+95%)
Mutual labels:  pygame
Conway-s-Game-of-life---Python
Conways game of life with pygame
Stars: ✭ 26 (+30%)
Mutual labels:  pygame
hax
Zero-config Hacky Hackpecker setup
Stars: ✭ 16 (-20%)
Mutual labels:  conky
plexus
Plexus - Interactive Emotion Visualization based on Social Media
Stars: ✭ 27 (+35%)
Mutual labels:  interactive-visualizations
COVID-Resource-Allocation-Simulator
Agent-based modelling for resource allocation in viral crises to investigate resource allocation and policy interventions with respect to transmission rate.
Stars: ✭ 61 (+205%)
Mutual labels:  pygame
RealTime-DigitRecognition
RealTime DigitRecognition using Convolutional Neural Network(CNN) with keras.
Stars: ✭ 108 (+440%)
Mutual labels:  pygame
ecce
ML Prediction of Bible Topics and Passages (Python / React)
Stars: ✭ 36 (+80%)
Mutual labels:  interactive-visualizations
Wario-Land-3
A remake of the GBC-Game "Wario Land 3" using Pygame for Python
Stars: ✭ 48 (+140%)
Mutual labels:  pygame
DungeonGenerator
Procedural Dungeon Generation with Python and Pygame
Stars: ✭ 57 (+185%)
Mutual labels:  pygame
Project17-C-Map
Map SDK를 활용한 POI Clustering Interaction Dev.
Stars: ✭ 41 (+105%)
Mutual labels:  interactive-visualizations
pygameweb
🎮🕸️ pygame.org website. Python, PostgreSQL, Flask, sqlalchemy, JS.
Stars: ✭ 94 (+370%)
Mutual labels:  pygame
PlaneWars
微信飞机大战 python pygame
Stars: ✭ 22 (+10%)
Mutual labels:  pygame

ConkyLuaMakerGUIv2

Purpose

This is a python interactive interface to create a Lua configuration file for (the amazing) https://github.com/fisadev/conky-draw.

Update

I'm trying to rewrite it for pyqt5 : https://github.com/Daguhh/ConkyLuaMakerPyQT5

Functionnalities :

  1. all conky-draw "shapes" are supported :
    • draw them with a few mouse button hit
    • move them, resize them with mouse, change their properties with entries boxes
    • delete them
  2. generate and reload your configuration file in one button hit
  3. place objects on a resizable magnetic grid (kind of)
  4. easily (re)find your drawings : give them a name, use the dropdown menu or grab them with mouse

Example

Interface :

Generated conky :

How to run it ?

It use python3 and you need to install few requirements :

pip3 install -r requirements.txt

will install :

  • pygame (pygame.draw)
  • pygame-gui

then just run

python3 conky_lua_maker_main.py

developped and tested on debian only

Usage :

1 Create a new object (ring graph, bar graph, text) :
    - hit a button on the left panel
    - programm now wait for an input on the preview area to start drawing
  
      => then, you should see the dropdown list and the properties list update (on the right panel)
         you can repeat the step many times as you want
2.1 Select an object :
       Selecting an object means that : 
             - its name will appear on the dropdown list button
             - its properties will be displayed on the property list panel
             - the delete button will delete it.

       There is 3 ways to select an object :
             - a newly created object is automaticaly selected 
             - on preview panel with left mouse button hit
             - with the dropdown menu (top right of the interface)
2.2 Edit object properties (right panel) :
       to modify a drawing property, you can :
           - change a value in the property list and hit enter
           - grab an object on the preview panel :
                left_ctrl + left mouse button = move
                left_shift + left mouse button = resize
2.3 Other properties and interactions :
      - del button will delete selecteed graph (can't be undone)
      - all drawing have an intrinsic "grid size" value, 
             This value (in pixel) is the size of the "magnetic grid", objects will act as they see a lower resolutions grid (corresponding to the "tiles" you see)
             Objects will stick to their top-left corner.This resolution can be changed with the slider and will be applied to the currently selected object 
             and any new created graph will take as grid.size the slider value a the moment of creation.
             As it is an intrinsic value, next time you select the object, no matter what you've done in between, grid will come back to it's resolution value.
3) Saving and Loading configuration files :
       On the top bar of the interface you get some menu buttons (no a lot yet, I know) :
         - "Generate Lua Conf" button will create the configuration file : 
                "conky_draw_config.lua" needed in fisadev/conky-draw project 
         - "Load" will read this same file and create a preview from it, 
                 that you can continue tu edit it later.
         - "?" will display a little reminder on how the gui works
Notes :

This project purpose is mainly training at python, so, code looks quite ugly, but I'm trying to make it more and more readable. Script don't handle exceptions that much and can be broken quite easily (it's much better now, but still...), try to save your work times to times.

Hope you can create a conf file with not much problems, I've recently change code and dependancy from matplotlib to pygame, code now running better, you can save your work and load it more easily now, so you don't have to restart from the start each time you find a bug. Graphs are also more accurate, and the preview looks more like it will be displayed by conky (still got small placment differences)

Please if you give a try, give me a feedback, I would be pleased (even if you had a bad experience =) ). If you succed to make a nice conky, please send me your conf file so I can put it in example folder If you wanna look at the code, take care! But your welcome =P .

Daguhh

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].