profile
viewpoint
If you are wondering where the data of this site comes from, please visit https://api.github.com/users/tonich-sh/events. GitMemory does not store any data, but only uses NGINX to cache data for a period of time. The idea behind GitMemory is simply to give users a better reading experience.

tonich-sh/rethinkdb-twisted 1

Twisted connector for the RethinkDB's python driver

tonich-sh/cfman 0

Yet another configuration management and deploy tool

tonich-sh/ldaptor 0

LDAP server, client and utilities, using Twisted Python

tonich-sh/persistent 0

automatic persistence for Python objects

tonich-sh/pjpersist 0

Postgres Persistence Backend

tonich-sh/python-language-server 0

An implementation of the Language Server Protocol for Python

tonich-sh/relief 0

Python library for datastructure validation.

tonich-sh/sqlbuilder 0

Lightweight Python SQLBuilder. Can be integrated with Django.

tonich-sh/twinkle 0

Qt 5 port of Twinkle

PR opened qtile/qtile

Fix margin_on_single so it works with [N E S W] coords

Fix Columns layout's margin_on_single so it accepts a list of values for each margin, instead of just a single integer for all sides. This is based on how monadtall's single_margin works. In fact, I considered renaming margin_on_single as single_margin so there would be one name for the same behavior across layouts, but it would be a breaking change and I wasn't sure if it would be appropriate. I still can do it, however, if a maintainer green-lights it.

I also tried to add new tests to cover the changes, but I couldn't figure out how to do it. Any pointers would be appreciated.

+5 -2

0 comment

1 changed file

pr created time in an hour

issue commentqtile/qtile

[Enhancement] Execute Keybindings while holding mouse buttons down

This is on x11 only. Key presses are passed successfully on wayland.

matheusfillipe

comment created time in 2 hours

issue commentqtile/qtile

[REQUEST] StatusNotifierItem/AppIndicator/Ayatana support

Ah shit, it's been forever since I actually used qtile lol, so no, no progress.

On 2021-06-18 17:30, m-col wrote:

@elParaguayo https://github.com/elParaguayo and I have been discussing this lately and have slowly put some code together (mostly him) that make an SNI widget. Didn't realise there was already an issue here about it! As the XEmbed systray is inherently X-specific, running Qtile with Wayland currently lacks a system tray so this would become its replacement.

One thing we were worried about - in terms of it potentially growing too large and complex to include within libqtile - was the menus, so @elParaguayo https://github.com/elParaguayo we should definitely take a look at libdbusmenu-gtk3 for that.

@judemille https://github.com/judemille did you make any progress with this yourself?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/qtile/qtile/issues/1523#issuecomment-864303168, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB6AFB5EOZEIB6HGT76LRSLTTPCJHANCNFSM4KFVFI4A.

judemille

comment created time in 7 hours

PR opened qtile/qtile

X11: only respect aspect ratios when window is floating

The aspect ratio hint provided by a client should not be respected when the window is any of tiling, fullscreen, maximized etc, and should only be used when the window is floating.

Fixes #2512

+13 -1

0 comment

2 changed files

pr created time in 8 hours

issue closedqtile/qtile

A group.next_minimized_window() function

There is in qtile the group.next_window() and group.prev_window() pair, good and working.

How can I cycle through the minimized windows only and not minimized windows only?

closed time in 9 hours

osimplex

PR opened qtile/qtile

Forward unhandled keybindings to client window

Keybindings can be conditional, e.g. upon the current layout:

    lazy.function(func).when(layout='max')

We grab the appropriate keys as normal but we swallow these unconditionally. Instead, if Qtile does not execute the binding because the conditions were not met, we should not be swallowing these key press events.

Fixes #324

+15 -7

0 comment

3 changed files

pr created time in 10 hours

issue closedqtile/qtile

Proper way to shutdown qtile and linux

Hello everyone ,

i want to shutdown linux machine directly without shutting down qtile first. The way i am doing right now is by having shortcut using

Key([mod], "BackSpace", lazy.shutdown(), desc="Shutdown Qtile"),

in my config.py file .

This only shuts down the window manager (qtile) and then i am presented with my login manager [lightdm] .

Can i use following to do the complete linux shutdown using dmenu/direct shutdown command ? ​

Key([mod], "e", lazy.spawn("shutdown now")),

is it safe to shutdown qtile and lightdm from terminal ?

if not what is the proper way to shutdown the linux directly from qtile directly ?

