Michael Carlberg
334c454eec
concurrency_util: Mutex wrapper
2016-12-26 10:33:23 +01:00
Michael Carlberg
f80d8ebf5b
file_util: File descriptor streams
2016-12-26 10:29:32 +01:00
Michael Carlberg
3681247dc1
refactor(file_util): Move block mode helpers
2016-12-25 19:58:52 +01:00
Michael Carlberg
debb3534c7
concurrency_ytil: Thread id
2016-12-23 05:18:58 +01:00
Michael Carlberg
fa0d77f267
refactor(file_descriptor): Use unique_ptr
2016-12-23 01:07:00 +01:00
Michael Carlberg
bc9b9f0d12
refactor: Cleanup
2016-12-21 23:22:02 +01:00
Michael Carlberg
185363056a
refactor(x11): Cleanup
2016-12-21 15:04:16 +01:00
Michael Carlberg
c01f111e34
refactor(modules): Move setup to constructor
2016-12-21 08:00:09 +01:00
Michael Carlberg
a89c4ef2dd
refactor: Move all event handling to the controller
2016-12-20 05:16:04 +01:00
Michael Carlberg
b417c9f812
feat(github): New module
...
Module used to query the GitHub API for information.
Currently only supports notification count.
Ref #84
2016-12-19 22:12:31 +01:00
Michael Carlberg
a0d485f79d
refactor: Initialize data
2016-12-15 09:30:31 +01:00
Michael Carlberg
f9062d031c
refactor(clang-tidy): Apply fixes
2016-12-15 03:30:41 +01:00
Michael Carlberg
105e4437ff
fix(memory_util): Initialize malloc ptr
2016-12-14 15:06:46 +01:00
Michael Carlberg
b156d1bbf4
refactor(bspwm): Cleanup
2016-12-14 11:01:44 +01:00
Michael Carlberg
7822f912aa
feat(socket): Utility function peek()
2016-12-14 11:01:44 +01:00
Michael Carlberg
5077325044
refactor(string_util): Use rvalue references for *trim()
2016-12-14 11:01:44 +01:00
Michael Carlberg
5e2a0bd298
refactor(alsa): Forward alsa structs and split classes
2016-12-14 11:01:44 +01:00
Michael Carlberg
1a2a6e5fab
refactor: Construction methods
2016-12-14 11:01:44 +01:00
Michael Carlberg
08be86fbe1
wip(refactor): Improve signal and event handling
2016-12-14 11:01:44 +01:00
Michael Carlberg
0ed173b96e
refactor(i3): Output based wrapping
2016-12-14 04:45:31 +01:00
Michael Carlberg
f4529dde99
feat(i3): Conditional wrap around on scroll
...
Ref #242
2016-12-14 00:46:54 +01:00
Michael Carlberg
44da14755d
refactor(clang-tidy): Apply fixes
2016-12-04 04:11:47 +01:00
Michael Carlberg
0cfddf7d72
feat(token): Add optional suffix to label tokens
2016-12-04 04:03:17 +01:00
Michael Carlberg
5f6d73a415
fix(command): Use execlp()
...
Ref #214
2016-12-03 20:52:43 +01:00
Michael Carlberg
ef9b37447b
fix(xcb): Deallocate using deleter
2016-12-03 16:44:08 +01:00
Michael Carlberg
086e498388
fix: Replace process on reload
2016-12-03 15:46:48 +01:00
Michael Carlberg
0f91d3d8df
fix(ewmh): Use deleter to deallocate atoms
2016-12-03 15:45:11 +01:00
Michael Carlberg
c6540a8950
refactor: Signaling
2016-12-01 08:56:16 +01:00
Michael Carlberg
6f6c5b7459
fix(string_util): Join vector of strings
2016-11-27 01:32:21 +01:00
Michael Carlberg
c5bc338ae3
feat(math_util): Templated min/max
2016-11-26 13:09:29 +01:00
Michael Carlberg
9f4638f42c
refactor: Cleanup
2016-11-26 06:13:20 +01:00
Michael Carlberg
ff9be848c7
refactor(clang-tidy): Apply fixes
2016-11-25 21:58:49 +01:00
Michael Carlberg
4268817c51
fix(config): Trigger reload on correct event
...
Fixes #85
2016-11-25 14:17:56 +01:00
Michael Carlberg
8db3e79919
refactor(clang-format): Apply fixes
2016-11-25 14:17:41 +01:00
Michael Carlberg
84d58e7619
refactor: Cleanup handling of syntax tags
2016-11-25 04:34:24 +01:00
Michael Carlberg
0c64b64ff8
refactor: Cleanup
2016-11-22 01:22:47 +01:00
Michael Carlberg
25e33b6aab
refactor: Separate render component
2016-11-21 16:16:02 +01:00
NBonaparte
4179f8b7f9
feat: added max and min values to tokens
2016-11-20 16:37:48 -08:00
Michael Carlberg
d6a5212ef3
fix(volume): Handle alsa playback range
...
Ref #174
2016-11-20 23:49:08 +01:00
Michael Carlberg
c6d85b2b92
refactor: Optimize build
2016-11-20 23:04:31 +01:00
Michael Carlberg
40fcabd644
fix(config): Proper dereference of ${self.key}
2016-11-19 19:18:28 +01:00
Michael Carlberg
fd57ab0f3d
fix: project rename
2016-11-19 06:26:07 +01:00
Michael Carlberg
51d8f289fa
feat(xwindow): New module "xwindow"
...
Add module to display title of active window.
Requires WM with support for the _NET_ACTIVE_WINDOW hint.
Ref #84
2016-11-19 04:05:13 +01:00
Michael Carlberg
e3065d0e6c
feat(ipc): New ipc module
...
Add a new module that allow users to configure hooks
on received ipc messages. The hook will execute the defined
shell script and the output of the script will be used
as the module content.
Ref #84
2016-11-14 09:26:40 +01:00
Michael Carlberg
9a0df75a91
feat(fs): New filesystem module
...
Module that displays details about
mounted filesystems, #84
Closes #153
2016-11-13 06:14:34 +01:00
Michael Carlberg
3edd33be99
fix(build): Include poll.h instead of sys/poll.h
...
- Include <poll.h> to get rid of musl warnings
2016-11-12 15:50:18 +01:00
Michael Carlberg
869c5fe718
refactor: Code cleanup
2016-11-04 19:21:56 +01:00
Michael Carlberg
d74dd7f3ef
fix(build): Remove disabled libs
2016-11-03 19:01:45 +01:00
Michael Carlberg
e7cb345cec
wip: Separate source from definitions
2016-11-03 12:54:32 +01:00
Michael Carlberg
26c308cc19
feat(color_util): Utility functions for color handling
2016-10-31 01:25:19 +01:00
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