Commit Graph

3110 Commits (616e136bc9d983999efc869efb6dc8049a7593c0)

Author SHA1 Message Date
Emiel Kollof 616e136bc9 Document format values for swap/memory widgets 2019-05-24 22:44:21 +02:00
Emiel Kollof f1d2cd462f Placate travis 2019-05-24 22:44:21 +02:00
Emiel Kollof 1cba484556 Fix PEP8 2019-05-24 22:44:21 +02:00
Emiel Kollof c77132d4ee Fix tests, fixed Swap graph too. 2019-05-24 22:44:21 +02:00
Emiel Kollof 623ffc1202 Replace more /proc hackery with psutil <https://github.com/giampaolo/psutil>
CPU/Memory graph done.
2019-05-24 22:44:21 +02:00
Emiel Kollof 230a6c96e8 Add swap starts 2019-05-24 22:43:40 +02:00
Emiel Kollof 4a7a9aad54 Make memory gathering portable (using psutil) 2019-05-24 22:43:40 +02:00
Sean Vig a71b0899f5
Set minimum setuptools version
The current tox build will not pull in a recent enough setuptools
version, causing test failures in Travis.  Explicitly require and
install a newer version of setuptools.
2019-05-22 21:12:55 -04:00
Paweł Słowik 81f4c9f26e Mock the cairocffi.pixbuf module for documentation building
Fixes #1319.
2019-05-22 20:25:14 -04:00
Arnas Udovicius de761f218b broken window list extension 2019-05-22 20:23:15 -04:00
ramnes 78d0c9b3d1 Don't bundle the logo, it's an URL in the README 2019-05-02 18:42:45 +02:00
Nicolas Pantel cdc8df5333 fix(doc): update gnome-settings-daemon to org.gnome.SettingsDaemon (#1316)
Since Gnome 3.23.2, gnome-settings-daemon was split into helper daemons (source: https://gitlab.gnome.org/GNOME/gnome-settings-daemon/blob/master/NEWS).
The old config lead to an immediate logout after login in Qtile.
2019-05-02 18:37:21 +02:00
Sean Vig 4e14656179 Use pytest runner to run unit tests
All of the tests can be run through an environment configured with
setuptools.  This has the advantage of also ensuring that the setup.cfg
is properly configured to allow us to run all of the tests.
2019-04-29 22:15:36 -04:00
ramnes 6f66886cae Make the README fancier 2019-04-29 19:59:49 -04:00
ramnes 5fb14d2756 Remove outdated information (we don't use develop anymore) 2019-04-25 13:30:58 +02:00
ramnes 0be2479199 Make check-manifest happy and fix CI 2019-04-25 10:31:41 +02:00
ramnes 9666625b5d We don't use develop anymore 2019-04-25 09:34:20 +02:00
Guillaume Gelin de0286df98 pep8 fixes 2019-04-24 18:56:13 +02:00
Andrius Semionovas 9deae7457f Fix stepping around group without entering into ScratchPad; #1199 (#1310) 2019-04-24 18:51:51 +02:00
Andrius Semionovas 29f4006964 Allow configure XDISPLAY in xephyr script (#1311) 2019-04-24 18:46:58 +02:00
Sean Vig 20c31a6887
More white space fixes 2019-04-21 23:28:48 -04:00
Sean Vig 0196ae5d18
Add pylintrc 2019-04-21 23:19:41 -04:00
Sean Vig f0a61f7b46
Fix up white space for PEP 8 2019-04-21 23:19:22 -04:00
mclgn ab4d33cea9 Columns layout - add screen focus wrap option and shrink edge columns when growing to screen edge 2019-04-21 23:18:23 -04:00
hackersgame b981a2576c Changed mouse variable name 2019-04-21 23:14:24 -04:00
hackersgame 9e7a773a55 Track last known mouse XY 2019-04-21 23:14:24 -04:00
ramnes 69c574e4b3 Fix GitHub's typography 2019-04-21 22:11:21 +02:00
Sean Vig 5de618491f Fix battery widget updating frequency
When the battery widget was flipped from using manual ticking to using
the threadedpolltext base, the `update_delay` parameter that the battery
widget had been using was not updated to the correct value of
`update_interval`.
2019-04-15 17:37:12 -06:00
Carlos Andrés Rocha 841eb74f96 Don't make distutils copy man pages to /usr/man
`setup.py` is creating qtile's man pages and trying to copy them to /usr/man, requiring root permissions. This breaks installing qtile inside a virtualenv for isolation or testing.

In my opinion, putting the files inside /usr/man should be done by the operating system package manager or by a during `make install`.
2019-04-12 20:34:29 -04:00
Sean Vig d663739703
Change to use twine readme check
Change from using deprecated `setup.py check -r` to verify readme to the
new twine check
2019-03-24 16:23:17 -04:00
Sean Vig e6fc7c3b4f
Really *really* fix the packaging of qtile
Previous changes, while they included all of the libqtile files,
re-introduced the test module.
2019-03-24 13:24:46 -04:00
Sean Vig 7f5ee4c9e7
Really fix the packaging of qtile
Get the packaging correct, being sure to include all package files and
properly exclude the tests
2019-03-24 12:43:44 -04:00
Sean Vig c9c67983e5
Fix the setup to only include the libqtile package
Previously, the `test` package was getting installed by qtile.  Properly
configure the package find to only include the `libqtile` module.
2019-03-24 12:15:21 -04:00
Sean Vig cbd1fd5904
Fix the polling of the battery widget
The battery widget was not properly calling the correct super class
init function.  This is actually a pretty good example of why we might
want to change all of these by-hand super calls over to actually use
super.  For now, just fix the call.
2019-03-24 12:05:25 -04:00
Sean Vig 72f35e2c21 Re-enable Python 3.5 support
Change the type annotations to a Python 3.5 supported syntax.  This is
currently all that is needed to be Python 3.5 compatible.  If there are
more substantive changes that we want to make in the future that are
Python 3.5 incompatible, we can look at those going forward.

Fixes: #1292
2019-03-21 21:13:11 -04:00
Sean Vig 749dfc9bc6 Change to using setup.cfg
Change from configuring everything in the setup.py file to using the
newer setup.cfg file for a lot of the metadata associated with the qtile
package.
2019-03-18 15:35:11 -04:00
Sean Vig 23cd20be59 Get the Battery widget to use ThreadedPollText
Previously, the battery widget had been using its own logic to do
polling and rescheduling.  Move the battery widget over to using the
built-in ThreadedPollText behavior instead.
2019-03-18 14:53:05 -04:00
Sean Vig 1aa7faff0f Clean up battery widget interfaces 2019-03-17 07:28:38 -04:00
Andreas Kempe dc46f9f044 Rewrite battery monitoring widget
Rewrite of the battery monitoring widget to provide a clear interface
for battery monitoring. This should simplify adding support for other
operating systems.

This also adds support for FreeBSD.
2019-03-17 07:27:07 -04:00
Arnas Udovičius 01313b4205 Implement the CommandSet extension (#1231) 2019-02-24 15:33:12 +01:00
XPOHUK 5329d7581a Set colour_have_updates only when number of updates > 0 2019-02-24 15:22:05 +01:00
frostidaho 473366ec76 Fix mouse drag issue #1286. (#1288)
Fixes #1286
2019-02-23 11:02:27 +01:00
Arnas Udovičius 1a8c3997f4 custom change_command for backlight widget (#1284)
custom change_command for backlight widget
2019-02-18 07:36:10 -07:00
Sean Vig ab8d48cd28
Fix failing tests
With the changes to use the default config, we were pulling in
`follow_mouse_focus`, which was changing the focusing behavior when
running the tests.  Explicitly set this value to False in the effected
tests.
2019-02-12 08:07:44 -05:00
Tycho Andersen f6a5731c85 test_hook: copy default config attributes over
Similar to the previous commit, let's copy over the default attributes.
Somehow this one is a one-off that doesn't use any of the typical
infrastructure.

Signed-off-by: Tycho Andersen <tycho@tycho.ws>
2019-02-09 08:47:59 -05:00
Tycho Andersen 7e1c97b63e copy default config attributes over to test configs
The recent cursor_warp fix meant that now some of the test code configs
need cursor_warp. It's a pain in the ass to add unrelated variables to the
test configs every time we add a new config variable, and it trips a lot of
people up.

Instead, let's just copy everything that doesn't already exist over from
the default config, so nobody has to mess around with this any more.

Signed-off-by: Tycho Andersen <tycho@tycho.ws>
2019-02-09 08:47:59 -05:00
Tycho Andersen 96e3f05549 warp cursor on screen change
In the case of a screen change, we're changing the window focus, so we should
warp the cursor to the middle of the newly selected window.

Signed-off-by: Tycho Andersen <tycho@tycho.ws>
2019-02-05 19:37:05 -05:00
Tycho Andersen 95afd06607 start a CHANGELOG with breakage notes
Signed-off-by: Tycho Andersen <tycho@tycho.ws>
2019-02-05 19:34:00 -05:00
Tycho Andersen d017ebc1bc maildir widget: more camelCase porting
Seems like this one slipped under the radar, but let's also convert this to
snake_case, since we did it everywhere else and broke things :)

Signed-off-by: Tycho Andersen <tycho@tycho.ws>
2019-02-05 19:34:00 -05:00
Tycho Andersen e26e97957a ignore new pep8 complaint
/home/travis/build/qtile/qtile/test/test_bar.py:242:10: N806 variable 'DBar' in function should be lowercase

we could change this one if we wanted, but given that it's a class, it
seems reasonable to leave it. feel free to change this if you want :)

Signed-off-by: Tycho Andersen <tycho@tycho.ws>
2019-02-05 19:34:00 -05:00