Commit Graph

407 Commits

Author SHA1 Message Date
Michael Carlberg
65b921ecd9 fix: Less verbose debug logging for %{A} 2016-10-18 12:22:14 +02:00
Michael Carlberg
32579df73b git(i3ipcpp): Reference v0.4.1 2016-10-18 12:12:33 +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
4d24097092 fix(docs): Add libcx11-xcb-dev to the list of dependencies 2016-10-17 05:59:13 +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
Michael Carlberg
1445b95af8 refactor: Moved global signals to separate namespace 2016-10-15 19:45:17 +02:00
Michael Carlberg
20991a3465 fix(tray): Handle error when trying to restack window 2016-10-15 14:51:37 +02:00
Michael Carlberg
8750894bb3 fix(i3): Ignore ipc read error on shutdown 2016-10-15 14:44:35 +02:00
Michael Carlberg
178b656d08 fix(tray): Catch error while processing docking requests 2016-10-15 14:00:33 +02:00
Michael Carlberg
bcd1774370 fix(tray): Put tray above bar in the window stack
Closes jaagr/lemonbuddy#94
2016-10-15 13:59:25 +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
ce93a63cb8 fix: Terminate if there are no configured modules 2016-10-15 13:10:08 +02:00
Michael Carlberg
98b5bae096 fix: Offset initial module update to avoid throttling 2016-10-15 13:09:22 +02:00
Michael Carlberg
e77dcac58c git(i3ipcpp): Reference v0.4.0 2016-10-15 04:25:30 +02:00
Michael Carlberg
ee35e045fa git(xpp): Reference 1.2.2 2016-10-15 04:07:54 +02:00
Michael Carlberg
0bac9c3f89 fix(tray): Deactivate the tray before removing the bar 2016-10-15 03:58:53 +02:00
Michael Carlberg
4f87db79b8 fix: Renamed bar in example configs 2016-10-15 03:51:14 +02:00
Michael Carlberg
59329d36a9 fix(docs): Moved launching details to github wiki 2016-10-15 03:47:04 +02:00
Michael Carlberg
1ab0724347 fix(tray): Join notify thread after setting activate state 2016-10-15 03:33:35 +02:00
Michael Carlberg
6b0109e8dd fix(tray): Make sure stray clients are notified
If the tray is being activated while clients are in
the process of getting dismissed by another MANAGER
they will not receive the new MANAGER broadcast.

Delayed broadcasts are sent to make sure they're notified.
2016-10-15 03:20:19 +02:00
Michael Carlberg
048f09abc3 fix(logger): Use correct fd when testing if it's a tty 2016-10-15 02:40:05 +02:00
Michael Carlberg
c94282783d fix(docs): Moved configuration details to the github wiki 2016-10-15 00:32:34 +02:00
Michael Carlberg
c88b054c5c Merge pull request #92 from MoKev/master
feat(i3): Scrollable workspaces and strip-wsnumber option
2016-10-15 00:05:12 +02:00
Kevin Morio
069555e3d4 Scroll through workspaces on same monitor only 2016-10-14 23:54:32 +02:00
Kevin Morio
32ac7a5f38 feat(i3): Scrollable workspaces and strip-wsnumber option 2016-10-14 20:41:36 +02:00
Michael Carlberg
9238f56b72 fix(script): Broadcast empty content once 2016-10-14 17:18:29 +02:00
Michael Carlberg
09a797b637 fix(i3): Stop the module on ipc error
Should fix jaagr/lemonbuddy#83
2016-10-14 16:20:58 +02:00
Michael Carlberg
1f0468add1 fix(i3): Simplified default configuration 2016-10-14 16:11:48 +02:00
Michael Carlberg
8c1ef97624 git: Remove local TODO file 2016-10-14 14:33:38 +02:00
Michael Carlberg
c8def6677d fix(script): Dispatch subthread on setup
Closes jaagr/lemonbuddy#77
2016-10-14 11:36:10 +02:00
Michael Carlberg
6f286055c5 fix(network): Let module fail silently
The network module should not terminate the
application on failure

Closes jaagr/lemonbuddy#81
2016-10-14 10:48:22 +02:00
Michael Carlberg
fcd30c5320 fix: Revert to old offset behaviour
The offset-x should not affect the width
of the bar window

Closes jaagr/lemonbuddy#79
2016-10-14 10:38:06 +02:00
Michael Carlberg
46976d10ff fix(docs): Update list of apt-get packages
Closes jaagr/lemonbuddy#78
2016-10-14 10:17:18 +02:00
Michael Carlberg
009088c3fe fix(aur): Require python in build scripts
Fixes jaagr/lemonbuddy#76
2016-10-12 19:16:31 +02:00
Michael Carlberg
4a87df5afe fix(docs): Add python2 to list of dependencies 2016-10-12 19:12:29 +02:00