Commit graph

1396 commits

Author SHA1 Message Date
tobi-wan-kenobi
3078c91a4c Merge pull request #69 from meain/gruvbox-theme
non powerline gruvbox theme
2017-04-21 07:21:32 +02:00
tobi-wan-kenobi
7153c5fa0d Merge pull request #68 from meain/remove-unused
Remove unused variable in battery module
2017-04-21 07:21:13 +02:00
Tobias Witek
eaf6c0e61d [screenshots] Updated sensors screenshot 2017-04-21 07:20:09 +02:00
tobi-wan-kenobi
75ce28ddc0 Merge pull request #67 from mijoharas/feature-fewer-significant-figures-in-sensors
Remove decimal places for sensors.
2017-04-21 07:18:20 +02:00
Abin Simon
14943a69cb traffic module added 2017-04-21 10:46:16 +05:30
Abin Simon
ba3b3dd4cc non powerline gruvbox theme 2017-04-21 08:39:59 +05:30
Abin Simon
243e4b326c remove unused variable 2017-04-21 08:32:06 +05:30
mike-work
b1ce9645ac Remove decimal places for sensors. 2017-04-20 23:18:11 +01:00
Tobias Witek
2052f58dde [modules/sensors] Minor cosmetic changes + screenshot
Cosmetic changes:
* replace all single ticks with double ticks
* add vim line

