Commit Graph

2594 Commits

Author SHA1 Message Date
Marc Radau
bd67c9e620
Merge pull request #1 from Alexays/master
Integrate changes from Alexays/Waybar
2020-01-19 16:08:46 +01:00
Alex
a555a72d7f
Merge pull request #557 from thomaswucher/fix-meson-wrapdb-urls
Download patch files from Github instead of wrapdb
2020-01-16 10:34:20 +00:00
Thomas Wucher
99dde1aff8 Download patch files from Github instead of wrapdb
Currently wrapdb.mesonbuild.com is offline and its not clear when it
will be up again. Github seems to be the more reliable source for these
files.
2020-01-16 11:09:32 +01:00
Alex
d5875c468f
Merge pull request #550 from PlusMinus0/use_form_factor
Use PA_PROP_DEVICE_FORM_FACTOR for device icon.
2020-01-15 10:05:34 +00:00
Alex
9e877d3f57
Merge pull request #555 from alebastr/outputs-remove-unique_ptr
refactor(client): use std::list<waybar_output> to store outputs
2020-01-15 08:12:18 +00:00
Aleksei Bavshin
f80270519b
refactor(client): use std::list<waybar_output> to store outputs
std::unique_ptr is not required here as the only benefit it gives is
stability of address on vector resize and it's easy to invalidate it
accidentaly. std::list provides the same guarantee of stable addresses
of the elements and correct destruction while avoiding smart pointer
overhead.

Also fixes #554, caused by incorrect usage of std::remove_if.
2020-01-14 07:27:08 -08:00
PlusMinus0
8fb3211594 Use PA_PROP_DEVICE_FORM_FACTOR for device icon. 2020-01-13 11:34:33 +01:00
Alex
b9cd51a9cc
Merge pull request #548 from Psykar/icon-width
Keep aspect ratio when scaling tray icons.
2020-01-09 09:00:09 +01:00
Louis des Landes
569f40de9b
Keep aspect ratio when scaling tray icons. 2020-01-09 17:27:10 +10:30
Alex
9c8d0865d1
Merge pull request #546 from z3ntu/cassert
fix(network): add missing include
2020-01-07 20:30:02 +01:00
Luca Weiss
129713fe1b
fix(network): add missing include
Fixes:
../src/modules/network.cpp:68:3: error: 'assert' was not declared in this scope
   68 |   assert(starts_with(read, category));
      |   ^~~~~~
../src/modules/network.cpp:6:1: note: 'assert' is defined in header '<cassert>'; did you forget to '#include <cassert>'?
    5 | #include "util/format.hpp"
  +++ |+#include <cassert>
    6 |
