Coder Social home page Coder Social logo

ascpixi / rainmeterfreeze Goto Github PK

View Code? Open in Web Editor NEW
22.0 3.0 1.0 61 KB

❄ Saves up CPU by freezing Rainmeter when it's not visible

License: GNU General Public License v2.0

C# 100.00%
customization rainmeter desktop widgets csharp rainmeter-plugin windows

rainmeterfreeze's Introduction

❄ RainmeterFreeze

RainmeterFreeze is a lightweight app that freezes Rainmeter skins when they're not visible to save CPU.

click here to download the latest release!

💻 Setup

In order to run RainmeterFreeze, you'll need .NET Core 3.1 (or higher) - you probably already have it installed, but if you don't, you can get it from here: 64-bit | 32-bit

RainmeterFreeze doesn't require any installation - simply run the .exe file! If you want, you can also move the .exe into your Startup folder so that it starts alongside Rainmeter:

  • Press WIN + R
  • Type in "shell:startup" and press Enter
  • Drag and Drop RainmeterFreeze.exe into the folder
  • You're all set! (/≧▽≦)/

❓ Usage

RainmeterFreeze creates a tray icon that you can right click to configure - you can select from 3 algorithms ("Freeze when...") that dictate when to freeze Rainmeter, and from 2 modes that dictate how Rainmeter will be frozen.

Freeze when... (Algorithms)

  • Not on desktop - if any window is in focus, Rainmeter will be frozen, even if the window itself does not cover the desktop. This can sometimes lead to glitchy behaviours with certain skins.
  • Foreground window is maximized - if the window that is in focus is maximized, Rainmeter will be frozen. This is the default.
  • When in full-screen mode - Rainmeter will only be frozen if the window in focus covers the full area of the screen - for example, games running in full-screen mode.

Mode

  • Suspend - Rainmeter will be suspended using Windows's thread suspend function. This will completely halt Rainmeter and ensure it stays at 0% CPU usage.
  • Low Priority - Rainmeter will be set to have a lower priority than all other running processes.

🐛 Bugs

If you found a bug or want to file a feature request, please feel free to request them in the Issues section! In order for us to help you, we will need a stacktrace - fortunately, that's really easy to find!

  • Press WIN + R
  • Type in "%appdata%/RainmeterFreeze/stacktrace.log"
  • A text file should open containing the stacktrace.

rainmeterfreeze's People

Contributors

ascpixi avatar

Stargazers

 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

rainmeterfreeze's Issues

Rainmeter skin appears above other windows only when using RainmeterFreeze.

These are the logs:
A fatal exception has been thrown and the application cannot continue.

System.InvalidOperationException: Process has exited, so the requested information is not available.
at System.Diagnostics.Process.EnsureState(State state)
at System.Diagnostics.Process.get_Threads()
at RainmeterFreeze.Native.ProcessManagement.SuspendProcess(Int32 pid)

The steps i take are:

  1. click the bottom right corner to show the desktop.
  2. click on my browser and every rainmeter skin shows up above the browser
  3. click 2 times on my browser again for the rainmeter skins to disappear.
    Every time i click its on the taskbar not on some browser app on my desktop.
    Maybe you could add something to select a process that doesnt freeze cuz it bugs out stuff like ValliStart.

more general manner to detect processes to suspend and resume

Is there any way to add support for multiple processes? In the best case there would be something like a configuration file to define them like:

[RainmeterFreeze]
; comma seperated list
process=Rainmeter,HWiNFO64,<anything else you want to suspend>

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.