Comments (11)
@Rougemoot can you try setting focusable="true"
on your window definition?
as in:
<window name="main_window" focusable="true">
...
</window>
That would tell the WM to treat eww more like a normal window, specifically also making it focusable. This may make it possible for you to go with your option 2, making it sticky in the WM config. Note that that is likely to also make eww focusable by the WM, which is something you'd then also need to tell the WM to ignore in some other way
from eww.
focusable, sorry xD Just noticed my mistake
from eww.
Added the focusable
attribute to the docs, among a couple others in 0e97847
from eww.
Unfortunately this doesn't solve the problem. The window still isn't detected by my WM (yabai) so I can't make it sticky.
Two things have changed from adding the selectable
property: a border appeared around the window, and all text becomes grey unless I click on the window, as if to indicate that the window isn't currently focused.
from eww.
i guess the border and focus stuff was to be expected, lol. It's kinda weird that it isn't detected by the WM tho,... do you have any way of seeing what makes the WM ignore it?
from eww.
Nope, I can just ask the WM what it sees, and it just doesn't see it as a proper window
from eww.
not as a proper window (if so, what exactly does that mean? what does it see it as?) or just not at all?
from eww.
Oh yeah sorry it just doesn't see it at all.
from eww.
This might be what we need?
https://wiki.gnome.org/Projects/GTK/OSX
from eww.
@Rougemoot Do you mean the window...
- ...starts in a place, is visible there, and then if you launch a window it gets covered up?
- ...always just keeps getting started behind windows?
Because if it's 1.
, that's what the default behavior is on my window manager as well.
from eww.
- may be a result of xmonad not respecting the window stacking hints, that may or may not be fixed in the gtk4-version, or may require some xmonad shit that i'll need to investigate.
Vermoots issue here is workspaces, eww on macos is currently not "sticky", and cannot be made such as it isn't seen by yabai at all. That, too, may be fixed by gtk4.
from eww.
Related Issues (20)
- How to use combo-box-text widget HOT 7
- [BUG] --screen doesn't work on wayland HOT 2
- Not able to build due to an apparent missing system library, which does exist HOT 1
- [BUG] Tooltip issues with defpoll HOT 1
- [BUG] image-width or image-height properties on .gif image widget doesn't seems to change size HOT 6
- [BUG] @font-face not supported HOT 1
- [FEATURE] Be able to get a signal in another process when eww reloads HOT 1
- [BUG] Once clicked, button triggers from anywhere on the widget HOT 5
- [BUG] Sibling elements have the same dimensions HOT 2
- [FEATURE] Have a max height property HOT 3
- getting error when trying to install eww on fedora 39 HOT 1
- [BUG] Inputs are not working in x11 and openbox
- [BUG] string comparation in :onscroll isn't working HOT 3
- Facing lowercase issue while creating EWW widget HOT 2
- [BUG] Nix Flake wayland output is still broken HOT 10
- [BUG] Revealer gets stuck and doesn't animate properly
- [BUG] jq broken in 5.0.0 HOT 8
- [BUG] rgba is limited from :style in yuck
- [BUG] problem with hyprbars
- How can I move eww windows to the background so they don't appear above other gnome windows? 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 eww.