2020-01-07 20:27:31 +01:00
Alex
e66c3bc965
Merge pull request #543 from cole-h/master
mpd: add paused format string
2020-01-07 19:18:53 +01:00
Cole Helbling
75c6e2e7d5
mpd: add paused format string 2020-01-07 09:15:54 -08:00
Alex
d294352845
Merge pull request #529 from fuzxi/master
[Corrected] Add info on "on-click-middle" option to custom module man page
2020-01-06 13:37:08 +01:00
fuzxi
35f7fdf684 Update waybar-temperature.5.scd 2020-01-06 13:31:16 +01:00
fuzxi
33798c31d0 Update waybar-sway-window.5.scd 2020-01-06 13:31:06 +01:00
fuzxi
ee0db26021 Update waybar-sway-mode.5.scd 2020-01-06 13:30:56 +01:00
fuzxi
abcac464fa Update waybar-pulseaudio.5.scd 2020-01-06 13:30:48 +01:00
fuzxi
9602360d28 Update waybar-network.5.scd 2020-01-06 13:30:38 +01:00
fuzxi
1d087f96bd Update waybar-idle-inhibitor.5.scd 2020-01-06 13:30:28 +01:00
fuzxi
01b8527333 Update waybar-disk.5.scd 2020-01-06 13:30:19 +01:00
fuzxi
abeb406166 Update waybar-custom.5.scd 2020-01-06 13:30:11 +01:00
fuzxi
443281f0bc Update waybar-cpu.5.scd 2020-01-06 13:30:02 +01:00
fuzxi
de3be8b2ab Update waybar-clock.5.scd 2020-01-06 13:29:52 +01:00
fuzxi
4d7e19ae66 Update waybar-battery.5.scd 2020-01-06 13:29:41 +01:00
fuzxi
e8f2bd3ad1 Update waybar-backlight.5.scd 2020-01-06 13:29:20 +01:00
fuzxi
c41cedd407 Update waybar-mpd.5.scd 2020-01-06 13:29:04 +01:00
fuzxi
f6864e4a43 Update waybar-memory.5.scd 2020-01-06 13:28:31 +01:00
Alex
a833c51a28
Merge pull request #540 from jomority/network
fix(network): display of IPv6 address
2020-01-06 13:25:22 +01:00
Moritz Jordan
1145788ab3
fix(network): display of IPv6 address 2020-01-06 13:15:28 +01:00
Alex
c0d4867421
Merge pull request #541 from jomority/man
man: adding and clarification of configuration options
2020-01-06 11:47:23 +01:00
Alex
d18ece13f2
Merge pull request #536 from xPMo/master
Fix: WindowId recieves 'u'
2020-01-06 09:21:26 +01:00
gammafn
1f379fa5f6 Don't specify WindowId property
https://github.com/Alexays/Waybar/pull/536#issuecomment-570847035
2020-01-05 10:22:52 -06:00
Moritz Jordan
1125119dc6
man: add icon and format-icon to network module 2020-01-04 04:33:04 +01:00
Moritz Jordan
173a7bb8cd
man: fix layout in battery module 2020-01-04 04:31:24 +01:00
Moritz Jordan
4836333bff
man: document family configuration option in network module 2020-01-04 03:26:06 +01:00
Moritz Jordan
f01ddb9ab3
man: clarify options for layer configuration 2020-01-03 16:22:29 +01:00
Moritz Jordan
2f6a70f34e
man: document gtk-layer-shell configuration option 2020-01-03 16:20:56 +01:00
Alex
def4466953
Merge pull request #534 from AdrienLemaire/chore/mediaplayer
feat: show title if artist isn't available
2020-01-01 15:51:50 +01:00
Adrien Lemaire
db1136d647
feat: show title if artist isn't available 2020-01-01 13:50:29 +09:00
Alex
c8821a5e7f fix(Battery): replace spaces w/ dashes 2019-12-30 13:56:34 +01:00
Alex
d40cc6f23a fix(Battery): replace spaces w/ underscores 2019-12-30 13:55:49 +01:00
Alex
c885be369e feat(Network): hide on empty format 2019-12-30 13:46:12 +01:00
Alex
631695ec74
Merge pull request #525 from Akasch/master
add dependencies of gtk-layer-shell to readme
2019-12-28 15:27:46 +01:00
Nils Rokita
50275ae529 add dependencies of gtk-layer-shell to readme 2019-12-28 15:19:42 +01:00
Alex
35d806b801 chore: 0.9.0 2019-12-28 12:35:09 +01:00
Alex
220028051f chore: auto gtk-layer-shell option 2019-12-28 12:13:33 +01:00
Alex
7f73a8cd45
Merge pull request #441 from alebastr/gtk-layer-shell
Use gtk-layer-shell library for correct positioning of popups
2019-12-28 11:56:46 +01:00
Aleksei Bavshin
dde700f2c9
feat: use gtk-layer-shell library for correct positioning of popups
To enable: use sway >= 1.2, compile waybar with `-Dgtk-layer-shell=enabled` meson option.
Original behavior could be restored at runtime by setting `"gtk-layer-shell": false` in waybar config.
2019-12-27 16:42:14 -08:00
Aleksei Bavshin
0e87b3938a
deps: meson dependencies for gtk-layer-shell feature 2019-12-27 16:42:13 -08:00