My goal is having the shortcut key in qtile to do the complete linux shutdown .

closed time in 11 hours

parasbhanot

issue commentqtile/qtile

Proper way to shutdown qtile and linux

Closing this as it seems to be answered but do reopen if you're still having issues.

parasbhanot

comment created time in 11 hours

issue commentqtile/qtile

[Wayland] [Minor] Exceptions during shutdown from coming from widget timers

asyncio.call_soon and asyncio.call_later both return handles which can be used to cancel scheduled tasks. Could be an option?

Fabien-Bernard

comment created time in 11 hours

issue commentqtile/qtile

When a program goes in the system tray the whole bar becomes transparent

It may do but I can't recreate the issue. Having a config would certainly help.

SebastianDorobantu

comment created time in 11 hours

Pull request review commentqtile/qtile

Transparency in X11 and Wayland

 background="#000000")` will give you a black back ground (the default), while :code:`bar.Bar(..., background=["#000000", "#FFFFFF"])` will give you a background that fades from black to white. +Bars (and widgets) also support transparency by adding an alpha value to the+desired color. For example, :code:`bar.Bar(..., background="#00000000")` will+result in a fully transparent bar. Widget contents will not be impacted i.e.+this is different to the ``opacity`` parameter which sets the transparency of the+entire window.++.. note::+    In X11 backends, transparency will be disabled in a bar if the ``background``+    color is fully opaque.++

I added a SysTray comment in its own docstring so it's visible on the Widgets page.

elParaguayo

comment created time in 12 hours

Pull request review commentqtile/qtile

Transparency in X11 and Wayland

 background="#000000")` will give you a black back ground (the default), while :code:`bar.Bar(..., background=["#000000", "#FFFFFF"])` will give you a background that fades from black to white. +Bars (and widgets) also support transparency by adding an alpha value to the+desired color. For example, :code:`bar.Bar(..., background="#00000000")` will+result in a fully transparent bar. Widget contents will not be impacted i.e.+this is different to the ``opacity`` parameter which sets the transparency of the+entire window.++.. note::+    In X11 backends, transparency will be disabled in a bar if the ``background``+    color is fully opaque.++

Maybe add a note about Systray?

elParaguayo

comment created time in 12 hours

pull request commentqtile/qtile

Transparency in X11 and Wayland

OK, think this is fixed. The issue is do with the way the hook works in the Mirror and how this interacts with the timing of the drawing of each widget during configuration of the bar.

We can fix this by making sure the "parent" is always drawn before the Mirror is drawn.

elParaguayo

comment created time in 15 hours

pull request commentqtile/qtile

Transparency in X11 and Wayland

Almost got the Mirror working as above. It works fine on wayland but has a weird bug on x11: The background is getting cleared but the contents is not immediately drawn. So, if you mirror a Clock the text appears after 1 second (i.e. after the first refresh) but if you mirror a static TextBox the text is never drawn.

Can't immediately see where I've gone wrong and why it's working on wayland...

@m-col would be good if you could take a look at some point.

elParaguayo

comment created time in 16 hours

issue commentqtile/qtile

Scratchpad not working properly in conjunction with terminator

This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 30 days.

tcld

comment created time in 17 hours

pull request commentqtile/qtile

Transparency in X11 and Wayland

Re Mirrors: @m-col and I were discussing this on chat. We both agree that, ideally, a mirror without a background should display it's own bar.background.

This is actually fairly complicated to do, based on how the drawer works. Currently, everything is painted to the drawer, including any background. So, when the mirror tries to copy the drawer it picks up the source background.

One approach would be to paint the background direct to the relevant surface and then keep the widget contents in the RecordingSurface and have the mirror copy this which it can then draw over it's own background. The difficult here is that the RecordingSurface is cleared after every draw() so the mirror has nothing to copy. You could fix this by not clearing the RecotdingSurface but then that's going to continue filling up endlessly which doesn't sound efficient to me.

Typing this out has given me an idea though...

elParaguayo

comment created time in 19 hours

issue commentqtile/qtile

White glitch "thing' when characters overflow a bar

@ramnes Well that wasn't easy! I tried reproducing on Xephyr but it doesn't happen there. It could be something else on my environment maybe. But it happens with simply having a character that is too big to fit in the bar and with a color gradient. This does not happen without a color gradient. Look on like 100 of this file, the interesting stuff starts there. config.py.txt

