Commit graph

2271 commits

Author SHA1 Message Date
Tobias Witek
94427ea20f [modules] dunst: try to handle errors gracefully
Try to handle dunst pause/unpause errors "gracefully" (ignore them).

fixes #381
2019-04-30 17:07:12 +02:00
Tobias Witek
86c8dd5219 [modules/battery_all] Remove defunct estimate calculation code
A decent fallback implementation would require some kind of differential
measurement to be able to calculate a rate of change.

For now, that is simply more complicated than warranted.

Thanks to @stoeps13 for pointing that out!
2019-04-24 20:09:03 +02:00
Tobias Witek
621e442efc [doc] README: Add iceberg dark powerline note 2019-04-24 20:05:04 +02:00
tobi-wan-kenobi
4b6f8975a9
Merge pull request #380 from gkeep/master
Add iceberg-dark-powerline theme
2019-04-24 20:03:57 +02:00
gkeep
783df8d58a Readd screenshot of iceberg-dark-powerline theme 2019-04-23 20:57:15 +03:00
gkeep
1a48943c93 Fix color step in iceberg-dark-powerline 2019-04-23 20:52:10 +03:00
gkeep
accf50704f Add iceberg-dark-powerline theme 2019-04-23 17:33:20 +03:00
Tobias Witek
e0a7ca5b87 [modules/battery_all] Fix remaining time calculation
Thanks to @stoeps13 for pointing out a bug in the calculation of the
remaining time for multiple batteries.

see #379
2019-04-23 06:05:36 +02:00
Tobias Witek
011b3b631b [modules/nvidiagpu] Add missing initialization 2019-04-15 20:35:59 +02:00
Tobias Witek
01883c1284 [modules] Fix two minor Travis complaints 2019-04-15 20:32:21 +02:00
tobi-wan-kenobi
744982cb87
Merge pull request #377 from 0xDEAD/format-nvidia-gpu
nvidiagpu: add format-option
2019-04-15 20:21:14 +02:00
0xDEAD
842e4f1795 nvidiagpu: add gpu/mem clock and fan-speed 2019-04-15 12:31:24 +02:00
0xDEAD
eadc2b45c3 nvidiagpu: add option to format output (default=current format) 2019-04-15 12:30:20 +02:00
tobi-wan-kenobi
62d34395c7
Merge pull request #376 from TheEdgeOfRage/master
Detect wireguard interfaces as tunnel type
2019-04-14 14:47:03 +02:00
Pavle Portic
579239292b
Detect wireguard interfaces as tunnel type 2019-04-14 00:46:40 +02:00
Tobias Witek
b4a66fd8be [doc] bump module count 2019-04-07 13:48:34 +02:00
tobi-wan-kenobi
5c749786ba
Merge pull request #375 from varkokonyi/hostname
[modules/hostname] add hostname module
2019-04-07 13:48:11 +02:00
varkokonyi
41b48cf8e8 [modules/hostname] add hostname module 2019-04-06 20:36:55 +02:00
tobi-wan-kenobi
0b9d51df08
Merge pull request #374 from tri2820/master
Clarify testjson.sh output, fix ascii.json and ionicons.json
2019-03-31 14:41:00 +02:00
Tri Nguyen
bf6b39adba Clarify testjson.sh output, fix json files 2019-03-30 23:40:50 +07:00
Tobias Witek
0207e7fe16 [doc] Add note about One Dark Powerline theme 2019-03-29 19:26:17 +01:00
tobi-wan-kenobi
78d317e69a
Merge pull request #372 from dillasyx/master
Added onedark-powerline theme
2019-03-29 19:24:34 +01:00
Nico Dietz
4f308fffe0 Add onedark-powerline theme
inspired by the excellent One Dark syntax theme for the Atom text editor
2019-03-29 10:04:18 +01:00
Tobias Witek
ed4d1a7f4d [doc] Add dunst screenshot 2019-03-27 20:22:10 +01:00
tobi-wan-kenobi
478dba1e68
Merge pull request #369 from eknoes/dunst-module
Add simple dunst module
2019-03-26 19:30:07 +01:00
Sönke
17caeca6a7
Add simple dunst module + icons 2019-03-24 20:39:29 +01:00
Tobias Witek
783a52427b [modules/nic] remove invalid import from debug
never, ever commit debug code *rolls eyes*
2019-03-01 21:08:09 +01:00
Tobias Witek
1359f1000f [engine] Nicer handling of module exceptions
Do not throw exceptions during exception handling, that causes really
hard-to-interpret error messages.

