Thank you guys. I added the script into my autostart script so that every 
time I restart the computer, it'll check for updates.

On Thursday, April 8, 2021 at 6:06:41 PM UTC+10 elParaguayo wrote:

> Maybe we should make a widget for this...
>
> On Thu, 8 Apr 2021, 08:43 Kai Stian Olstad, <[email protected]> wrote:
>
>> On 08.04.2021 07:50, Eduardo Queiroz wrote:
>> > Since qtile is not in Ubuntu's repositories is there a way to know when
>> > qtile receives an update?
>>
>> There are a few ways.
>> New version is posted on this mailinglist.
>>
>>
>> You can also find it on this page
>> https://github.com/qtile/qtile/releases
>>
>> If you are using RSS the link is
>> https://github.com/qtile/qtile/releases.atom
>>
>>
>> An alternative is the PyPi page
>> https://pypi.org/project/qtile/
>>
>> With RSS
>> https://pypi.org/rss/project/qtile/releases.xml
>>
>>
>> You could also use this script
>>
>> #!/bin/bash
>>
>> installed=$(pip3 show qtile 2>/dev/null | grep "^Version:" | cut -f2 -d" 
>> ")
>> latest=$(pip3 install qtile== |& head -n1 | awk '{ print $NF }' | tr -d 
>> ')')
>>
>> if dpkg --compare-versions "$installed" lt "$latest"
>> then
>>    echo "You need to upgrade Qtile, $latest is avaialble."
>> else
>>    echo "You are on the latest version of Qtile."
>> fi
>>
>>
>> -- 
>> Kai Stian Olstad
>>
>> -- 
>> 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/3a320330b2ecbf6671bdb12a9dd036a0%40olstad.com
>> .
>>
>

-- 
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/171b7b17-a235-42ac-a69b-5a9eed1e28afn%40googlegroups.com.

Reply via email to