Michael Carlberg
7d2e8adf59
build: Bump version to 2.2.0
2016-11-04 19:37:04 +01:00
Michael Carlberg
869c5fe718
refactor: Code cleanup
2016-11-04 19:21:56 +01:00
Michael Carlberg
ae501d6ae1
fix(tray): Support for pseudo transparency
...
Copy contents from the root pixmap onto the background
Fixes #125
2016-11-04 19:01:51 +01:00
Michael Carlberg
2a59236441
build: Bump version to 2.1.15
2016-11-03 19:02:12 +01:00
Michael Carlberg
d74dd7f3ef
fix(build): Remove disabled libs
2016-11-03 19:01:45 +01:00
Michael Carlberg
5f21d7d440
feat(bspwm): Support for multi monitors listing
...
- All available workspaces can now be listed, grouped
by monitor, by setting the module config `pin-workspaces`
to false
- Adds a new format tag <label-monitor>
- Treat <label-mode> as a normal format tag
2016-11-03 17:56:07 +01:00
Michael Carlberg
d71e5b909b
build: Bump version to 2.1.14
2016-11-03 15:29:17 +01:00
Michael Carlberg
a1472dfd0f
refactor(battery): Poll values by default
...
Fixes jaagr/lemonbuddy#140
2016-11-03 15:21:46 +01:00
Michael Carlberg
52c08675e6
fix(battery): Ignore the fake inotify event
...
Assume fake event if polling flag is set.
Fixes jaagr/lemonbuddy#140
2016-11-03 14:40:12 +01:00
Michael Carlberg
f3b3db9854
build: Bump version to 2.1.13
2016-11-03 13:00:03 +01:00
Michael Carlberg
af2289e397
fix(battery): Poll until real inotify event occurs
...
Fixes jaagr/lemonbuddy#140
2016-11-03 12:56:35 +01:00
Michael Carlberg
e7cb345cec
wip: Separate source from definitions
2016-11-03 12:54:32 +01:00
Michael Carlberg
566f33b8b2
build: Bump version to 2.1.12
2016-11-02 18:42:15 +01:00
Michael Carlberg
f83dbf19b1
fix(battery): Poll thread requires running module
...
Closes jaagr/lemonbuddy#140
2016-11-02 18:38:13 +01:00
Michael Carlberg
5d00f0bdce
build: Bump version to 2.1.11
2016-11-01 01:26:29 +01:00
Michael Carlberg
de3e0458a6
fix(tray): Catch restack failure
2016-10-31 05:37:51 +01:00
Michael Carlberg
738fc2a216
feat: Offset window position using %
2016-10-31 05:13:59 +01:00
Michael Carlberg
fe03570b5a
fix(tray): Target correct atom
2016-10-31 02:36:43 +01:00
Michael Carlberg
94298741b6
tray: Align center and extend configuration
...
- The tray can now be centered in the bar
- Set window atoms:
* _NET_SYSTEM_TRAY_COLORS
* _NET_SYSTEM_TRAY_VISUAL
- New parameters added:
* tray-background: Define background color
* tray-offset-x: X position offset
* tray-offset-y: Y position offset
* tray-padding: Add spacing on the side of each icon
* tray-maxsize: Size limit for tray icons, default: 16
* tray-scale: Icon zoom, default: 1.0
* tray-detached: The bar will ignore tray updates
2016-10-31 01:41:15 +01:00
Michael Carlberg
dd7967dede
fix(controller): Check for connection error in eventloop
2016-10-31 01:25:45 +01:00
Michael Carlberg
26c308cc19
feat(color_util): Utility functions for color handling
2016-10-31 01:25:19 +01:00
Michael Carlberg
55c9bf27ba
fix(controller): Uninstall sigmask on blocked term signal
2016-10-30 18:48:15 +01:00
Michael Carlberg
36d4ee0e67
refactor(battery): Cleanup
2016-10-30 18:47:01 +01:00
Michael Carlberg
2f7ec4ceee
fix: Alpha channel out of line
2016-10-30 08:04:59 +01:00
Michael Carlberg
c9af239516
fix: Widen color channels
2016-10-30 07:46:28 +01:00
Michael Carlberg
d8c309ec35
fix(date): Do not override get_output
2016-10-30 06:18:33 +01:00
Michael Carlberg
efba06dc2d
fix(xft): Allocate xft color by value
...
- Solves the issue with transparency using Xft.
- X11 fonts are still affected by the alpha issue.
Closes jaagr/lemonbuddy#119
2016-10-30 02:37:56 +01:00
Michael Carlberg
41ba9beeee
fix(fontmanager): Make sure font contains characters
2016-10-29 21:27:51 +02:00
Michael Carlberg
c3969e85ef
fix(fontmanager): Add safety check
2016-10-29 21:06:56 +02:00
Michael Carlberg
7a790aa87d
build: Bump version to 2.1.10
2016-10-29 19:49:03 +02:00
Michael Carlberg
c1be785be7
fix(progressbar): Add safety check
...
Fixes jaagr/lemonbuddy#132
2016-10-29 19:37:49 +02:00
Michael Carlberg
f0eb7e00c6
build: Bump version to 2.1.9
2016-10-29 12:39:13 +02:00
Michael Carlberg
d8c64fbce1
build: Bump version to 2.1.8
2016-10-29 08:28:46 +02:00
Michael Carlberg
2768041d7c
fix(network): Connection state
...
Closes jaagr/lemonbuddy#118
2016-10-29 07:26:57 +02:00
Michael Carlberg
e21d084fdd
fix(mpd): Connection state broadcasting
2016-10-29 06:52:48 +02: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
92900e78d6
fix(mpd): Wake up thread when stopping module
2016-10-28 19:52:20 +02:00
Michael Carlberg
d420fe3a0f
build: Bump version to 2.1.7
2016-10-28 19:25:25 +02:00
Michael Carlberg
17921823e0
fix(controller): Change verbosity of shutdown logging
2016-10-28 18:58:55 +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
6923e0e288
build: Bump version to 2.1.6
2016-10-28 14:56:43 +02:00
Michael Carlberg
1e30e4254a
fix(script): Make sure idle is called every iteration
2016-10-28 14:56:11 +02:00
Michael Carlberg
2cc6ef662a
fix(config): ${self.key} references the current section
2016-10-28 13:36:53 +02:00
Michael Carlberg
cc253b069a
build: Bump version to 2.1.5
2016-10-28 13:03:26 +02:00
Michael Carlberg
2661e87d83
fix(tray): Synchrounous unmap of empty tray window
2016-10-26 15:17:33 +02:00
Michael Carlberg
a1c018193a
fix(tray): Catch errors caused from invalid X windows
2016-10-26 13:42:40 +02:00
Michael Carlberg
f822865413
build: Bump version to 2.1.4
2016-10-26 12:22:08 +02:00
Michael Carlberg
660d06768b
fix(script): Set 2s default interval for timed scripts
2016-10-26 12:20:55 +02:00
Michael Carlberg
4167c8c11c
fix(bar): Allow true transparency
...
Fixes jaagr/lemonbuddy#119
2016-10-26 02:24:10 +02:00
Michael Carlberg
204ab89921
fix(bar): Use premultiplied rgb color for X fonts
...
Closes jaagr/lemonbuddy#119
2016-10-26 01:50:37 +02:00
Michael Carlberg
fb7a59c6d9
fix(bar): Properly flush xcb connection
...
Closes jaagr/lemonbuddy#114
2016-10-25 23:58:29 +02:00
Michael Carlberg
ec1326f950
build: Bump version to 2.1.3
2016-10-25 23:12:24 +02:00
Michael Carlberg
91a9bb6d95
refactor(tray): Better support for conflicting managers
...
Listen for destroy event on the new manager window when
systray selection is lost. If the window gets destroyed
we can re-activate the manager.
2016-10-25 22:59:02 +02:00
Michael Carlberg
2529ec0520
fix(logger): Add pragmas to silence GCC error
2016-10-25 22:47:31 +02:00
Michael Carlberg
5edfe3729b
build: Bump version to 2.1.2
2016-10-25 21:08:21 +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
d9db7edc72
build: Bump version to 2.1.1
2016-10-25 16:41:56 +02:00
Michael Carlberg
83ae9f6435
fix(xbacklight): Allow larger property values
...
Not all backlight values are within 8 bit range
so do not truncate property values
2016-10-25 16:40:01 +02:00
Michael Carlberg
9496e9aa22
feat(logger): trace_x() for verbose trace logging
2016-10-25 13:10:34 +02:00
Michael Carlberg
e239140db7
build: Bump version to 2.1.0
2016-10-25 08:59:14 +02:00
Michael Carlberg
2776155794
fix(volume): Proper handling of module events
...
When processing module events, a new instance for each
mixer is created so that the module event loop will receive
the mixer update events.
Closes jaagr/lemonbuddy#116
Closes jaagr/lemonbuddy#89
2016-10-25 08:53:55 +02:00
Michael Carlberg
4b2c73452c
fix(ramp): Always load ramp fallback values
2016-10-25 08:53:40 +02:00
Michael Carlberg
7a1193c698
fix: Increase SIGKILL termination timer
2016-10-25 08:45:21 +02:00
Michael Carlberg
d2187f44e0
refactor(drawtypes): Cleanup and fixes
2016-10-25 07:10:05 +02:00
Michael Carlberg
a0f0fc8723
refactor: Add module::halt(error)
2016-10-25 07:07:24 +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
bcf9249dc7
refactor: Use plain std::function callbacks
...
Replace fastdelegate with plain std::function's because
of incomplete clang support
2016-10-25 01:51:57 +02:00
Michael Carlberg
6b9d162981
git: Remove header symlink
2016-10-25 01:47:35 +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
3c0cc72c55
fix(config): Test type and not value
2016-10-19 10:06:29 +02:00
Michael Carlberg
94ded75756
feat(config): Reference values defined in Xresources
...
Add config tag to reference a value defined in the Xresource db
`parameter = ${xrdb:var_name}`
2016-10-19 09:16:09 +02:00
Michael Carlberg
3eb531b6b5
build: Bump version to 2.0.1
2016-10-19 06:07:55 +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
1c882508ec
fix: Drop superflous prefix when throwing module_error
2016-10-19 02:15:52 +02:00
Michael Carlberg
68f72d69cc
refactor: Drop tokenized labels
...
Handle placeholder tokens inside each label
instead of cloning into a new instance each time
2016-10-19 01:31:17 +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
01c5dcb6b7
fix: Guarded module teardown
2016-10-18 17:55:34 +02:00
Michael Carlberg
f09858a1ed
fix(controller): Checked request to update root window event mask
2016-10-18 17:53:10 +02:00
Michael Carlberg
5323167b1e
fix(xrandr): Ignore harmless extension errors
...
Closes jaagr/lemonbuddy#106
2016-10-18 17:31:58 +02:00
Michael Carlberg
65b921ecd9
fix: Less verbose debug logging for %{A}
2016-10-18 12:22:14 +02:00
Michael Carlberg
5fd8c50dde
fix(i3): Shutdown on socket disconnect
2016-10-18 11:49:13 +02:00
Michael Carlberg
df93cabf22
fix: Acquire lock when stopping modules
2016-10-18 10:35:15 +02:00
Michael Carlberg
5796bde25d
fix(network): Acquire lock on cleanup
2016-10-18 10:22:48 +02:00
Michael Carlberg
82f311b695
refactor(network): Code cleanup
...
- Cleanup of network module and adapter
- Check operstate instead of carrier when testing the
the current connection state, as suggested by @patrick96 in #44
- Separate signal quality and signal strength
- Log failed attempt to query device driver
2016-10-18 09:41:20 +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
de0c3eb46a
fix(parser): Support default button index for actions
...
Defining an action without a button index caused a segfault since
the parser was treating it as the close of a previously opened action
block. This makes the parser use button LEFT as a fallback.
Also ensure that an action block has been opened before
attempting to close the block.
Fixes jaagr/lemonbuddy#104
2016-10-17 05:55:03 +02:00
Michael Carlberg
3d30aba0e9
fix(volume): Make sure handled event get broadcasted
2016-10-17 03:43:56 +02:00
Michael Carlberg
64d578f23d
fix(modules): Generic method for broadcasting handled events
2016-10-17 03:31:14 +02:00
Michael Carlberg
c1acf6c05f
fix: Clear the pixmap properly when shifting content
...
Closes jaagr/lemonbuddy#100
2016-10-16 12:27:30 +02:00
Michael Carlberg
90dd0b2b9a
fix(volume): Drop unnecessary lock guard
2016-10-16 02:31:07 +02:00
Michael Carlberg
21d91b0d91
refactor(volume): Support Master only setups
2016-10-16 02:22:47 +02:00
Michael Carlberg
8b91852284
fix(cpu): Core 0 should not be ignored
...
Closes jaagr/lemonbuddy#98
2016-10-15 23:37:40 +02:00
Michael Carlberg
ba1939f4ca
fix(script): Make sure the output is passed through the formatter
...
Fixes jaagr/lemonbuddy#97
2016-10-15 21:52:52 +02:00
Michael Carlberg
4a49ba340c
fix(volume): Do not require speaker/headphone for events
...
Closes jaagr/lemonbuddy#96
2016-10-15 21:04:03 +02:00
Michael Carlberg
17e16d18a9
fix(i3): Make tray copy the bar' visibility state
...
This adds a fallback routine where the tray window will
get notified whenever the bar window changes its visibility
state. Required in case of failure to restack the tray container
above the bar window in the window stack.
Fixes jaagr/lemonbuddy#95
2016-10-15 20:10:40 +02:00
Michael Carlberg
0128168c51
fix: Update _NET_WM_* atoms for the bar window
2016-10-15 20:07:05 +02:00