Instead, log a message and throw outside the exception handler (the code
could do with some cleanup, but is localized enough for now).

see #367
2019-03-01 21:02:51 +01:00
Tobias Witek
8db3435ddc [modules/nic] Add log for missing modules
When modules cannot be imported, add a warning line to the log.

see #367
2019-03-01 15:13:34 +01:00
Tobias Witek
930c70e06a [core] Allow mixing of parameter specs
Allow modules and parameters to be specified as either simple lists (-p
a b c d) or as multiple instances (-p a -p b -p c).

fixes #362
2019-02-15 18:01:06 +01:00
Tobias Witek
193305dc11 [modules/xrandr] Fix documentation bug 2019-02-14 20:12:41 +01:00
Tobias Witek
2522b428b6 [modules/prime] Minor fix for return type
Also, add module to doc
2019-02-14 20:09:41 +01:00
tobi-wan-kenobi
092da0b41e
Merge pull request #361 from jeffeb3/master
Added module for prime video cards (nvidia/intel hybrid computers).
2019-02-14 20:08:45 +01:00
Jeff Eberl
76940c8dbb Added module for prime video cards (nvidia/intel hybrid computers). 2019-02-14 10:58:48 -07:00
Tobias Witek
451e3e48e5 [modules/weather] Fix location display for "auto"
When "auto" is used, the location was never shown.

Also, document the "showcity" parameter.

fixes #360
2019-02-11 20:07:10 +01:00
Tobias Witek
bb65c1cd68 [modules/location] Enable location switching
If multiple locations are provided as comma-separated list, left-click
and right-click can be used to circulate through them.

NOTE: Every click produced a new request to the weather reporting
service!

see #360
2019-02-09 13:10:35 +01:00
Tobias Witek
80892477f6 [modules/xrandr] Subscribe to i3 output events, if possible
If i3-py is available, use it to subscribe to output events to reload
the widget list whenever the outputs change.

fixes #359
2019-02-09 11:00:12 +01:00
Tobias Witek
a198b8d9e3 [modules/xrandr] Add refresh widget when autoupdate==False
If polling displays via xrandr is disabled, show an additional widget
that allows the user to manually refresh the widget list.

see #359
2019-02-08 20:11:48 +01:00
Tobias Witek
8511e57ed2 [modules/xrandr] Optionally disable polling
Add option to disable display polling via xrandr to work around kernel
issues that cause persistent lags.

see #359
2019-02-08 20:06:12 +01:00
tobi-wan-kenobi
1ede937f78
Merge pull request #358 from fredj/rm_hipchat
Remove hipchat module
2019-01-31 19:50:36 +01:00
Frederic Junod
9cb127ee21 Remove hipchat module 2019-01-31 15:44:31 +01:00
Tobias Witek
47eeac00a0 Revert "Merge branch 'partial-update-on-input'"
This reverts commit a2cc828e58, reversing
changes made to 87f185e62b.
2019-01-26 19:40:08 +01:00
Tobias Witek
a2cc828e58 Merge branch 'partial-update-on-input' 2019-01-23 20:06:17 +01:00
Tobias Witek
87f185e62b [modules/git] Nicer formatting of stati
Add separate widgets for each state, so that each state can have a
custom icon *and* a custom coloring.
2019-01-23 19:56:16 +01:00
Tobias Witek
1698e4ad4c [modules/git] Make CI (hopefully) run through
OK, so I cannot configure Travis to install pygit2, obviously. Instead,
I'll make the "git" module run though even if pygit2 is not installed.

Hope that satisfies you, Travis!
2019-01-20 19:27:04 +01:00
Tobias Witek
a48f4c41c8 [CI] more fixes
if this does not work, I really need to investigate up-front testing for
Travis.
2019-01-20 19:10:08 +01:00
Tobias Witek
e6aabe5605 [CI] More package crazyness 2019-01-20 18:45:47 +01:00
Tobias Witek
a2fda968c8 [CI] Update package name 2019-01-20 18:43:30 +01:00
Tobias Witek
7aa15bf8ba [CI] Travis: Upgrade to Xenial and add pygit2 2019-01-20 18:40:55 +01:00
Tobias Witek
07ff027e8f [CI] Travis: libgit2 2019-01-20 14:56:05 +01:00