1a2a6e5fab
refactor: Construction methods
2016-12-14 11:01:44 +01:00
08be86fbe1
wip(refactor): Improve signal and event handling
2016-12-14 11:01:44 +01:00
d45fd76dcd
refactor(config): Drop boost::property_tree
2016-12-14 10:57:45 +01:00
8da52af6a2
fix(tray): Attached offset relative to inner area
2016-12-14 10:55:40 +01:00
24df9e30a3
fix(tray): Correct alignment coords
2016-12-14 10:55:40 +01:00
4c2d710169
fix(tray): Adjust action coords
...
Ref #241
2016-12-14 10:55:36 +01:00
ec39859093
feat: Window click handlers
...
New parameters for defining fallback click handlers
that will be triggered for the whole window unless
a module action is matched.
Parameters added to all [bar/foo] sections:
- `click-left = ...`
- `click-middle= ...`
- `click-right= ...`
- `scroll-up= ...`
- `scroll-down= ...`
Ref #226
2016-12-05 13:17:15 +01:00
c870a9efa7
fix(tray): Do not reserve space when detached
...
Ref #218
2016-12-04 05:53:45 +01:00
fbca73a83b
fix: Check ptr before accessing
2016-12-04 01:15:00 +01:00
9f16e3fff7
refactor: Rename dock to override-redirect
2016-12-03 23:21:40 +01:00
d6a0c84e0b
refactor(tray): Update using eventloop
2016-12-03 23:01:21 +01:00
aca249727a
fix(tray): Emit visibility state before activate
2016-12-03 21:19:39 +01:00
bb0cfcf033
fix(tray): Visibility change
2016-12-03 20:26:29 +01:00
a3f2e8aa51
fix: Reconfigure position after mapping
...
Ref #212
2016-12-03 18:38:35 +01:00
4776ec49df
fix: Use defined event sink priority
2016-12-03 13:00:40 +01:00
a1ad4de470
fix: Fill background for initial draw
...
Ref #179
2016-12-03 12:58:43 +01:00
608519363d
feat(xkeyboard): New module
...
New module that uses the X keyboard extension
to show keyboard layout and indicators.
Ref #84 , #200
2016-11-30 10:08:44 +01:00
4852f2817c
feat: Reload on XCB_RANDR_SCREEN_CHANGE_NOTIFY
2016-11-27 01:14:02 +01:00
9f4638f42c
refactor: Cleanup
2016-11-26 06:13:20 +01:00
ff9be848c7
refactor(clang-tidy): Apply fixes
2016-11-25 21:58:49 +01:00
9fdc22843b
refactor: Cleanup rendering
2016-11-25 04:42:27 +01:00
84d58e7619
refactor: Cleanup handling of syntax tags
2016-11-25 04:34:24 +01:00
4794ef653c
refactor(renderer): Separate methods
2016-11-22 23:18:47 +01:00
6e35bcd183
fix(bar): Draw empty window at launch
...
Ref #179
2016-11-22 20:52:07 +01:00
09e0ea1932
config: Print deprecation warnings
2016-11-22 03:01:50 +01:00
733341d62b
fix: Skip button events unless lock acquired
2016-11-22 02:06:25 +01:00
0c64b64ff8
refactor: Cleanup
2016-11-22 01:22:47 +01:00
ebf1bd1129
feat: Support different under-/overline
...
Make it possible to set different size
and color values for the two properties.
`overline-size = 2`
`overline-color = #f00`
`underline-size = 5`
`underline-size = #00f`
2016-11-21 16:16:06 +01:00
25e33b6aab
refactor: Separate render component
2016-11-21 16:16:02 +01:00
c6d85b2b92
refactor: Optimize build
2016-11-20 23:04:31 +01:00
fd57ab0f3d
fix: project rename
2016-11-19 06:26:07 +01:00
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
0a1e9c86c4
fix: Add monitor y to strut top value
2016-11-18 18:04:43 +01:00
2140e11369
fix: Do not require custom font list
2016-11-18 18:04:43 +01:00
70a5f1d41e
fix: Bottom strut relative to screen
2016-11-15 02:28:42 +01:00
ffe76b0556
fix(tray): Avoid tray redraw on bar update
2016-11-15 01:00:51 +01:00
4b0e648cb8
refactor: Cleanup
2016-11-14 00:46:50 +01:00
c480f6fd1e
refactor: Move strut handling to window class
2016-11-13 16:10:20 +01:00
4224d838a8
refactor(bar): Strut values based on EMWH spec
2016-11-13 13:25:57 +01:00
4d7f6c14e6
fix(xrandr): Less strict monitor matching
...
Be less strict when matching randr outputs
against specified name. This is a workaround
to fix the output naming issue when switching
between graphic drivers.
On my system the output names include a dash
when using the nvidia drivers but the intel
driver does not.
nvidia:
HDMI-1
eDP-1
xf86-video-intel:
HDMI1
eDP1
When strict mode is disabled the matching
won't care about the connection state.
The user can re-enable exact matching and
connection state testing by setting the
config parameter `monitor-strict = true`
2016-11-12 20:42:56 +01:00
171e69bd30
fix: tray-position should be optional
2016-11-12 13:14:08 +01:00
23996fdcdc
refactor: Tray transparency and code cleaning
...
- Make pseudo-transparency work as intended, fixes #158
- Fill tray pixmap in case a root pixmap is not found
- Split up bar bootstrap routine
- Formatting (clang-format)
2016-11-12 13:09:50 +01:00
d9707068f9
fix(tray): Disable tray if nodraw is set
2016-11-11 10:23:21 +01:00
a1d30ddee3
feat: Configurable _NET_WM_STRUT_PARTIAL
...
Bspwm just released support for _NET_WM_STRUT_PARTIAL
which can be used to fix the workspace padding
New config section:
[global/wm]
margin-top = 5
margin-bottom = 5
margin-left = 5
margin-right = 5
2016-11-04 20:23:15 +01:00
de2ee4db1b
fix(tray): Default to bar background rgb
2016-11-04 19:33:38 +01:00
0814ed381f
refactor: Group consecutive ascii chars and render string
2016-11-04 19:22:00 +01:00
869c5fe718
refactor: Code cleanup
2016-11-04 19:21:56 +01:00
004d499ce3
fix: Make sure background colors are filled
...
Fixes a bug where alignment changes caused
the previous background to bleed over because
of the shift.
Fixes #141
2016-11-04 12:06:52 +01:00
e7cb345cec
wip: Separate source from definitions
2016-11-03 12:54:32 +01:00