Giter Club home page Giter Club logo

oledshift's Introduction

OLEDShift

Rust Cargo build GitHub all releases

A small system tray utility that moves around the windows on your screen. It's useful for OLED screens, where you want to move around the windows often to prevent burn-in and extend the lifespan of the display.

One of the main ideas behind this program is to be as minimal as possible and to use as little resources as possible so that it can run in the background with minimal impact on the system. It uses less than 2MB of RAM on my system, launch time is nearly instant.

The Win32 API is used to move the windows and Native Windows GUI (NWG) is used for the GUI as a Rust wrapper around the GUI part of the Win32 API.

Usage

GitHub Releases [Recommended]

You can download the latest release from GitHub Releases.
This is the preferred method.

GitHub Actions

The program is built automatically on every push and the executables are uploaded as artifacts, these builds are not guaranteed to be stable or functional, they expire after 90 days, and you might need to be logged in to GitHub to download them.

If you're struggling to find the artifacts here on GitHub, you can download the latest build of the main branch from nightly.link for x86_64 here and for ARM64 here.

One can also fork the repository and run the workflow manually to build the program. None of these options require you to have anything installed on your machine.

Building from source locally

You can build the program from source by running the following command on a Windows machine:

cargo build --release --target x86_64-pc-windows-msvc

or for ARM64:

cargo build --release --target aarch64-pc-windows-msvc

If everything goes well, the executable will be located in the target/release directory.

Prerequisites

  • Rust 1.7.0 or later
  • Windows 11 SDK
  • MSVC toolchain

Follow the Rust installation guide to install the prerequisites.

Known issues

Limitations

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.