If you are still not able to reproduce here is a "weird" thing I have on my setup. I have dpi set to 110:

$ cat ~/.Xresources 
Xft.dpi: 110
Xft.autohint: 0
Xft.lcdfilter:  lcddefault
Xft.hintstyle:  hintfull
Xft.hinting: 1
Xft.antialias: 1
Xft.rgba: rgb

No idea if that could be related.

matheusfillipe

comment created time in a day

push eventhdecarne/gentoo-extras-overlay

hdecarne

commit sha 93119c9dfe47199b0facdacea767ff525c6152d3

Fluent Bit version bump 1.7.9

view details

push time in a day

issue commentqtile/qtile

Unexplained qtile crashes

@m-col I experienced these errors during regular operation. The screen freezes and I get dropped down to the login screen -- it's pretty terrible.

They might be happening during restarts. I'll check and report back by Monday.

piyushk

comment created time in a day

issue commentqtile/qtile

Unexplained qtile crashes

In addition to #2307 both of the log outputs you've posted appeared in https://github.com/qtile/qtile/issues/2509. The direct cause of all of these is the same: the classes are finalized but then shortly after do something using finalized attributes. #2509 refers to clean-up when shutting Qtile down, and #2307 mentions that the error and freeze happens when restarting. Do you find any pattern with when these errors happen, such as when restarting?

piyushk

comment created time in a day

issue commentqtile/qtile

Exposing core cmd_s?

libqtile.command is pretty nebulous to me. Any pointers for how I can make this happen, beyond adding cmd_ methods?

m-col

comment created time in a day

pull request commentqtile/qtile

Show popup upon config error

Looks like this has been asked for before https://github.com/qtile/qtile/issues/932

m-col

comment created time in a day

issue closedqtile/qtile

qtile-setup

It would be good for new users to have scenario to configure Qtile by selecting answers. It should generate (or update) config. Even each new release I would like to go through the questionnaire and find what is new. From architecture side I'd suggest to have reusable config object. (Maybe it could be reused for GUI configuring)

closed time in a day

zordsdavini

issue commentqtile/qtile

Allow multiple systray's for multiple monitor configurations

This limitation of the protocol is one of the (many) reasons that many DEs/projects have moved onto using the Status Notifiter Item spec instead, so if we get a widget for that working (https://github.com/qtile/qtile/issues/1523) then maybe we can happily ignore the problems the systray causes us :)

flacjacket

comment created time in a day

issue commentqtile/qtile

Script access to key mapping

This would require very changes to work, I think. All it takes for a keybinding to be registered is to define it and pass it to Qtile.grab_key:

from libqtile import qtile
key: Key  # This is your defined Key object

qtile.grab_key(key)  # This will register it

qtile.ungrab_key(key) # This will unregister it

Prefixing those methods with cmd_ would expose them to client interfaces. Does the Python client interface allow for passing things like Keys to the server?

nekojess

comment created time in a day

issue commentqtile/qtile

Plans for default config improvements

I think we should put a default wallpaper actually.

TBH a plain black/dark grey background with the Qtile logo in the centre could be pretty nice default wallpaper.

zordsdavini

comment created time in a day

issue commentqtile/qtile

[REQUEST] StatusNotifierItem/AppIndicator/Ayatana support

To add to this, I've got code working that creates a watcher and draws icons for registered items. I need to port that into a widget next.

judemille

comment created time in a day

issue commentqtile/qtile

[REQUEST] StatusNotifierItem/AppIndicator/Ayatana support

@elParaguayo and I have been discussing this lately and have slowly put some code together (mostly him) that make an SNI widget. Didn't realise there was already an issue here about it! As the XEmbed systray is inherently X-specific, running Qtile with Wayland currently lacks a system tray so this would become its replacement.

One thing we were worried about - in terms of it potentially growing too large and complex to include within libqtile - was the menus, so @elParaguayo we should definitely take a look at libdbusmenu-gtk3 for that.

@judemille did you make any progress with this yourself?

judemille

comment created time in a day

issue commentqtile/qtile

When a program goes in the system tray the whole bar becomes transparent

Please could you post your config for the Bar and widgets? @elParaguayo I wonder if https://github.com/qtile/qtile/pull/2513 will fix this

SebastianDorobantu

comment created time in a day

issue commentqtile/qtile

Unexplained qtile crashes

Looks awfully similar to https://github.com/qtile/qtile/issues/2307

piyushk

comment created time in a day