Comments (6)
I usually find app_id
and title
of opened applications from window swicther, since I'm lazy to use third party apps.
from labwc.
The only thing that shows up in the window switcher is [xdg-shell] [xdg-shell] Picture-in-picture
I tried adding 'Picture-in-picture' but it doesn't work, I don't know if its the wrong window id or it just doesn't work for a picture in picture window
from labwc.
Wlprop is a badly named application, it DOES NOT WORK ON ALL wlroots compositors,
right now, it only works on sway and hyprland, and that's because of IPC.
There is no way to get runtime info of existing windows without modifying the compositor
or running in debug mode and parsing the debug output.
And I'm not sure that it would even be possible to get the info of something like PiP.
Not sure if window rules would even work on it anyway.
from labwc.
Success! I just had to change the identifier to title, well done labwc devs for creating a window manager with proper functionality, instead of just dumping windows either in the centre of the screen or in a cascade fashion, this is the window rule to open picture in picture in the bottom right corner of the screen.
<windowRule title="Picture-in-picture" matchOnce="false">
<skipTaskbar>no</skipTaskbar>
<action name="ResizeTo" width="938" height="540" />
<action name="MoveTo" x="981" y="540" />
<action name="ToggleAlwaysOnTop"/>
</windowRule>
from labwc.
Sweet, glad it works. I was not sure if windowrules would work on something like a PiP, as it's not a normal application window. It's a media window attached to another app (chromium, firefox, etc).
Enjoy
from labwc.
There is for example wlrctl or lswt
from labwc.
Related Issues (20)
- Feature request: Unmaximize
- Feature request: focus/urgency handling for new/activating windows HOT 6
- Do not run dbus-update-activation-environment if dbus implementation is dbus-broker HOT 1
- Various issues with running labwc within a VM since moving to wlroots 0.17 HOT 4
- Inconsistent use of `_` and `-` in filenames HOT 4
- magnifier: improve performance by preventing useless rendering when enabled HOT 1
- Feature Request: Swap all windows from one monitor with the windows from another monitor HOT 1
- show/hide top layer more smartly HOT 5
- SSD: `SetDecorations 'full'` does not work without `forceSSD.action="yes"` HOT 1
- Add XKB_DEFAULT_VARIANT example to docs/environment HOT 1
- Terraria Steam version migrates from primary to secondary display on Alt-Tab HOT 2
- How to fine-tune options for nested usage? HOT 3
- How to force a screen refresh? HOT 4
- Is it possible to customize nested labwc window title? HOT 3
- `forceSSD="no"` not working as expected with pcmanfm-qt in CSD mode
- View matching broken for ForEach action HOT 2
- How to hide the titlebar? HOT 4
- Set squared SSD corners when SSD client is tiled and notified about being tiled HOT 1
- Is it possible to disable the ALT+drag feature? HOT 2
- Is it possible to enable qt6-virtualkeyboard 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 labwc.