Comments (10)
Yeah, the issue is that the widget wasn't designed to have multiple instances (an oversight by me rather than any specific limitation). I'll need to submit a fix in the main qtile version first and then do an update in qtile-extras.
That may take a bit of time as I'm really busy at work at the moment.
Sorry for the inconvenience.
from qtile-extras.
Ah, yes. I think I can see the error in the code.
If I submit a patch later today, are you able to test?
Thanks for reporting.
from qtile-extras.
No problem with it ;)
from qtile-extras.
I think #89 should fix this. Can you test and let me know?
from qtile-extras.
Now… it always display under one of the trays, but when i restart qtile and remove __pycaches__
It can change under which monitor it display…
Globalmenu
widget work fine for me, but not StatusNotifier
. And both have quite similiar display_menu
function currently
from qtile-extras.
Are you using separate instances or a Mirror?
from qtile-extras.
Actually, I think I know what the issue is here. It's a bit more complicated. Let me try something hacky first...
EDIT: Hmm. This may be a bigger issue than I thought. May need a larger rewrite of some of the code!
from qtile-extras.
I tried with following widgets in bars:
notifier_defaults = dict(
menu_background=colours[0],
menu_font='FiraCode Nerd Font',
menu_fontsize=font_size,
menu_foreground=colours[7],
opacity=opacity,
separator_colour=colours[8],
highlight_colour=colours[12],
)
notifier = widget.StatusNotifier(**notifier_defaults)
widget_main_list = [
widget.CurrentLayoutIcon(),
widget.GroupBox(**groupbox_defaults),
widget.CurrentScreen(**current_screen_defaults),
prompt,
widget.GlobalMenu(**globmenu_defaults),
widget.TaskList(**tasklist_defaults),
widget.Mpd2(
**decorations,
status_format='{play_status} {artist}/{title}',
play_states={
'pause': '', 'play': '喇', 'stop': 'ﭥ'
},
max_chars=60,
idle_format='{idle_message}'
),
widget.WidgetBox(
widgets=[
widget.CPU(**decorations, format="龍 {load_percent: >4g}%"),
widget.Memory(**decorations, format=" {MemPercent: >4g}%"),
widget.Net(**decorations, format='{down}李{up}'), # notifier,
],
text_closed="",
text_open=""
),
widget.StatusNotifier(**notifier_defaults),
# notifier,
widget.Clock(format='%Y-%m-%d %H:%M', mouse_callbacks={'Button1': display_cal}),
]
widget_2nd_list = [
widget.CurrentLayoutIcon(),
widget.GroupBox(**groupbox_defaults),
widget.CurrentScreen(**current_screen_defaults),
prompt,
widget.GlobalMenu(**globmenu_defaults),
widget.TaskList(**tasklist_defaults),
# widget.WidgetBox(widgets=[widget.StatsNotifier(**notifier_defaults)], text_closed="", text_open=""),
widget.StatusNotifier(**notifier_defaults),
# notifier,
# widget.Systray(),
widget.Clock(format='%Y-%m-%d %a %H:%M')
]
And i was switching between version with notifier
in the code and widget.StatusNotifier(**notifier_defaults),
globalmenu work fine if i have seperate instances, so i mainly was testing with seperate instances for notifier too.
from qtile-extras.
The updated fix in #88 should work once qtile/qtile#3749 is merged.
from qtile-extras.
Thank you very much. I highly appreciate your work ;)
Installed qtile and qtile_extras with corresponding PR and now it's working fine.
from qtile-extras.
Related Issues (20)
- Issues after Visualiser update HOT 18
- PulseVolumeExtra error HOT 8
- wrong install instruction HOT 1
- `GithubNotifications` errors when not connected to internet HOT 3
- Add support for pango markup to `PopupText`
- Colors of the text in the popup of the bluetooth widget not changing HOT 6
- Bar on a second monitor not working if reusing the same list of widgets HOT 13
- Popup size HOT 1
- After an update to 0.25.0 lazy calls stopped working in custom popup windows HOT 4
- Global Menu dynamic menu width HOT 1
- Interactive network widget with NetworkManager HOT 1
- Trouble keeping popups above other windows HOT 2
- Window border decorations crashing on Wayland
- Tooltips not working when added to wallpaper widget HOT 4
- Import Error: StatusNotifier HOT 6
- the ALSAWidget bar keeps showing after hide_interval time HOT 1
- RectDecorations problem HOT 5
- GlobalMenu spams dbus error to qtile logs HOT 3
- StatusNotifier in bar causing widget overlap HOT 23
- StatusNotifier Widget Exception on Shutdown HOT 2
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 qtile-extras.