Is your script outputting a new line character at the end?
On Thu, 31 Dec 2020, 10:06 Nimble Clint, <[email protected]> wrote:
> Hi, I'm trying to set up a kdeconnect widget on my qtile bar. I have the
> following widget in my config file:
>
> widget.GenPollText(
> update_interval=1,
> func=lambda:
> subprocess.check_output("/path/to/kdeconnect.sh").decode("utf-8"),
> foreground = color[0],
> background = color[2],
> font = "DejaVu Sans Mono Nerd Font",
> fontsize = 25,
> )
>
> The icon shows up like I want it too, but it's too high up. Take a look at
> the green square on the right of the attached screenshot. It does this
> whether the output is a Nerd Font icon like this or regular characters. Is
> there a way to bring the icon down to the middle of the widget?
>
> [image: widget.png]
>
> Thanks!
>
> --
> You received this message because you are subscribed to the Google Groups
> "qtile-dev" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/qtile-dev/a5479633-c209-4150-9adb-468a2ddbf3e0n%40googlegroups.com
> <https://groups.google.com/d/msgid/qtile-dev/a5479633-c209-4150-9adb-468a2ddbf3e0n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
--
You received this message because you are subscribed to the Google Groups
"qtile-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/qtile-dev/CADPQLhAuC-vHvx7QqjAswH2g6HosrXgY_OGUJWKa7HgGr8u_5Q%40mail.gmail.com.