Commit Graph

353 Commits

Author SHA1 Message Date
Michael Carlberg
e7cb345cec wip: Separate source from definitions 2016-11-03 12:54:32 +01:00
Michael Carlberg
d359ab6057 refactor: Application rewrite 2016-10-10 14:52:57 +02:00
Michael Carlberg
99f97b07eb fix(bspwm): Look for socket path in env variable
Fixes jaagr/lemonbuddy#29
2016-06-30 16:12:13 +02:00
Michael Carlberg
80e6936cdc refactor: Use shared_ptr for Bar/Opts 2016-06-29 12:42:54 +02:00
Michael Carlberg
f406f1eb9f Cleanup and compiler check fixes 2016-06-29 11:06:44 +02:00
Michael Carlberg
f2999b7272 fix(date): Do not trigger updates when unchanged 2016-06-29 11:05:30 +02:00
Michael Carlberg
35d84ccb8d fix(i3): Release wait lock 2016-06-28 17:16:46 +02:00
Michael Carlberg
b8a1dd628e refactor(bspwm): Better socket handling
- Reconnect on POLLHUP
- Switch desktop using socket instead of std::system()

Fixes jaagr/lemonbuddy#27
2016-06-28 05:11:14 +02:00
Michael Carlberg
8b030930af refactor: Better handling of spaces between format tags
Ignore spaces if the previous tag was not outputted
2016-06-28 01:05:48 +02:00
Michael Carlberg
ab06ed2c16 refactor(mpd): Cleanup 2016-06-28 01:05:45 +02:00
Michael Carlberg
f25d26fbd9 fix(mpd): Safety check 2016-06-27 22:55:52 +02:00
Michael Carlberg
78823fda6d fix(mpd): Broadcast connection state changes once 2016-06-27 22:23:42 +02:00
Michael Carlberg
8caa95de7f fix: Initialize token labels in constructor 2016-06-22 19:07:57 +02:00
Michael Carlberg
04bd48d104 fix(volume): Cleanup mixers on early destruct 2016-06-21 16:35:37 +02:00
Michael Carlberg
5f0a90722a fix(battery): Replace debug message with trace 2016-06-21 07:50:05 +02:00
Michael Carlberg
fd88c60b97 fix(network): Use local logger 2016-06-21 07:49:15 +02:00
Michael Carlberg
d8a3d7d5f6 feat(mpd): Format tags for back-/forward seek 2016-06-21 05:10:18 +02:00
Michael Carlberg
006f3f8efd fix(mpd): Default tag values 2016-06-21 04:38:14 +02:00
Michael Carlberg
89ea8d9146 fix(battery): Store paths 2016-06-21 04:38:01 +02:00
Michael Carlberg
ec2c27a44b fix: Lock all mutexes on destruct 2016-06-21 04:26:42 +02:00
Michael Carlberg
c506829e4e fix(core): Move non-templated method bodies out of header 2016-06-21 04:23:28 +02:00
Michael Carlberg
d451318bbd fix(mpd): Disconnect on destruct 2016-06-21 04:23:28 +02:00
Michael Carlberg
e1f8c001dd refactor: Pass by value 2016-06-21 04:23:23 +02:00
Michael Carlberg
b26ab9ce5f task: Removed obsolete timer util 2016-06-20 22:18:53 +02:00
Michael Carlberg
ec92ac91ab feat(core): Custom thread sleep
Makes it possible to manually wake up sleeping threads
2016-06-20 22:11:58 +02:00
Michael Carlberg
55f5a6fb70 task: Removed torrent module 2016-06-20 15:08:13 +02:00
Michael Carlberg
7490841e55 fix(mpd): Ignore timer updates if not playing 2016-06-15 05:16:59 +02:00
Michael Carlberg
6cae06c4dc refactor(script): Better handling of tail scripts 2016-06-14 12:15:22 +02:00
Michael Carlberg
ea15f4a5de fix(battery): Prevent broadcast if values are unchanged 2016-06-14 05:24:56 +02:00
Michael Carlberg
f7734de26a feat(script): Option to tail script output 2016-06-13 23:41:59 +02:00
Michael Carlberg
2c74cb06de task(dsl): Replace colons with dashes
Colons break ini syntax highlighters and linters.
2016-06-11 07:49:14 +02:00
Michael Carlberg
0e9900db74 fix(volume): Improve mixer event handling
Fixes jaagr/lemonbuddy#14
2016-06-10 01:09:54 +02:00
Michael Carlberg
f667b739f0 task(mpd): Move connection settings to config
Closes jaagr/lemonbuddy#16
2016-06-09 13:44:01 +02:00
Michael Carlberg
331c94c248 fix(volume): Handle non synced mute 2016-06-02 18:45:48 +02:00
Michael Carlberg
39d3f61497 refactor(core): Clean-up
- use "#pragma once" instead of the regular include guard
- fix errors and warnings reported by cppcheck
2016-06-02 01:32:06 +02:00
Michael Carlberg
a410e182a9 fix(volume): Unit testing would be nice 2016-06-01 16:35:24 +02:00
Michael Carlberg
78effb28b8 fix(volume): Prevent nullptr 2016-06-01 16:26:44 +02:00
Michael Carlberg
f1e7991279 fix(battery): Check file existance 2016-06-01 16:06:36 +02:00
Michael Carlberg
9321fb0db9 fix(backlight): Check file existance 2016-06-01 16:06:24 +02:00
Michael Carlberg
af6ef01ea6 fix(cpu): Bad value for total load percentage 2016-06-01 08:18:49 +02:00
Michael Carlberg
f573fcc531 fix(bspwm): Do not output empty click handlers 2016-06-01 07:49:14 +02:00
Michael Carlberg
85f9dfd872 fix(network): Remove pointless lock 2016-05-31 16:07:55 +02:00
Michael Carlberg
688ca94658 fix(battery): Remove pointless lock 2016-05-31 15:51:48 +02:00
Michael Carlberg
260519ec55 fix(battery): Better safety checks 2016-05-31 15:40:17 +02:00
Michael Carlberg
9f520dea7a fix(network): Proper handling of connectivity testing 2016-05-31 12:34:49 +02:00
Michael Carlberg
de1d5f3f4a fix(battery): Make it possible to disable polling 2016-05-31 03:05:09 +02:00
Michael Carlberg
4a6a36f08f fix(battery): Poll capacity level
Some distros doesn't report any inotify event's for
the filesystem where the battery capacity file is located.

Resort to polling for now...
2016-05-31 02:55:08 +02:00
Michael Carlberg
23b2cc69dd fix(battery): Proper handling of charge animation
Closes jaagr/lemonbuddy#3
2016-05-26 11:50:01 +02:00
Michael Carlberg
40524979d0 fix(script): Do not process empty script output 2016-05-24 23:37:16 +02:00
Michael Carlberg
34832d8cd8 fix(core): Catch exit codes 2016-05-24 04:00:01 +02:00
Michael Carlberg
a83ecb36db fix(memory): Set vars to 0 if exception is thrown 2016-05-24 03:47:31 +02:00
Michael Carlberg
c7b6554668 fix(mpd) Support relative seek percentages 2016-05-20 05:34:07 +02:00
Michael Carlberg
eeefb3c610 init(git): Base commit 2016-05-19 20:23:45 +02:00