Michael Carlberg
1075144b00
refactor(eventloop): Use concurrent queue for events
...
Events are now enqueued using a thread safe concurrent queue
which makes the previous eventloop locking redundant.
2016-10-29 06:48:51 +02:00
Michael Carlberg
fa7e3d4430
fix(script): Terminate running commands
...
Make sure the previous command has ended before
executing a new command.
This also fixes the execution block that was
caused by the tailing the command output of
action commands.
Fixes jaagr/lemonbuddy#131
2016-10-28 18:54:08 +02:00
Michael Carlberg
eac65cdabb
fix(cmake): Make specific c++lib linking optional
...
- Do not enforce linking against libc++
- Fix various linter warnings
2016-10-25 20:47:53 +02:00
Michael Carlberg
bc67e64e79
feat: Add math_util::percentage_to_value
2016-10-25 07:05:01 +02:00
Michael Carlberg
7905f37462
refactor(di): Move configure_T() to anonymous ns
2016-10-25 01:55:59 +02:00
Michael Carlberg
56b4657c3f
feat: New module xbacklight
...
Better implementation for showing backlight information.
This one is using the XRandR extension instead of
reading from the raw file handlers.
2016-10-19 14:46:44 +02:00
Michael Carlberg
3a5ee90bb5
fix(string_util): Type error
2016-10-19 10:10:28 +02:00
Michael Carlberg
d879d6d42e
fix: Throttle X input events
...
- Limit the amount of allowed input events
- Yield on lock failure
- Cleanup
2016-10-19 06:03:01 +02:00
Michael Carlberg
37e367eb79
fix(string_util): Prevent replace_all lock
2016-10-19 01:31:17 +02:00
Michael Carlberg
7e960a3966
fix(script): Rerun tail script when done
...
- Improve handling of command life time proc
- Restart tail command on successful completion
- Should fix jaagr/lemonbuddy#105
2016-10-19 01:31:05 +02:00
Michael Carlberg
334dc7731d
fix(string_util): Ensure find != replace
2016-10-18 06:29:25 +02:00
Michael Carlberg
d7d953d40a
fix(string_util): Proper squeezing
2016-10-18 06:22:44 +02:00
Michael Carlberg
dc82d0ed57
refactor(script): Make the module behave as intended
...
Tail script now block execution until there's data
available on the script's output stream.
Running commands are also being terminated properly.
2016-10-15 13:15:56 +02:00
Michael Carlberg
a891f3e53b
fix(ci): Do not use ccache
2016-10-12 04:30:03 +02:00
Michael Carlberg
774dec5d17
refactor(i3): Rewrite of the i3 module
2016-10-12 03:57:22 +02:00
Michael Carlberg
eb38fb85ac
fix: Make the application work properly using i3wm
2016-10-11 23:42:01 +02:00
Michael Carlberg
e1b6238564
feat: Restack-to-root
...
Fixes the issue where the bar window is being
drawn on top of fullscreen window's
2016-10-11 18:55:41 +02:00
Michael Carlberg
d23119e24e
fix(build): Make project compile using gcc5/gcc6
2016-10-11 12:58:26 +02:00
Michael Carlberg
f05d5678d4
refactor(bspwm): Use defined socket path for ipc connections
2016-10-11 09:23:26 +02:00
Michael Carlberg
d359ab6057
refactor: Application rewrite
2016-10-10 14:52:57 +02:00
Michael Carlberg
e94bd6a271
feat(config): Reference value in environment var
...
This makes it possible to reference env vars from any
config parameter using ${VARNAME}
Closes jaagr/lemonbuddy#36
2016-07-27 03:21:27 +02:00
Michael Carlberg
e1279d6582
refactor(xcb): Namespacing
2016-06-28 06:18:17 +02:00
Michael Carlberg
718cfd294d
fix(xcb): Use xcb_rectangle for monitor bounds
2016-06-24 01:42:58 +02:00
Michael Carlberg
ee1c980be1
xpp: Type aliases
2016-06-24 00:26:08 +02:00
Michael Carlberg
8b7f2b7268
refactor: Replace X11 handling with xpp+xcb
...
xrandr 1.5 is no longer required for the monitor
handling to work
fixes jaagr/lemonbuddy#12
fixes jaagr/lemonbuddy#24
2016-06-24 00:22:33 +02:00
Michael Carlberg
e36cf8518a
refactor: Pass by value
2016-06-21 06:01:21 +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
d530da0d50
fix(core): Output more details about defined bars at failure
2016-06-20 18:44:48 +02:00
Michael Carlberg
6cae06c4dc
refactor(script): Better handling of tail scripts
2016-06-14 12:15:22 +02:00
Michael Carlberg
3bc408e3cf
refactor(eventloop): Pipe handling
2016-06-14 12:15:21 +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
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
b63e25d6e7
fix(core): Nullptr checks
2016-06-01 17:03:11 +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
eeefb3c610
init(git): Base commit
2016-05-19 20:23:45 +02:00