Commit Graph

1860 Commits

Author SHA1 Message Date
Thiago Kenji Okada
a0082fb3b1 Need to strip values separated 2017-03-13 09:47:51 +01:00
Thiago Kenji Okada
53b49a4fbd Added brightness value to Redshift module 2017-03-13 09:47:51 +01:00
Thiago Kenji Okada
0cc39bc9d6 Redshift module fixes
Small rewrite in redshift module, removing regex usage in favor of
split()/strip(). I removed the function declaration inside function
declaration too, since it was strange.

Fix some typos in documentation too.
2017-03-13 09:47:51 +01:00
Andrey Astafyev
ec67429456 update ipv6 address handling to work with netifaces >= 0.10.5 2017-03-13 09:47:21 +01:00
Andrey Astafyev
b7324eed6a fixed mistype in song_length formatter 2017-03-13 09:47:21 +01:00
Mathis FELARDOS
883ff41e60 utils/gpu: add support of several GPU 2017-03-13 09:47:03 +01:00
enkore
133643fc6d Merge pull request #546 from alarmschaben/master
add option "freq_divisor" to "network" module, which allows division …
2017-03-13 09:46:37 +01:00
enkore
b0fdbfde3e Merge pull request #550 from kyrias/battery-notif
Battery notification timeout
2017-03-03 22:01:59 +01:00
facetoe
c77d853e14 Merge pull request #552 from sileht/master
pulseaudio: hides some error messages
2017-03-01 17:24:42 +08:00
Mehdi Abaakouk
d3ae79301b pulseaudio: hides some error messages
When we move the sink of an application, it can fail, then pacmd
print error message on stdout, breaking the i3pystatus json.

This changes hides these messages since their are not really usefull.
2017-03-01 10:03:03 +01:00
facetoe
b974196221 Merge pull request #544 from facetoe/temp_fix
Fix bug where sensors reports no maximum.
2017-02-27 20:50:21 +08:00
Johannes Löthberg
123516fe54 battery: Make alert timeout configurable
Fixes #549.

Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
2017-02-23 13:53:41 +01:00
Johannes Löthberg
96936946fa core/desktop: Use default server timeout
Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
2017-02-23 13:51:35 +01:00
enkore
2cfeeca3e2 Merge pull request #548 from enkore/enkore-patch-1
codestyle -E722
2017-02-23 10:56:38 +01:00
enkore
30f84b1a73 codestyle -E722 2017-02-23 10:55:28 +01:00
enkore
e60d3d4027 Merge pull request #547 from rscholer/dpms_status
Fix output when dpms is enabled
2017-02-23 10:54:56 +01:00
Raphael Scholer
22b2d4a6f5
Fix output when dpms is enabled
This fixes #537.
2017-02-23 03:42:50 +01:00
Armin F. Gnosa
e9a4948adb add option "freq_divisor" to "network" module, which allows division of Wi-Fi frequency 2017-02-22 15:45:05 +01:00
Facetoe
12612c1e5a Fix bug where sensors reports no maximum. 2017-02-16 20:20:25 +08:00
Erik Johnson
82555cb6a7 Fall back to local_epoch if observation_epoch is non-numeric
This fixes a traceback when the weather data is incomplete (possibly due
to a PWS being on the fritz).
2017-01-31 11:11:27 -06:00
facetoe
86634f8f8a Merge pull request #539 from facetoe/temp_modifications
Some modifications to the Temperature  module:
2017-01-29 11:45:36 +08:00
Facetoe
10e00263b3 Some modifications to the Temperature module:
* Support multiple CPUs/cores
	* Support dynamically discovering warning/critical limits
	* Support dynamic colors
	* Add vertical bar formatters

Should't break existing configs.
2017-01-27 19:49:40 +08:00
facetoe
4d2ccc5dcb Merge pull request #538 from facetoe/master
Move session initialization into run().
2017-01-27 09:49:57 +08:00
Facetoe
aa8110caf4 Move session initialization into run().
Prevent exceptions when i3pystatus is started without internet.
2017-01-27 08:33:10 +08:00
facetoe
386bf55d59 Merge pull request #535 from facetoe/google_calendar_modifications
Some modifications to Google Calendar:
2017-01-24 20:16:40 +08:00
facetoe
9f71f31d57 Merge pull request #532 from Xenopathic/patch-1
taskwarrior: Prevent KeyError on missing project
2017-01-24 03:03:50 +08:00
Robin McCorkell
6292f4b3f0 Replace if in then ... else ... with .get() 2017-01-23 17:11:49 +00:00
facetoe
821bd950da Merge pull request #531 from Xenopathic/taskwarrior-reset-next-task
taskwarrior: Add reset_next_task callback
2017-01-23 20:55:46 +08:00
Facetoe
6c9bb749b9 Some modifications to Google Calendar:
* Add amazing urgent_blink feature
	* Perform updates in a background thread
	* Be more consistent with time
	* Add some enlightening comments
