Comments (7)
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.
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.
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.
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.
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.
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.
This feature would also be great for laptop users.
from gnome-ext-hanabi.
Related Issues (20)
- Extension manager shows error for Hanabi after reinstall HOT 1
- PipeWire video support
- Video colour is wrong HOT 3
- HELP Wallpaper in black&white + only 1/4 of the screen is used HOT 7
- Rendering issue with PaperWM extensions HOT 1
- [Feature request] change volume via mouse scroll over panel icon
- [Feature Request] Option to ping-pong video at end
- Snap package for a simple clickety click install
- Support for Gnome 46 HOT 1
- Every time the video changes as on the sidebar a new audio controller appears HOT 4
- what do i do? Arch Gnome HOT 1
- Arch Gnome no video working HOT 3
- Can not play videos on Fedora. HOT 3
- Auto Pause on Window Focus or Maximize HOT 2
- Wallpaper only showing in correct resolution when using ./run.sh renderer HOT 3
- Reload Feature
- Background not looping
- [Question] Support for Cinnamon?
- toggle to prioritize intel over nvidia
- Can hear audio, change wallpapers, but can't see anything. Just a black screen. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gnome-ext-hanabi.