Commit Graph

711 Commits

Author SHA1 Message Date
Michael Carlberg
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
Michael Carlberg
2314b57bce fix(cmake): Default module flags based on libs 2016-11-12 17:25:44 +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
fe1d0579ec fix(build): Handle empty list of bat/adp names 2016-11-12 15:03:45 +01:00
Michael Carlberg
d02e2a47fb build: Bump version to 2.2.5 2016-11-12 13:55:06 +01:00
Michael Carlberg
03b6e1197e docs: Update README 2016-11-12 13:54:27 +01:00
Michael Carlberg
42bcfd9fa1 feat(bspwm): Configurable scroll/click actions 2016-11-12 13:37:07 +01:00
Michael Carlberg
171e69bd30 fix: tray-position should be optional 2016-11-12 13:14:08 +01:00
Michael Carlberg
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
Michael Carlberg
f2bbd301f2 feat(xbacklight): Change value on scroll
- Add action handlers for scroll up/down (conf: enable-sroll = true)
- Use xcb_timestamps instead of the throttle util
2016-11-12 13:07:05 +01:00
Michael Carlberg
2740e69a38 refactor(i3): Cleanup and configurable actions
- Do not throw on handle_event failure
- Add settings to disable mouse scroll/click actions
- Add fold markers
- Misc cleanup
2016-11-12 13:07:05 +01:00
Michael Carlberg
d9e3f8a2a7 feat(build.sh): Prompt for build options 2016-11-12 13:07:05 +01:00
Michael Carlberg
05c318e97b feat(config): Generate config based on build 2016-11-12 13:07:05 +01:00
Michael Carlberg
d7be6b1bec clang-format: Increase column limit 2016-11-12 13:07:05 +01:00
Michael Carlberg
1e08aa455b feat(temperature): Support for <ramp> 2016-11-12 13:07:05 +01:00
Michael Carlberg
63b9c38435 Merge pull request #160 from NBonaparte/bspwm-scroll
feat(bspwm): added scrolling
2016-11-12 03:18:58 +01:00
NBonaparte
fbd957bf33 feat(bspwm): added scrolling 2016-11-11 10:55:37 -08:00
Michael Carlberg
dc2d33ceba fix(bspwm): Remove monitor property
- Use the bar settings stored in the base class.
- Add fold markers
2016-11-11 11:05:22 +01:00
Michael Carlberg
fd44bcd8f6 fix(bspwm): Do not print empty mode labels 2016-11-11 11:04:53 +01:00
Michael Carlberg
d9707068f9 fix(tray): Disable tray if nodraw is set 2016-11-11 10:23:21 +01:00
Michael Carlberg
07c6ce8966 Merge pull request #156 from NBonaparte/temperature
feat(temperature): Added temp module and examples
2016-11-11 10:03:22 +01:00
NBonaparte
a06b38f534 feat(temperature): Added temp module and examples 2016-11-10 22:54:07 -08:00
Michael Carlberg
ee68aea773 build: Bump version to 2.2.4 2016-11-08 13:56:40 +01:00
Michael Carlberg
a8e902c579 fix(progressbar): Safety check
Fixes #152
2016-11-08 13:55:21 +01:00
Michael Carlberg
22328c4b13 Merge pull request #147 from NBonaparte/volume_mapping
feat(volume): Added volume mapping
2016-11-08 10:53:32 +01:00
NBonaparte
dce81d4266 feat(volume): Added volume mapping 2016-11-05 14:32:09 -07:00
Michael Carlberg
b470337e0a build: Bump version to 2.2.3 2016-11-04 21:08:34 +01:00
Michael Carlberg
23a57b6226 fix(tray): Ensure minimum window width 2016-11-04 21:08:14 +01:00
Michael Carlberg
ccee2ba025 fix(travis): Install xcb-util-image 2016-11-04 20:57:22 +01:00
Michael Carlberg
70c3e55dba build: Bump version to 2.2.2 2016-11-04 20:43:45 +01:00
Michael Carlberg
20b347b81f git: Update xpp ref 2016-11-04 20:43:33 +01:00
Michael Carlberg
0fd89ec358 fix(tray): Reconfigure on re-activate 2016-11-04 20:41:24 +01:00
Michael Carlberg
e1f637dd4f build: Bump version to 2.2.1 2016-11-04 20:29:46 +01:00
Michael Carlberg
d446d14237 fix(build): Added xcb-util-image to dependency list 2016-11-04 20:29:37 +01:00
Michael Carlberg
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
Michael Carlberg
7d2e8adf59 build: Bump version to 2.2.0 2016-11-04 19:37:04 +01:00
Michael Carlberg
de2ee4db1b fix(tray): Default to bar background rgb 2016-11-04 19:33:38 +01:00
Michael Carlberg
0814ed381f refactor: Group consecutive ascii chars and render string 2016-11-04 19:22:00 +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
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
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
37ad86fa1c fix(build): GCC warnings 2016-11-03 18:19:47 +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
12a64bd3d6 fix(i3): Trim workspace names
Closes #126
2016-11-03 15:43:46 +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
b9e4ee9b92 fix: Disable modules with error 2016-11-03 14:10:48 +01:00