Raphael Scholer
2b12fb6fe7
cmus - Expose status output mapping as a setting
2015-08-19 07:31:30 +02:00
Raphael Scholer
e979e28aec
cmus - One line per from ... import
2015-08-19 07:14:49 +02:00
Raphael Scholer
a1f2636c3c
cmus - Make Cmus.run() more pythonic
...
- Remove duplicate declaration of self.output
- Remove unneccesary stripping of artist and title information. This
is take care of in the information gathering functions/methods.
- Group code into sections
- Make exit path more obvious
- Make retrival of filename more obvious
- Use more obvious variable names
2015-08-19 06:42:02 +02:00
Raphael Scholer
37c30f645d
cmus - Make Cmus._query_cmus more pythonic
...
- Use string.partition instead of excessive slicing
- Use splitlines instead of split('\n'). This also reduces the times the
for-loop is run.
2015-08-19 06:15:44 +02:00
Raphael Scholer
e943831b12
cmus - Remove unused class property
2015-08-19 06:00:07 +02:00
Raphael Scholer
6996c0b575
cmus - Update settings information
...
- Remove duplicate information (available formatters are also listed in
docstriong)
- Add description for 'color' setting
2015-08-19 05:55:11 +02:00
Raphael Scholer
502000a467
cmus - Simplify extraction of artist and title information
...
The "fallback" did exactly what the preceeding code did.
2015-08-19 05:28:56 +02:00
Raphael Scholer
5583324c13
cmus - Use run_through_shell()
2015-08-18 21:21:16 +02:00
Raphael Scholer
0daf4ea0c1
cmus - Remove superflous empty line
2015-08-18 21:12:17 +02:00
Raphael Scholer
f93dfcde60
cmus - Replace double quote with single quote
2015-08-18 18:01:50 +02:00
enkore
12823ec92d
Upgrade travis to containers
2015-08-17 11:18:25 +02:00
enkore
933c3739e5
fixed typo in changelog
2015-08-17 10:49:47 +02:00
enkore
fb8052ceb5
dota2wins: doc
2015-08-17 10:48:55 +02:00
enkore
947064488b
changelog
2015-08-17 10:47:46 +02:00
enkore
5c6cb5e862
Merge pull request #236 from ismaelpuerto/master
...
Add module for view and change keyboard layout
2015-08-17 10:44:08 +02:00
enkore
2115c26c73
Merge pull request #235 from plumps/adding-lowbattery-command
...
added the alert_command option
2015-08-17 10:38:32 +02:00
enkore
50d396d761
Merge pull request #230 from SyxbEaEQ2/uptime_format
...
Added proper formatter for uptime module
2015-08-17 10:37:25 +02:00
enkore
3586dce9be
Merge pull request #229 from opatut/dota2win-formatting
...
dota2win: allow formatting of win percentage by passing it as float
2015-08-17 10:36:56 +02:00
enkore
046cdf07c6
Merge pull request #228 from opatut/dota2win-username
...
dota2wins: allow finding steam ID by username
2015-08-17 10:36:37 +02:00
plumps
d1e3ee701a
small typo
2015-08-14 11:53:13 +02:00
plumps
873de77294
little typo in critical_level
2015-08-14 11:48:35 +02:00
plumps
f6d30ab093
changed alert_command to critical_level_command
...
this change is made to differentiate the low-energy from the critical
level one better.
new options:
- critical_level_command="<some command>"
- critical_level_percentage=int
2015-08-14 11:45:56 +02:00
Ismael
2a91db88ca
Update ci-build.sh
2015-08-12 16:16:57 +02:00
Ismael Puerto
793b1be032
fix commit e85425c
2015-08-12 16:15:06 +02:00
Ismael Puerto
097c42b5a8
Add module for view and change keyboard layout
2015-08-12 14:24:02 +02:00
plumps
f404874767
added the alert_command option
...
running a shell command before the battery is completely discharged
2015-08-10 18:41:49 +02:00
SyxbEaEQ2
9dea4258a4
Added proper formatter for uptime module
2015-07-24 14:52:43 +02:00
Paul Bienkowski
bea95ab5e4
dota2win: allow formatting of win percentage by passing it as float, not preformatted string
...
See example format on how to do that.
2015-07-21 17:42:22 +02:00
Paul Bienkowski
f81d903480
dota2wins: allow finding steam ID by username
2015-07-21 17:40:44 +02:00
enkore
e85425c8c6
Merge pull request #224 from narma/feature/anybar
...
AnyBar widget
2015-07-06 20:24:33 +02:00
Sergey Rublev
fe1755835d
Added AnyBar widget
2015-07-06 23:28:10 +06:00
enkore
35c96e3032
Update changelog (cf #184 )
2015-07-03 17:22:40 +02:00
enkore
1532040f0b
Replace DIY parametrized tests with @pytest.mark.parametrize
2015-06-24 11:01:53 +02:00
enkore
302bf38f00
Add release date of old releases
2015-06-23 12:16:32 +02:00
enkore
7df15b0764
Anchor in changelog
2015-06-23 12:10:38 +02:00
enkore
ca3ac1454c
3.33
2015-06-23 12:07:02 +02:00
enkore
442a3c4916
Just maintaining maintainers maintainer work
2015-06-22 22:57:08 +02:00
enkore
2c40fa1a48
modrefs
2015-06-22 20:14:17 +02:00
enkore
3de16a5d4d
Crossref
2015-06-22 20:11:30 +02:00
enkore
49eef86561
changelog to PR #223
2015-06-22 20:04:51 +02:00
Lukáš Mandák
46794200fa
StandaloneIO: Change all static and class methods to normal methods.
2015-06-22 17:34:10 +02:00
Lukáš Mandák
794d68fe5d
Added user documentation about bar refreshing.
2015-06-22 13:52:30 +02:00
Lukáš Mandák
a63d7fe4d8
StandaloneIO: Remove unused variable from refresh_signal_handler
.
2015-06-22 13:06:32 +02:00
Lukáš Mandák
3a33c8131b
StandaloneIO: Added documentation for new methods.
2015-06-22 13:00:41 +02:00
Lukáš Mandák
8cca39bb1a
StandaloneIO: Modules with above average intervals are refreshed in their own threads. This should prevent freezing of the bar caused by running all modules.
2015-06-22 12:27:58 +02:00
Lukáš Mandák
ba01a7af44
Click events: Modules output is udated and status line is refreshed after a valid click event callback is executed.
2015-06-22 11:43:52 +02:00
Lukáš Mandák
7dd99604be
StandaloneIO: Responds to SIGUSR1 signal by refreshing outputs of all modules.
2015-06-22 11:32:46 +02:00
Lukáš Mandák
c042be12ed
Module: on_click
now returns True if a valid click event callback was found and executed, False otherwise.
2015-06-22 11:07:23 +02:00
Lukáš Mandák
fff0444151
Module: Fixed and documented 'text_to_pango' method.
2015-06-22 11:04:51 +02:00
enkore
14b35c6081
Fix failing test, therefore fixing #89
2015-06-21 20:24:22 +02:00