Code Monkey home page Code Monkey logo

displayz's Introduction

Hi, I'm Michael!

GitHub: michidk Twitter: miichidk Linkedin: michael-lohr Website

Because a Great Idea Is Never Enough

Passionate about software development and design, web technologies, distributed systems, containers, DevOps, and game development.

Currently designing cloud solutions for battery storage systems at STABL Energy GmbH. Also developing various software solutions (focused on web and cloud technologies) for startups and mid-sized businesses with my company Lohr IT.

If you want to get in touch, reach out via LinkedIn and checkout my Website.

Metrics Most used languages Notable contributions

displayz's People

Contributors

michidk 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

Watchers

 avatar  avatar  avatar

displayz's Issues

Working on extending `displayz` to other platforms.

Hi,

I'm working on a Rust, cross-platform (Windows, macOS, Linux/BSD) profile-based display output manager. It's event-based but also can be controlled with JSON-RPC.

displayz looks perfect for Windows, but I found myself duplicating efforts in my usage of this crate.

I thought, maybe, it might be a good idea to work on creating a generic DisplayOutput trait for displayz, that, when combined with the target_os attribute, can provide platform-specific implementations of the display outputs.

To give you an idea of how I picture a DisplayOutput trait, here's some code I wrote, and then realized I was duplicating efforts, for automon:

pub type Resolution = (usize, usize);
pub type Position = (usize, usize);

pub trait DisplayOutput {
    pub fn is_primary(&self) -> bool;
    pub fn is_active(&self) -> bool;
    pub fn get_pos(&self) -> Position;
    pub fn get_res(&self) -> Resolution;
}

I'd really like to work on adding the modern API (but also maintaining backwards-compatibility, if possible) with you, and extending the scope of displayz to macOS, Linux, and BSD.

What do you think?

Have a great weekend! :)

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.