Commit Graph

277 Commits

Author SHA1 Message Date
83ef8bcd0c fix(build): Size type 2016-11-21 16:32:56 +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
c1162960cc fix(battery): Try several value files
Fixes #177
2016-11-21 08:30:25 +01:00
4179f8b7f9 feat: added max and min values to tokens 2016-11-20 16:37:48 -08:00
cf22468503 fix(build): Optional module fallback
Ref #176
2016-11-21 01:14:05 +01:00
d616a7d351 fix(build): Move chrono namespace to correct level
Ref #176
2016-11-21 00:19:22 +01:00
d6a5212ef3 fix(volume): Handle alsa playback range
Ref #174
2016-11-20 23:49:08 +01:00
002eb08b20 fix(build): Explicit type for list initialization 2016-11-20 23:29:42 +01:00
c6d85b2b92 refactor: Optimize build 2016-11-20 23:04:31 +01:00
376c483dd4 build: Bump version to 2.3.1 2016-11-20 03:00:36 +01:00
40fcabd644 fix(config): Proper dereference of ${self.key} 2016-11-19 19:18:28 +01:00
88c8bbd940 refactor: Fwd declare drawtypes
Ref #164
2016-11-19 15:49:06 +01:00
38f9ba81cd feat(battery): Estimated time remaining
Adds a new token %time% that will display an
estimate of the remaining time until fully
charged/discharged
2016-11-19 15:42:31 +01:00
3251543d6e build: Bump version to 2.3.0 2016-11-19 06:51:34 +01:00
fd57ab0f3d fix: project rename 2016-11-19 06:26:07 +01:00
6a6796160a build: Bump version to 2.2.8 2016-11-19 04:35:03 +01:00
1b159786f0 fix(xwindow): Ignore xcb timestamp 2016-11-19 04:34:46 +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
2fd88c4f60 feat(ipc): New message type "action:"
Adds a new message type, prefixed "action:"
that will perform the same task as mouse actions.

This could be used to control menu modules:

  echo action:menu-open-1 > /tmp/lemonbuddy_mqueue.<pid>
  echo action:menu-close > /tmp/lemonbuddy_mqueue.<pid>

Ref #84
2016-11-18 18:37:53 +01:00
1b5979ba10 feat(config): Default reference values
- Add fallback values to env/xrdb references:

  ${env:UNEXISTING:fallback value}
  ${xrdb:UNEXISTING:fallback value}

- Replace ${BAR.key} with ${root.key} and display
  deprecation warning if the former is used
2016-11-18 18:04:24 +01:00
1ea39e562a feat(bspwm): Additional dimmed states configuration 2016-11-15 04:33:10 -02: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
7551a7d126 build: Bump version to 2.2.7 2016-11-14 18:36:08 +01:00
2301de667b fix(temperature): Calculate percentage value 2016-11-14 17:56:29 +01:00
e22ec91101 fix(network): Check for TUN/TAP devices
Ref #159
2016-11-14 17:55:35 +01:00
983963d4e4 feat(network): Accumulate stats from all interfaces
Add config setting that will display accumulated
values for up-/downspeed (accumulate-stats = true)

Closes #144
2016-11-14 12:42:59 +01:00
611dbcd6cd build: Bump version to 2.2.6 2016-11-14 12:06:08 +01:00
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
04fac96d78 fix(mpd): Hide module on empty playlist
Closes #149
2016-11-14 01:21:58 +01:00
4b0e648cb8 refactor: Cleanup 2016-11-14 00:46:50 +01:00
489f3ce480 wip: Inter-process messaging 2016-11-13 19:05:30 +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
c8f2a934b1 refactor(fs): Update naming to reflect actual usage
The module currently only handle mounted filesystem
and not block devices or partitions. Change naming
to be more clear.
2016-11-13 08:50:14 +01:00
9a0df75a91 feat(fs): New filesystem module
Module that displays details about
mounted filesystems, #84

Closes #153
2016-11-13 06:14:34 +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
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
d02e2a47fb build: Bump version to 2.2.5 2016-11-12 13:55:06 +01:00
42bcfd9fa1 feat(bspwm): Configurable scroll/click actions 2016-11-12 13:37:07 +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
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
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
1e08aa455b feat(temperature): Support for <ramp> 2016-11-12 13:07:05 +01:00
fbd957bf33 feat(bspwm): added scrolling 2016-11-11 10:55:37 -08:00
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
a06b38f534 feat(temperature): Added temp module and examples 2016-11-10 22:54:07 -08:00
ee68aea773 build: Bump version to 2.2.4 2016-11-08 13:56:40 +01:00
dce81d4266 feat(volume): Added volume mapping 2016-11-05 14:32:09 -07:00