Added screenshot for sensors module.
2017-04-19 18:53:45 +02:00
tobi-wan-kenobi
870130b8c3 Merge pull request #65 from mijoharas/feature-sensors-module
Feature sensors module
2017-04-19 18:48:10 +02:00
mike-work
76ec87157a Add sensors to README.md. 2017-04-19 12:38:49 +01:00
mike-work
3d50024e5f Create sensors module. 2017-04-19 12:36:35 +01:00
tobi-wan-kenobi
dc3881d99e [core] Make logging work in (hopefully) all situations
* Unless debugging has been enabled, log to stderr (i.e. do *not* try to
open a file)
* When debugging into a file, choose a location that is likely to be
writeable by the user (i.e. the user's home directory)
* Location of the logfile can also be specified
    
fixes #62
2017-04-04 15:15:50 +02:00
tobi-wan-kenobi
e6df55b3cb [config] Add logfile location parameter
Add commandline parameter to specify the logfile location.

see #62
2017-04-04 15:14:54 +02:00
Tobias Witek
e5db3d825d [modules/cmus] Declare file encoding
This seems to fix #51
2017-04-02 08:58:12 +02:00
Tobias Witek
0e502cef25 [bumblebee-status] Add missing import for error module 2017-04-02 08:56:44 +02:00
Tobias Witek
badc2648b6 [travis] Try to fix failing code coverage tests on PR 2017-04-02 08:44:32 +02:00
Tobias Witek
1f0f39394f [doc] Add documentation for debug mode 2017-04-02 08:34:17 +02:00
Tobias Witek
251f8d2e9f [core] Add debugging capabilities
* If an exception is thrown, catch it and show a (somewhat) nice error
  message in the i3bar instead of the normal content
* Add a flag "-d" for debugging into a debug log. Currently, this only
  logs commandline calls as they occur and their return values, as well
  as exceptions.

fixes #58
2017-04-02 08:31:23 +02:00
Tobias Witek
11235d6883 [modules/weather] Set indicator to "?" when data is invalid
If retrieving weather information fails, replace the temperature data
with a "?".

fixes #60
2017-04-01 16:53:39 +02:00
tobi-wan-kenobi
bb0b2995b9 Merge pull request #60 from elshize/weather-fail-on-disconnect
Catch RequestException when fetching weather
2017-04-01 16:48:33 +02:00
Michal Siedlaczek
d826e250c8 Catch RequestException when fetching weather 2017-04-01 09:23:32 -04:00
Tobias Witek
f0bacdecd8 [modules/xrandr] Fix a crash caused by Python3
Python3 does not have sys.maxint anymore, so replace it with
sys.maxsize, which is available in both Python2 and Python3.

fixes #59
2017-03-28 19:08:17 +02:00
tobi-wan-kenobi
6ac6114b2e Merge pull request #56 from cjlarose/master
Silence ImportErrors for optional dependencies
2017-03-26 09:37:41 +02:00
Chris LaRose
fe11bad826 Silence ImportErrors for optional dependencies. Fixes #55. 2017-03-25 18:35:56 -07:00
Tobias Witek
b20e83cb8a [engine] Fix interval configuration
Until now, manually specifying an interval did not work, as a cast to
float was missing. Now, it's possible to specify an update interval in
seconds via "-p interval=<interval>"

fixes #54
2017-03-16 21:04:24 +01:00
Tobias Witek
b710900875 [screenshots] Add amixer screenshot 2017-03-16 07:53:17 +01:00
Tobias Witek
c04178dedc [themes] Re-add fontawesome icon for pacman 2017-03-16 07:51:51 +01:00
tobi-wan-kenobi
1ec41051ac Merge pull request #53 from zetxx/master
new module: added volume level for amixer
2017-03-16 07:50:23 +01:00
zetxx
289b42b26a fix: state, check regex result before use it 2017-03-15 23:12:55 +02:00
zetxx
0b961e2304 fix: init type 2017-03-15 23:02:13 +02:00
zetxx
69e4780182 feat: added volume level for amixer 2017-03-15 22:55:05 +02:00
tobi-wan-kenobi
8767bcf4ec Merge pull request #50 from yashar-sb-sb/master
Fix issue number #49 and other improvements.
2017-03-10 22:18:21 +01:00
Yashar Shahi
c203cd6173 [modules/pacman] Update url filtering
Arch mirrors can also have rsync protocol
2017-03-10 21:18:34 +03:30
Yashar Shahi
4a5668654f [icons/awesome-fonts] Add prefix icon for pacman 2017-03-10 20:53:02 +03:30
Yashar Shahi
9b71fc9c9d [themes/solarized-powerline] Add good for pacman 2017-03-10 20:45:53 +03:30
Yashar Shahi
e2fcbfae4f [modules/pacman] Remove extra debugging raise 2017-03-10 20:02:28 +03:30
Yashar Shahi
82ce0ac834 [modules/pacman] Set thresholds
Compute weighted sum and set thresholds accordingly
2017-03-10 19:53:52 +03:30
Yashar Shahi
b9a4b590a4 [modules/pacman] Update list of repositories 2017-03-10 19:09:31 +03:30
Yashar Shahi
50d7a27487 Bug fix: pacman.py freezes the bar
Move update in a seperate thread.
2017-03-10 18:51:30 +03:30
yashar-sb-sb
88e3b8c146 Update pacman.py
Use widget to store parameters instead of using private variables.
2017-03-10 16:22:54 +03:30
Tobi-wan Kenobi
bb2ed63528 [test/disk] Fix unit test for disk module 2017-03-10 08:26:33 +01:00
Tobi-wan Kenobi
16c202a7ed [modules/disk] Remove stray unicode character in output 2017-03-10 08:17:43 +01:00
yashar-sb-sb
422348e01d Update diskspace()
Delete extra space! (looks better without the extra space. and now it's consistent with other widgets.)
2017-03-09 23:41:55 +03:30
yashar-sb-sb
3f96102b28 Update diskspace()
Add hdd icon.
2017-03-09 23:38:31 +03:30
yashar-sb-sb
dfb5bfe71c Update comment
Re-add the comment which was deleted by mistake.
2017-03-09 22:51:28 +03:30
yashar-sb-sb
9efca45b02 Update update()
Fix the issue with computation of used space.
2017-03-09 22:37:41 +03:30
yashar-sb-sb
3f17f0382e Update update module
Used shutil.disk_usage(path) instead of os.statvfs(path)
2017-03-09 20:39:40 +03:30
Tobi-wan Kenobi
ca9712770a Merge branch 'unit-test-refactoring' 2017-03-05 14:20:39 +01:00
Tobi-wan Kenobi
935b50a23b [tests] Maybe patching the platform call fixes the issue with Travis 2017-03-05 14:18:34 +01:00