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)
- Plan for release `0.8.0` HOT 3
- Handling displays with overscan? HOT 2
- Build Failure on Gentoo due to wlroots versions HOT 4
- Feature Request: Add config in NixOS Home-Manager HOT 2
- Mouse action not working on client when context Set to None HOT 5
- Disabling root menu HOT 1
- Hotplug event and output restore functionality doesn't seem to restore output's scale on Kanshi event HOT 2
- `zwlr_foreign_toplevel_handle_v1::output_enter` is not sent when xwayland surface is re-mapped HOT 2
- lab_wlr_scene_output_commit should update after wltoots 0.18 update HOT 2
- magnifier: Scale geometry of magnifier with output scale HOT 1
- magnifier: Repaint check for cursor position should be checked against cursor + half magnifier width HOT 1
- New labwc release: 0.8.0
- Wezterm's window cannot be resized in upper-left direction with `<resize drawContents="no">` HOT 3
- Exclusive zone not respected if lxqt-panel is less than 100% and not centered HOT 5
- latest commits on master break gtk2 applications conky but gtk3 still work HOT 20
- Change "FocusOuput" to be more in-line with "MoveToOutput" HOT 1
- `[../src/ssd/ssd.c:239] view width is smaller than its minimal value` when resizing `foot` window to minimal size HOT 1
- desk*.xbm (omnipresent) buttons cannot be styled/colorized HOT 5
- RFC: nomenclature for "Omnipresent" button and its theming HOT 3
- document new ssd buttons HOT 5
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.