2017-01-23 20:35:30 +08:00
Robin McCorkell
6b487bbe81 Fix style issues 2017-01-16 22:49:24 +00:00
Robin McCorkell
4283ed919a taskwarrior: Prevent KeyError on missing project 2017-01-15 17:14:51 +00:00
Robin McCorkell
2b56c6cd03 Merge branch 'master' into taskwarrior-reset-next-task 2017-01-15 16:06:50 +00:00
enkore
d90511597e Merge pull request #525 from m45t3r/delete_playerctl
Remove playerctl module
2017-01-15 16:38:33 +01:00
enkore
d1d12b8f23 Merge pull request #530 from Xenopathic/taskwarrior-formats
taskwarrior: Add `project` formatter for next task project
2017-01-15 16:38:06 +01:00
Robin McCorkell
f10f07c9f1 taskwarrior: Add reset_next_task callback
Callback resets display to most urgent task after any switching by
other callbacks. Installed by default on left click.
2017-01-15 15:06:05 +00:00
Robin McCorkell
bd210c22ad taskwarrior: Add project formatter for next task project 2017-01-15 14:21:54 +00:00
enkore
0a1f92db36 Merge pull request #528 from m45t3r/revert-527-xkblayout_fix
Revert "Forcibly update xkblayout module internal state"
2017-01-14 21:44:45 +01:00
Thiago Kenji Okada
932feec068 Revert "Forcibly update xkblayout module internal state" 2017-01-14 18:16:30 -02:00
enkore
83a1571814 Merge pull request #527 from m45t3r/xkblayout_fix
Forcibly update xkblayout module internal state
2017-01-14 20:48:46 +01:00
Thiago Kenji Okada
4bade23063 Forcibly update xkblayout module internal state
So when the user modifies the layout externally (for example, using
setkbmap) the update is correctly reflect in i3pystatus.

Fix issue #523.
2017-01-14 17:41:53 -02:00
Thiago Kenji Okada
5e3434bd29 Remove playerctl module
Playerctl uses the exactly same interface as now_playing, however it
depends on a external binary dependency instead of dbus-python. And
now_playing is more feature complete and follows the standard set by
other modules (like the mpd module), while playerctl used an alien
configuration.

Spotify module used to depend on playerctl. Actually, playerctl was the
whole spotify module. So now it uses now_playing. I don't know if
spotify only works with playerctl, however in theory if depends on the
same dbus interface implemented on now_playing. Needs testing.
2017-01-13 20:55:13 -02:00
enkore
57eefec6b1 Merge pull request #524 from jawsper/master
Corrected output of pomodoro module.
2017-01-12 15:32:39 +01:00
Jasper Seidel
eb9460ad79 Corrected output of pomodoro module.
There was a stale comma left from a previous refactor, this caused the module
to return output as a tuple, which ended up in the json as an array.
This has the effect that modules after (left of) this module refuse to display
in i3bar.
2017-01-12 15:26:27 +01:00
enkore
ff498e8b4e Merge pull request #484 from m45t3r/redshift_new_controller
Refactor redshift module
2017-01-12 03:35:26 +01:00
Thiago Kenji Okada
f4bcc78190 Allow redshift inhibition again 2017-01-12 00:25:54 -02:00
Thiago Kenji Okada
0f9b0a1ac3 Use context manager in Popen 2017-01-12 00:25:54 -02:00
Thiago Kenji Okada
006fd14bb8 Check if thread exits 2017-01-12 00:25:54 -02:00
Thiago Kenji Okada
d311a53284 Pass user arguments to redshift 2017-01-12 00:25:54 -02:00
Thiago Kenji Okada
9a8c1011a8 Refactor redshift module
Now using a internal RedshiftController, based on the original
statusbar.py, however written in pure Python instead of depending in
GLib.

Since it does not steal SIGUSR1 handler, it should fix issue #482.
2017-01-12 00:25:50 -02:00
enkore
de1fe9b72c Merge pull request #521 from hasB4K/pullrequest-external_ip
external_ip: add external ip module
2017-01-11 19:56:20 +01:00