Code Monkey home page Code Monkey logo

Comments (7)

jeffshee avatar jeffshee commented on May 28, 2024 9

Hi @sekalengrengginang, thanks for the feature request!

When specific apps like Steam is running the live wallpaper is stop/paused for better performance in-game.

While this is technically possible, Linux does not have a real definition of "app", so it requires further consideration.
The GNOME definition of an app refers to a program that provides a "*.desktop" file that appears in the application menu.
However, some programs do not provide *.desktop. For example, most of the Steam games...

live wallpaper can be disabled/paused when using a fullscreen application

Yep, this feature is planned. 😎
As the first step, a simple toggle that allows users to play/pause the wallpaper will be added to the top bar.
Then we will work on window detection stuff so that it can pause the wallpaper if there is any fullscreen/maximized window.

from gnome-ext-hanabi.

skinatro avatar skinatro commented on May 28, 2024 2

To add to this, maybe the live wallpaper can be disabled/paused when using a fullscreen application (like wallpaper engine provides a toggle to do this), this can maybe save battery life when using this on battery as well.

from gnome-ext-hanabi.

Cherro59 avatar Cherro59 commented on May 28, 2024 1

I made my custom script with python/dbus. Main problem is to know is there any maximized and focused app so I used this to know it( it will be needed if you want to use my script, just install the extension). There is script:
fullscreen.txt

from gnome-ext-hanabi.

3laws avatar 3laws commented on May 28, 2024

However, some programs do not provide *.desktop. For example, most of the Steam games...

This can be circumvented by checking if steam itself is running, as well as wine and lutris. No need to actually check for other apps or games. The new background portal from GNOME may also come in handy for this purpose, as well as implementing it by itself in the project.

from gnome-ext-hanabi.

skinatro avatar skinatro commented on May 28, 2024

The extension [email protected] kicks into enabled mode when an app is full-screen so maybe it can be figured out what they are using for it

from gnome-ext-hanabi.

yucellmustafa avatar yucellmustafa commented on May 28, 2024

I wrote a small control command. I also assigned it to the hotkey. it's working for now.

*xprop must be installed.

if xprop -id $(xprop -root | awk '/_NET_ACTIVE_WINDOW\(WINDOW\)/{print $NF}') | grep -q "_NET_WM_STATE_FULLSCREEN"; then
	/usr/bin/gnome-extensions disable [email protected]
else
	/usr/bin/gnome-extensions enable [email protected]
fi

from gnome-ext-hanabi.

ThomasHineXYZ avatar ThomasHineXYZ commented on May 28, 2024

This feature would also be great for laptop users.

from gnome-ext-hanabi.

Related Issues (20)

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.