Commit graph

2254 commits

Author SHA1 Message Date
LtPeriwinkle
0c32d13e6f fix playback status 2020-06-24 12:15:32 -07:00
LtPeriwinkle
2eee4c390c put text on buttons 2020-06-24 12:14:26 -07:00
Tobias Witek
92ab1a3e00 [util/cli] make sure language is set to "C"
to make parsing of CLI output reliable (i.e. always in english), set
LC_ALL accordingly.

see #662
2020-06-24 07:47:31 +02:00
Tobias Witek
582c828deb [core] guard against concurrent updates
when a "regular" update (once per interval) and a input-triggered update
(e.g. mouse click on a widget) collide, this can cause the theme colors
to be interleaved wrongly.

fixes #661
2020-06-23 20:20:36 +02:00
Tobias Witek
441e7d5041 [core] fix minimize for all modules (nic, traffic, etc.)
make it possible to toggle the display state of a widget between
"displayed" and "minimized" also for modules that re-create their
widgets during each iteration.

see #661
2020-06-23 20:03:17 +02:00
Tobias Witek
34dadadf90 [core] re-enable minimize of widgets
by default, allow toggling the minimized state of a widget via the
middle mouse and draw a single unicode char instead of the actual
widget, maintaining all states.

fixes #661
2020-06-23 15:51:14 +02:00
tobi-wan-kenobi
45d8ed23c9
Merge pull request #660 from thannaske/main
Do not execute iwgetid if the interface is recognized as tunnel
2020-06-22 11:43:16 +02:00
tobias.hannaske
3558176044 Do not execute iwgetid if the interface is recognized as tunnel 2020-06-22 10:33:49 +02:00
LtPeriwinkle
ca62f68906 create + map widgets for buttons 2020-06-21 12:31:11 -07:00
tobi-wan-kenobi
df9a1f9a4f
Merge pull request #658 from es80/shell-fix
fix a regression for shell subprocess
2020-06-21 19:42:37 +02:00
LtPeriwinkle
f67ef9d64a add spotify-buttons 2020-06-21 10:28:37 -07:00
es80
e17ef8614f
fix a regression for shell subprocess 2020-06-21 17:56:52 +01:00
Tobias Witek
79fb28512f [tests] black -t py34 2020-06-20 15:11:53 +02:00
Tobias Witek
e9e67ae375 [tests/mpd] fix python3.5 for real now, hopefully 2020-06-20 15:07:16 +02:00
Tobias Witek
b22747818b [tests] fix tests for python3.5 2020-06-20 15:04:10 +02:00
Tobias Witek
a56b3db813 [tests] fix store tests 2020-06-20 14:58:49 +02:00
Tobias Witek
aac604f94c [travis] add missing dependency pytest-mock 2020-06-20 14:55:21 +02:00
Tobias Witek
39fa7788b4 [tests] switch to pytest 2020-06-20 14:53:44 +02:00
Tobias Witek
b2e92d816d [tests] add pytest for core.output
see #642
2020-06-20 14:51:49 +02:00
Tobias Witek
ef6ddad256 [tests] add pytest for core.theme
see #642
2020-06-20 14:32:05 +02:00
Tobias Witek
d7c016ba40 [tests] add pytest for core.widget
see #642
2020-06-20 13:55:19 +02:00
Tobias Witek
542d235c1a [modules/traffic] ignore all errors during update
to investigate whether the assumption that a stray exception causes
issues is correct, temporarily catch all errors.

see #655
2020-06-20 13:52:55 +02:00
Tobias Witek
3beb86bb38 [pytests/mpd] ensure that mpc is called 2020-06-20 13:38:00 +02:00
Tobias Witek
d7370307f2 [pytests/mpd] provide alternative host check
see #641
2020-06-20 13:36:21 +02:00
Tobias Witek
74de020980 [tests] add pytest for core.module
see #642
2020-06-19 20:13:33 +02:00
Tobias Witek
381869ef65 [doc] fix misleading (=wrong) quote usage 2020-06-19 19:50:58 +02:00
tobi-wan-kenobi
a1d2e1d8f9
Merge pull request #657 from rosalogia/main
More tests for mpd module
2020-06-19 19:48:37 +02:00
Ambika Nair
6271a0b91d Added mpd module tests for update and layout 2020-06-19 06:35:44 -04:00
Ambika Nair
52f5315ec5 Added more tests for mpd module 2020-06-19 06:12:30 -04:00
tobi-wan-kenobi
639c373578
Merge pull request #656 from rosalogia/main
Added super simple test for mpd module
2020-06-19 12:02:31 +02:00
Ambika Nair
f4a5d05c1e Got state function test for shuffle working 2020-06-19 05:00:56 -04:00
Ambika Nair
0574775995 Added super simple test for mpd module 2020-06-19 04:13:52 -04:00
Tobias Witek
ea1e1694bf [tests] add pytest for core.input
see #642
2020-06-19 10:10:02 +02:00
Tobias Witek
53258a9ffd [tests] add pytest for util.store
see #642
2020-06-19 09:48:14 +02:00
Tobias Witek
08240c2e82 [pytests/test_kernel] apply black -t py34 2020-06-19 09:35:00 +02:00
Tobias Witek
9cc26c8a95 [tests] add pytest for util.location
see #642
2020-06-19 09:34:21 +02:00
Tobias Witek
8258ff1bab [doc] rename master -> main 2020-06-19 09:16:29 +02:00
tobi-wan-kenobi
e4520d19bf
Merge pull request #653 from rosalogia/master
Replicated kernel module unittest with pytest
2020-06-19 09:08:46 +02:00
tobi-wan-kenobi
88a3350b78
Merge pull request #654 from rosalogia/patch-1
Fixed minor typo in unit testing guidelines
2020-06-19 09:06:56 +02:00
Ambika Nair
0bdc019a0d
Fixed minor typo in unit testing guidelines 2020-06-19 03:04:41 -04:00
Ambika Nair
19c3975301 Style Fix: changed double quotes to single quotes 2020-06-18 17:27:28 -04:00
Ambika Nair
900988e5ce Replicated kernel module unittest with pytest 2020-06-18 17:22:00 -04:00
Tobias Witek
3461272611 [tests] add pytest for util.format
see #642
2020-06-18 20:18:40 +02:00
Tobias Witek
058089d453 [tests] add pytest for util.cli
see #642
2020-06-18 20:01:45 +02:00
Tobias Witek
b9754a5b3e [docs] update 2020-06-18 07:14:10 +02:00
tobi-wan-kenobi
e139c4211c [doc/dev] module: fix misleading text
fixes #651
2020-06-10 20:25:05 +02:00
tobi-wan-kenobi
1ebbfbae14 [doc] add dev documentation on widget states
fixes #651
2020-06-09 20:45:54 +02:00
tobi-wan-kenobi
16269ff01e [core/input] add variables to custom cli calls
when specifying event bindings via CLI (e.g. disk.left-click=thunar),
allow for variables ({instance} and {name}, in particular).

fixes #650
2020-06-09 20:29:51 +02:00
tobi-wan-kenobi
60cdbab76e [tests] add pytest for algorithm
see #642
2020-06-07 16:15:18 +02:00
tobi-wan-kenobi
a394469c0f
Merge pull request #646 from smitajit/master
[module] playerctl to displays information about the current song in …
2020-06-06 16:01:05 +02:00