Comments (2)
Have you tried to remove
all: unset;
at the top of the default SCSS file?* { all:unset; }
Removing it will revert back to the default GTK style from your theme (unless you already styled the systray menus). It's not exactly what you are asking for, but better than nothing.
If you wish to style it yourself, I wrote about my attempt to style it with radio buttons, check boxes and sub-menu arrows visible, please refer to my comment here #1067 (comment)
Yes, I've tried without that unset. (I never had one to begin with.)
I don't think the Telegram menu is GTK though? It's a custom menu drawn by Telegram, surely? Did you take a look at the video clips?
I see you wrote it's not really what I'm asking for. No, it isn't. 😅 I really wish it would let the apps decide on their menus. 👍
from eww.
Checklist before submitting an issue
- I have searched through the existing closed and open issues for eww and made sure this is not a duplicate
- I have specifically verified that this bug is not a common user error
- I am providing as much relevant information as I am able to in this bug report (Minimal config to reproduce the issue for example, if applicable)
Description of the bug
The systray widget seems to draw its own menus, whereas I would like it to let the program draw its own menus instead, if that makes sense. I'm not sure how it all works, but I have a couple of video clips I can show to demonstrate.
Apologies if this should be a feature request instead(?). Let me know if so and I'll do my best to convert it to one.
Reproducing the issue
Use the systray widget somewhere, and right-click an icon to bring up their menu. Preferably some program that renders a custom menu, e.g. Telegram Desktop.
Here's a video clip to show what it looks like with eww's systray widget.
eww_systray.mp4
Expected behaviour
Here's a video of
stalonetray
, and I am right-clicking the Telegram icon to bring up its menu -- seemingly a custom menu rendered by Telegram itself, rather than stalonetray.stalonetray.mp4
Additional context
Anyway, I'm super stoked to have this functionality in eww! This is just great! 🙂 👏
Have you tried to remove all: unset;
at the top of the default SCSS file?
* {
all:unset;
}
Removing it will revert back to the default GTK style from your theme (unless you already styled the systray menus). It's not exactly what you are asking for, but better than nothing.
If you wish to style it yourself, I wrote about my attempt to style it with radio buttons, check boxes and sub-menu arrows visible, please refer to my comment here #1067 (comment)
from eww.
Related Issues (20)
- [BUG] Wrong time in eww HOT 6
- [BUG] Show-truncated in labels and buttons HOT 3
- [BUG] Expander widget does not expand if name is specified
- [BUG] Eww uses monitor model instead of a serial HOT 4
- [BUG] Calendar auto returns to current date when changing month or year
- [BUG] Cargo.lock version is incorrect in latest release HOT 1
- lto build HOT 2
- [FEATURE] allow partially exclusive HOT 1
- [BUG] Failed to initialize eww paths, Caused by Permission denied HOT 1
- [FEATURE] Add systray class when it is empty HOT 3
- [FEATURE] Resize bars when running
- [BUG] scss color property not updating when switching to desktop
- [FEATURE] request add anchor in rotate transform widget.
- [BUG] Can not use variable as defwindow arguments
- [BUG] Border transparency doesn't work properly if a background color is set
- [BUG] Slide animations don't work HOT 5
- Is it possible to recursively render an eww bar on the list of connected monitors?
- defwindow width 100% dont work when using scale factor on wayland monitors HOT 2
- [BUG] Transparent background styling is not applied for Cosmic compositor
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.