Comments (18)
OK - so this does seem to be related to the hooks not working for you. Can you run qtile cmd-obj -o cmd -f eval -a hook.subscriptions
and paste the output here.
from qtile-extras.
Sure
(True, "{'qtile': {'setgroup': [<function move_sticky_windows at 0x7fc7e7dc47c0>, " '<bound method _GroupBase._hook_response of ' '<libqtile.widget.groupbox.GroupBox object at 0x7fc7e821fa50>>, <bound method ' '_GroupBase._hook_response of <libqtile.widget.groupbox.GroupBox object at ' '0x7fc7eabf2ed0>>, <bound method _GroupBase._hook_response of ' '<libqtile.widget.groupbox.GroupBox object at 0x7fc7e7dde450>>, <bound method ' '_GroupBase._hook_response of <libqtile.widget.groupbox.GroupBox object at ' '0x7fc7e7e14950>>, <bound method _GroupBase._hook_response of ' '<libqtile.widget.groupbox.GroupBox object at 0x7fc7e7e15350>>, <bound method ' '_GroupBase._hook_response of <libqtile.widget.groupbox.GroupBox object at ' '0x7fc7e7e155d0>>, <bound method _GroupBase._hook_response of ' '<libqtile.widget.groupbox.GroupBox object at 0x7fc7e8ca7550>>, <bound method ' '_GroupBase._hook_response of <libqtile.widget.groupbox.GroupBox object at ' '0x7fc7e7e15110>>, <bound method _GroupBase._hook_response of ' '<libqtile.widget.groupbox.GroupBox object at 0x7fc7e8168250>>, <bound method ' '_GroupBase._hook_response of <libqtile.widget.groupbox.GroupBox object at ' '0x7fc7e7e15410>>, <bound method Bar.set_layer of <libqtile.bar.Bar object at ' '0x7fc7e8ed7b90>>, <bound method Qtile.update_desktops of ' "<libqtile.core.manager.Qtile object at 0x7fc7e8ccba50>>], 'client_killed': " '[<function remove_sticky_windows at 0x7fc7e7dc4860>, <bound method ' 'DGroups._del of <libqtile.dgroups.DGroups object at 0x7fc7e821c490>>, <bound ' 'method _GroupBase._hook_response of <libqtile.widget.groupbox.GroupBox ' 'object at 0x7fc7e821fa50>>, <bound method _GroupBase._hook_response of ' '<libqtile.widget.groupbox.GroupBox object at 0x7fc7eabf2ed0>>, <bound method ' '_GroupBase._hook_response of <libqtile.widget.groupbox.GroupBox object at ' '0x7fc7e7dde450>>, <bound method _GroupBase._hook_response of ' '<libqtile.widget.groupbox.GroupBox object at 0x7fc7e7e14950>>, <bound method ' '_GroupBase._hook_response of <libqtile.widget.groupbox.GroupBox object at ' '0x7fc7e7e15350>>, <bound method _GroupBase._hook_response of ' '<libqtile.widget.groupbox.GroupBox object at 0x7fc7e7e155d0>>, <bound method ' '_GroupBase._hook_response of <libqtile.widget.groupbox.GroupBox object at ' '0x7fc7e8ca7550>>, <bound method _GroupBase._hook_response of ' '<libqtile.widget.groupbox.GroupBox object at 0x7fc7e7e15110>>, <bound method ' '_GroupBase._hook_response of <libqtile.widget.groupbox.GroupBox object at ' '0x7fc7e8168250>>, <bound method _GroupBase._hook_response of ' "<libqtile.widget.groupbox.GroupBox object at 0x7fc7e7e15410>>], 'startup': " "[<function start at 0x7fc7e7dc4900>], 'startup_once': [<function start_once " "at 0x7fc7e7dc49a0>], 'client_new': [<function follow_window at " '0x7fc7e7dc4a40>, <bound method DGroups._add of <libqtile.dgroups.DGroups ' "object at 0x7fc7e821c490>>], 'client_name_updated': [<function " 'follow_window_name at 0x7fc7e7dc4ae0>, <bound method ' 'WindowName.hook_response of <libqtile.widget.windowname.WindowName object at ' "0x7fc7e7ddf910>>], 'addgroup': [<bound method DGroups._addgroup of " "<libqtile.dgroups.DGroups object at 0x7fc7e821c490>>], 'client_managed': " '[<bound method _GroupBase._hook_response of ' '<libqtile.widget.groupbox.GroupBox object at 0x7fc7e821fa50>>, <bound method ' '_GroupBase._hook_response of <libqtile.widget.groupbox.GroupBox object at ' '0x7fc7eabf2ed0>>, <bound method _GroupBase._hook_response of ' '<libqtile.widget.groupbox.GroupBox object at 0x7fc7e7dde450>>, <bound method ' '_GroupBase._hook_response of <libqtile.widget.groupbox.GroupBox object at ' '0x7fc7e7e14950>>, <bound method _GroupBase._hook_response of ' '<libqtile.widget.groupbox.GroupBox object at 0x7fc7e7e15350>>, <bound method ' '_GroupBase._hook_response of <libqtile.widget.groupbox.GroupBox object at ' '0x7fc7e7e155d0>>, <bound method _GroupBase._hook_response of ' '<libqtile.widget.groupbox.GroupBox object at 0x7fc7e8ca7550>>, <bound method ' '_GroupBase._hook_response of <libqtile.widget.groupbox.GroupBox object at ' '0x7fc7e7e15110>>, <bound method _GroupBase._hook_response of ' '<libqtile.widget.groupbox.GroupBox object at 0x7fc7e8168250>>, <bound method ' '_GroupBase._hook_response of <libqtile.widget.groupbox.GroupBox object at ' "0x7fc7e7e15410>>], 'client_urgent_hint_changed': [<bound method " '_GroupBase._hook_response of <libqtile.widget.groupbox.GroupBox object at ' '0x7fc7e821fa50>>, <bound method _GroupBase._hook_response of ' '<libqtile.widget.groupbox.GroupBox object at 0x7fc7eabf2ed0>>, <bound method ' '_GroupBase._hook_response of <libqtile.widget.groupbox.GroupBox object at ' '0x7fc7e7dde450>>, <bound method _GroupBase._hook_response of ' '<libqtile.widget.groupbox.GroupBox object at 0x7fc7e7e14950>>, <bound method ' '_GroupBase._hook_response of <libqtile.widget.groupbox.GroupBox object at ' '0x7fc7e7e15350>>, <bound method _GroupBase._hook_response of ' '<libqtile.widget.groupbox.GroupBox object at 0x7fc7e7e155d0>>, <bound method ' '_GroupBase._hook_response of <libqtile.widget.groupbox.GroupBox object at ' '0x7fc7e8ca7550>>, <bound method _GroupBase._hook_response of ' '<libqtile.widget.groupbox.GroupBox object at 0x7fc7e7e15110>>, <bound method ' '_GroupBase._hook_response of <libqtile.widget.groupbox.GroupBox object at ' '0x7fc7e8168250>>, <bound method _GroupBase._hook_response of ' '<libqtile.widget.groupbox.GroupBox object at 0x7fc7e7e15410>>], ' "'group_window_add': [<bound method _GroupBase._hook_response of " '<libqtile.widget.groupbox.GroupBox object at 0x7fc7e821fa50>>, <bound method ' '_GroupBase._hook_response of <libqtile.widget.groupbox.GroupBox object at ' '0x7fc7eabf2ed0>>, <bound method _GroupBase._hook_response of ' '<libqtile.widget.groupbox.GroupBox object at 0x7fc7e7dde450>>, <bound method ' '_GroupBase._hook_response of <libqtile.widget.groupbox.GroupBox object at ' '0x7fc7e7e14950>>, <bound method _GroupBase._hook_response of ' '<libqtile.widget.groupbox.GroupBox object at 0x7fc7e7e15350>>, <bound method ' '_GroupBase._hook_response of <libqtile.widget.groupbox.GroupBox object at ' '0x7fc7e7e155d0>>, <bound method _GroupBase._hook_response of ' '<libqtile.widget.groupbox.GroupBox object at 0x7fc7e8ca7550>>, <bound method ' '_GroupBase._hook_response of <libqtile.widget.groupbox.GroupBox object at ' '0x7fc7e7e15110>>, <bound method _GroupBase._hook_response of ' '<libqtile.widget.groupbox.GroupBox object at 0x7fc7e8168250>>, <bound method ' '_GroupBase._hook_response of <libqtile.widget.groupbox.GroupBox object at ' "0x7fc7e7e15410>>], 'current_screen_change': [<bound method " '_GroupBase._hook_response of <libqtile.widget.groupbox.GroupBox object at ' '0x7fc7e821fa50>>, <bound method _GroupBase._hook_response of ' '<libqtile.widget.groupbox.GroupBox object at 0x7fc7eabf2ed0>>, <bound method ' '_GroupBase._hook_response of <libqtile.widget.groupbox.GroupBox object at ' '0x7fc7e7dde450>>, <bound method _GroupBase._hook_response of ' '<libqtile.widget.groupbox.GroupBox object at 0x7fc7e7e14950>>, <bound method ' '_GroupBase._hook_response of <libqtile.widget.groupbox.GroupBox object at ' '0x7fc7e7e15350>>, <bound method _GroupBase._hook_response of ' '<libqtile.widget.groupbox.GroupBox object at 0x7fc7e7e155d0>>, <bound method ' '_GroupBase._hook_response of <libqtile.widget.groupbox.GroupBox object at ' '0x7fc7e8ca7550>>, <bound method _GroupBase._hook_response of ' '<libqtile.widget.groupbox.GroupBox object at 0x7fc7e7e15110>>, <bound method ' '_GroupBase._hook_response of <libqtile.widget.groupbox.GroupBox object at ' '0x7fc7e8168250>>, <bound method _GroupBase._hook_response of ' '<libqtile.widget.groupbox.GroupBox object at 0x7fc7e7e15410>>, <bound method ' 'WindowName.hook_response_current_screen of ' '<libqtile.widget.windowname.WindowName object at 0x7fc7e7ddf910>>], ' "'changegroup': [<bound method _GroupBase._hook_response of " '<libqtile.widget.groupbox.GroupBox object at 0x7fc7e821fa50>>, <bound method ' '_GroupBase._hook_response of <libqtile.widget.groupbox.GroupBox object at ' '0x7fc7eabf2ed0>>, <bound method _GroupBase._hook_response of ' '<libqtile.widget.groupbox.GroupBox object at 0x7fc7e7dde450>>, <bound method ' '_GroupBase._hook_response of <libqtile.widget.groupbox.GroupBox object at ' '0x7fc7e7e14950>>, <bound method _GroupBase._hook_response of ' '<libqtile.widget.groupbox.GroupBox object at 0x7fc7e7e15350>>, <bound method ' '_GroupBase._hook_response of <libqtile.widget.groupbox.GroupBox object at ' '0x7fc7e7e155d0>>, <bound method _GroupBase._hook_response of ' '<libqtile.widget.groupbox.GroupBox object at 0x7fc7e8ca7550>>, <bound method ' '_GroupBase._hook_response of <libqtile.widget.groupbox.GroupBox object at ' '0x7fc7e7e15110>>, <bound method _GroupBase._hook_response of ' '<libqtile.widget.groupbox.GroupBox object at 0x7fc7e8168250>>, <bound method ' '_GroupBase._hook_response of <libqtile.widget.groupbox.GroupBox object at ' "0x7fc7e7e15410>>], 'layout_change': [<bound method " 'CurrentLayoutIcon.hook_response of ' '<qtile_extras.widget.currentlayout.CurrentLayoutIcon object at ' "0x7fc7e7e16790>>], 'focus_change': [<bound method WindowName.hook_response " 'of <libqtile.widget.windowname.WindowName object at 0x7fc7e7ddf910>>], ' "'float_change': [<bound method WindowName.hook_response of " '<libqtile.widget.windowname.WindowName object at 0x7fc7e7ddf910>>], ' "'client_focus': [<function Prompt._configure.<locals>.f at 0x7fc7e7b2a840>], " "'startup_complete': [<bound method Bar.set_layer of <libqtile.bar.Bar object " "at 0x7fc7e8ed7b90>>], 'screen_change': [<bound method " 'Qtile.reconfigure_screens of <libqtile.core.manager.Qtile object at ' "0x7fc7e8ccba50>>]}, 'qtile-extras': {}}")
from qtile-extras.
Bizarre. I can see the qtile-extras
key there! What do you get if you do qtile cmd-obj -o cmd -f eval -a hook.subscriptions['qtile-extras']
.
Separately, that's a lot of hooks caused by the groupbox widget. Feels like something's gone wrong there unless you've got loads of groupboxes!
from qtile-extras.
All i get from qtile cmd-obj -o cmd -f eval -a hook.subscriptions['qtile-extras']
is
zsh: no matches found: hook.subscriptions[qtile-extras]
I must comment this is the fresh install i was talking about so everthing is new.
And yeah I'm testing a multicolor groups in the bar, for now i have just created 10 different groupboxes so that's on me. xD
Edit. Is there a way to set the background or other property to groupboxes separatedly?
from qtile-extras.
That's just your shell not parsing the command correctly. Try cmd-obj -o cmd -f eval -a "hook.subscriptions['qtile-extras']"
As for your second question, do you mean different background per group? If so, no, not possible with the current widget.
from qtile-extras.
I get
(False, "KeyError: 'qtile-extras'")
from qtile-extras.
What!? It was listed in your previous post. There's something very weird thing going on (the hooks work for me) or I'm missing something obvious.
from qtile-extras.
This is with just one groupbox
`~
qtile cmd-obj -o cmd -f eval -a hook.subscriptions
(True,
"{'qtile': {'setgroup': [<function move_sticky_windows at 0x7fc7e5024900>, "
'<bound method _GroupBase._hook_response of '
'<libqtile.widget.groupbox.GroupBox object at 0x7fc7e6567150>>, <bound method '
'Bar.set_layer of <libqtile.bar.Bar object at 0x7fc7e65852d0>>, <bound method '
'Qtile.update_desktops of <libqtile.core.manager.Qtile object at '
"0x7fc7e8ccba50>>], 'client_killed': [<function remove_sticky_windows at "
'0x7fc7e5025ee0>, <bound method DGroups._del of <libqtile.dgroups.DGroups '
'object at 0x7fc7e6524cd0>>, <bound method _GroupBase._hook_response of '
'<libqtile.widget.groupbox.GroupBox object at 0x7fc7e6567150>>, <bound method '
"ScratchPad.on_client_killed of <group.Group ('scratchpad')>>], 'startup': "
"[<function start at 0x7fc7e50254e0>], 'startup_once': [<function start_once "
"at 0x7fc7e5024c20>], 'client_new': [<function follow_window at "
'0x7fc7e5025a80>, <bound method DGroups._add of <libqtile.dgroups.DGroups '
"object at 0x7fc7e6524cd0>>], 'client_name_updated': [<function "
'follow_window_name at 0x7fc7e5027c40>, <bound method '
'WindowName.hook_response of <libqtile.widget.windowname.WindowName object at '
"0x7fc7e6567ed0>>], 'addgroup': [<bound method DGroups._addgroup of "
"<libqtile.dgroups.DGroups object at 0x7fc7e6524cd0>>], 'client_managed': "
'[<bound method _GroupBase._hook_response of '
'<libqtile.widget.groupbox.GroupBox object at 0x7fc7e6567150>>], '
"'client_urgent_hint_changed': [<bound method _GroupBase._hook_response of "
'<libqtile.widget.groupbox.GroupBox object at 0x7fc7e6567150>>], '
"'group_window_add': [<bound method _GroupBase._hook_response of "
'<libqtile.widget.groupbox.GroupBox object at 0x7fc7e6567150>>], '
"'current_screen_change': [<bound method _GroupBase._hook_response of "
'<libqtile.widget.groupbox.GroupBox object at 0x7fc7e6567150>>, <bound method '
'WindowName.hook_response_current_screen of '
'<libqtile.widget.windowname.WindowName object at 0x7fc7e6567ed0>>], '
"'changegroup': [<bound method _GroupBase._hook_response of "
'<libqtile.widget.groupbox.GroupBox object at 0x7fc7e6567150>>], '
"'focus_change': [<bound method WindowName.hook_response of "
'<libqtile.widget.windowname.WindowName object at 0x7fc7e6567ed0>>], '
"'float_change': [<bound method WindowName.hook_response of "
'<libqtile.widget.windowname.WindowName object at 0x7fc7e6567ed0>>, <bound '
"method ScratchPad.on_float_change of <group.Group ('scratchpad')>>], "
"'client_focus': [<function Prompt._configure..f at 0x7fc7e7b28ea0>], "
"'startup_complete': [<bound method Bar.set_layer of <libqtile.bar.Bar object "
"at 0x7fc7e65852d0>>], 'screen_change': [<bound method "
'Qtile.reconfigure_screens of <libqtile.core.manager.Qtile object at '
'0x7fc7e8ccba50>>]}}')
~
qtile cmd-obj -o cmd -f eval -a "hook.subscriptions['qtile-extras']"
(False, "KeyError: 'qtile-extras'")`
from qtile-extras.
Yes. Key is definitely missing that time. Are you restarting qtile or reloading the config? It shouldn't make a difference but it's an idea.
from qtile-extras.
Yeah, i reload the config continously
**Update
I restarted Qtile and the hooks work!, i get te music names and the battery info, but if i reaload the config, then i loose it.
from qtile-extras.
Ok. Let me see if I can recreate.
Can you restart qtile and see if the key is there?
from qtile-extras.
When i restart Qtile it works, but if i reload the config it doesn't work again
The key gets missing in the config.reload
`qtile cmd-obj -o cmd -f eval -a "hook.subscriptions['qtile-extras']"
(True, '{}')
qtile cmd-obj -o cmd -f eval -a "hook.subscriptions['qtile-extras']"
(False, "KeyError: 'qtile-extras'")`
from qtile-extras.
Great. So we've found the bug. Now to find a solution.
from qtile-extras.
OK - I've found the problem. Will work on a fix which will need to be pushed to qtile rather than qtile-extras.
from qtile-extras.
Awesome, thanks man
from qtile-extras.
If possible, can you test qtile/qtile#4579
from qtile-extras.
It works now! awesome, thanks man!
from qtile-extras.
Nice. Thanks for confirming. I'll get someone to review the PR in qtile so we can get it merged.
from qtile-extras.
Related Issues (20)
- Install Error HOT 4
- PulseWidgetExtra behaving weirdly HOT 2
- Can't use keyboard to close popups if the current group has applications HOT 4
- [BUG] Decoration not working with Qtile 0.23 HOT 4
- Struggling to install HOT 15
- RectDecoration stopped working HOT 9
- 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
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.