Vlad Glagolev
d665634484
Fix build with clang++ 3.4 ( #2279 )
2020-12-12 01:07:51 +01:00
julio-b
751c21cd37
feat(pulse): Show volume in decibels ( #1894 )
...
Adds `%decibels%` token to the pulseaudio module
2019-10-09 02:13:57 +02:00
sunil
22af69545a
feat(net): Support bridge interfaces ( #1528 )
...
Bridge interfaces don't provide linkspeed via ethtool but everything else works the same as with ethernet links.
Fixes #1522
2018-11-28 16:09:00 +01:00
NBonaparte
07d35df538
fix(net): make sure WITH_LIBNL is defined before checking
2018-11-01 19:50:33 +01:00
patrick96
3c504bb913
fix(build): remove side-effects of iwlib.h
...
wireless_tools 29 redefines inline in iwlib.h as:
#define inline inline __attribute__((always_inline))
which conflicts with POLYBAR_NS, which is defined as:
#define POLYBAR_NS \
namespace polybar { \
inline namespace APP_VERSION_NAMESPACE {
In version 30.pre9 this #define is moved into a source file and thus
cannot conflict.
The error only occurs when building with clang, so it seems gcc and
clang handle this differently
Fixes #1492
2018-10-31 17:00:13 -07:00
taschenb
3afc341c7b
feat(net): Add nl80211 support ( #1009 )
...
This patch enables support for nl80211. In case the libnl-genl-3.0
library isn't found, it will fall back to Wext instead.
The library to use can also be manually set with the CMake option
WITH_LIBNL.
The Wireless-Extensions (WE or Wext) are deprecated and long replaced
by cfg80211.
Although Wext isn't used by WiFi drivers anymore, CFG80211_WEXT allows
old tools to communicate with modern drivers by providing a wrapper
API.
2018-06-18 20:16:09 -07:00
sqwishy
d1d307d500
feat(net): Add local_ip6 token ( #1239 )
...
It's queried the same way ipv4 addresses are queried, but here it displays globally routable addresses. If there are multiple such addresses, it picks one (same as with ipv4). It's possible that an address discovered this way is not in fact globally reachable but still marked as global.
2018-06-10 22:51:43 +02:00
tamago
b70d5b55d8
feat(mpd): add support for MPD_TAG_ALBUM_ARTIST
2018-05-31 20:12:23 -07:00
NBonaparte
f2010edf94
fix(pulseaudio): fix max_volume naming
2018-05-05 10:57:01 +02:00
NBonaparte
4bf73ddd81
fix(pulseaudio): listen for default sink changes, and use @DEFAULT_SINK@
...
Using @DEFAULT_SINK@ macro avoids having to retrieve default sink name
2018-05-05 10:57:01 +02:00
Kajzer
688658c306
(pulseaudio) Add max volume configuration
2018-04-09 20:27:55 -07:00
patrick96
36ea6fbff8
Revert "fix(pulseaudio): add mutex for queue"
...
This reverts commit d430174f0b
.
Mutual exclusion is already guaranteed by the lock on
pa_threaded_mainloop
Fixes #1139
2018-04-07 13:52:48 -07:00
NBonaparte
d430174f0b
fix(pulseaudio): add mutex for queue
2018-03-31 00:52:17 +02:00
Kyle Cook
0f34178104
Add FreeBSD Support ( #931 )
2018-03-21 23:35:10 +01:00
NBonaparte
0a8a326730
feat(net): Add unknown-as-up option
...
Fixes #457
2018-03-04 23:09:18 +01:00
NBonaparte
10656a94cb
fix(pulseaudio): prevent nonresponsiveness and remove redundant getters
2018-01-20 12:37:41 -08:00
NBonaparte
1f35b9dc89
fix(pulseaudio): Add logging
2018-01-20 12:37:41 -08:00
NBonaparte
1792090d66
refactor(pulseaudio): remove wait timeout, fix indents
2018-01-20 12:37:41 -08:00
NBonaparte
a08c5c710a
fix(pulseaudio): fix get_name(), cleanup
2018-01-20 12:37:41 -08:00
NBonaparte
5c6b56614e
fix(pulseaudio): Rewrite error checking
2018-01-20 12:37:41 -08:00
NBonaparte
916c7b6852
refactor(pulseaudio): Use index instead of name to track sinks
2018-01-20 12:37:41 -08:00
NBonaparte
23ee9afb6f
fix(pulseaudio): Use inc_volume() instead of set_volume()
2018-01-20 12:37:41 -08:00
NBonaparte
318a6d83cf
refactor(pulseaudio): Move loop to inline function
2018-01-20 12:37:41 -08:00
NBonaparte
81913cf181
wip(pulseaudio): create pulseaudio backend
2018-01-20 12:37:41 -08:00
patrick96
645a3142a1
fix(mpd): Always update mpd data
...
Only updating when an mpd event occurred would cause issues when mpd was
playing and the machine was put to sleep because the elapsed time was
calculated by taking the time difference of the last update and now
which would give you wrong numbers, if the machine was in standby in
between.
Since the update function on the module is only called once a second (or
when an event happens), we can just update the data every time without a
huge performance hit.
Fixes #915
2018-01-15 19:32:02 +01:00
Jens Henniges
d3abcc97f6
feat(mpd): Add support for icon-consume ( #861 )
2017-12-04 11:38:17 -08:00
Michael Carlberg
a5d6670121
refactor(clang-tidy): Apply fixes
2017-01-24 08:01:04 +01:00
Alexander Polynomdivision
22e255747a
Update the mixer class to support setting the name of the soundcard we want to get the mixer of
2017-01-14 17:59:47 +01:00
Michael Carlberg
15f880eba4
fix(mpd): Handle broken connections
2017-01-13 13:02:51 +01:00
Michael Carlberg
5b33ada576
refactor(common): Cleanup
2017-01-11 07:17:54 +01:00
Michael Carlberg
8cc885c316
refactor: Cleanup
2017-01-11 03:07:28 +01:00
Michael Carlberg
9c191cb025
fix(net): Always close socket handle
...
Refs #283
2017-01-01 15:10:58 +01:00
Michael Carlberg
7ecd132610
fix(net): Convert dBm to percentage
...
Fixes #249
2016-12-23 08:13:40 +01:00
Michael Carlberg
a89c4ef2dd
refactor: Move all event handling to the controller
2016-12-20 05:16:04 +01:00
Michael Carlberg
f9062d031c
refactor(clang-tidy): Apply fixes
2016-12-15 03:30:41 +01:00
Michael Carlberg
d8f69866cc
refactor(alsa): Memory allocation
2016-12-14 15:04:10 +01:00
Michael Carlberg
5e2a0bd298
refactor(alsa): Forward alsa structs and split classes
2016-12-14 11:01:44 +01:00
Michael Carlberg
b303492759
fix(alsa): Avoid dangling pointers
2016-12-13 14:31:17 +01:00
Soham Chowdhury
16b7d09d63
feat(mpd): Add support for date ( #222 )
2016-12-04 19:33:04 +01:00
Michael Carlberg
eddda10c23
fix(alsa): Replace full alsalib.h
2016-11-30 14:27:37 +01:00
Michael Carlberg
6aba583c3e
refactor(build): Rename X extension flags
2016-11-30 12:48:13 +01:00
Michael Carlberg
ff9be848c7
refactor(clang-tidy): Apply fixes
2016-11-25 21:58:49 +01:00
Michael Carlberg
8db3e79919
refactor(clang-format): Apply fixes
2016-11-25 14:17:41 +01:00
Michael Carlberg
c6d85b2b92
refactor: Optimize build
2016-11-20 23:04:31 +01:00
Michael Carlberg
fd57ab0f3d
fix: project rename
2016-11-19 06:26:07 +01:00
Michael Carlberg
e22ec91101
fix(network): Check for TUN/TAP devices
...
Ref #159
2016-11-14 17:55:35 +01:00
Michael Carlberg
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
Michael Carlberg
04fac96d78
fix(mpd): Hide module on empty playlist
...
Closes #149
2016-11-14 01:21:58 +01:00
NBonaparte
dce81d4266
feat(volume): Added volume mapping
2016-11-05 14:32:09 -07:00
Michael Carlberg
e7cb345cec
wip: Separate source from definitions
2016-11-03 12:54:32 +01:00