commit waybar for openSUSE:Factory

2020-09-25 Thread root
Hello community,

here is the log from the commit of package waybar for openSUSE:Factory checked 
in at 2020-09-25 16:32:47

Comparing /work/SRC/openSUSE:Factory/waybar (Old)
 and  /work/SRC/openSUSE:Factory/.waybar.new.4249 (New)


Package is "waybar"

Fri Sep 25 16:32:47 2020 rev:23 rq:835932 version:0.9.4

Changes:

--- /work/SRC/openSUSE:Factory/waybar/waybar.changes2020-08-06 
10:40:08.638060651 +0200
+++ /work/SRC/openSUSE:Factory/.waybar.new.4249/waybar.changes  2020-09-25 
16:33:27.143992530 +0200
@@ -1,0 +2,24 @@
+Mon Sep 21 21:02:16 UTC 2020 - Michael Vetter 
+
+- Update to 0.9.4:
+  Added:
+  * Add option for no workspace switch on click #817
+  * Add IDs to sway workspace buttons for CSS styling #819
+  * Add ability to switch timezones on scroll #821
+  * MPD: Add song position and queue length
+  * Add an "exec-on-event" config for the custom module #851
+  * Add format for memory tooltip #847
+  Changed:
+  * Fixed a signal issue with custom modules #778
+  * Switch workspace on mouse-down to match swaybar #800
+  * Taskbar string fixes #798
+  * Systemd now using standard targets #801
+  * Fixed fmt crash after update #813
+  * Rfkill is now optional #823
+  * Fixed network status update #861
+  * Fix resizing of the bar with gtk-layer-shell #824
+  * Fix, prevent line breaks in ellipsized labels #828
+  * Fix "restart-interval" in the custom module #840
+  * Allow enabing pango markup in the taskbar string #814
+
+---

Old:

  0.9.3.tar.gz

New:

  0.9.4.tar.gz



Other differences:
--
++ waybar.spec ++
--- /var/tmp/diff_new_pack.oqDyCg/_old  2020-09-25 16:33:28.923994109 +0200
+++ /var/tmp/diff_new_pack.oqDyCg/_new  2020-09-25 16:33:28.923994109 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   waybar
-Version:0.9.3
+Version:0.9.4
 Release:0
 Summary:Customizable Wayland bar for Sway and Wlroots based compositors
 License:MIT

++ 0.9.3.tar.gz -> 0.9.4.tar.gz ++
 35996 lines of diff (skipped)




commit waybar for openSUSE:Factory

2020-08-06 Thread root
Hello community,

here is the log from the commit of package waybar for openSUSE:Factory checked 
in at 2020-08-06 10:39:38

Comparing /work/SRC/openSUSE:Factory/waybar (Old)
 and  /work/SRC/openSUSE:Factory/.waybar.new.3399 (New)


Package is "waybar"

Thu Aug  6 10:39:38 2020 rev:22 rq:824593 version:0.9.3

Changes:

--- /work/SRC/openSUSE:Factory/waybar/waybar.changes2020-06-23 
21:05:09.973953054 +0200
+++ /work/SRC/openSUSE:Factory/.waybar.new.3399/waybar.changes  2020-08-06 
10:40:08.638060651 +0200
@@ -1,0 +2,27 @@
+Thu Aug  6 05:56:55 UTC 2020 - Michael Vetter 
+
+- Update to 0.9.3:
+  Added:
+  * FreeBSD support tada #425
+  * Taskbar module tada #692
+  * Added an on-update option to all modules #402
+  * Network: Added Rfkill status #568
+  * Bluetooth: Basic new module #568
+  * Added a way to exclude specific output #596
+  * Temperature: Add kelvin-scale #683
+  * sway/workspaces: Added current_output CSS class #693
+  * River status module #745
+  Changed:
+  * Fixed AMD brightness e01a081
+  * Fixed full-at #680
+  * sway/workspaces: sort by the "num" property provided by sway #696
+  * Clock: prefer default fmt format when not using a timezone #715
+  * Fixed exec-if hidding 3b16946
+  * Fixed SIGSEV/BLOCKING bar while changing/removing output 6e7f22a
+  * Battery: add check for battery type 401ea05
+  * Fixed Workspace back and forth unwanted behavior 0080feb
+  * Fixed persistent workspace position #783
+  * Network: make nl80211 dep optional fb8cda9
+  * Updated date, gtk-layer-shell subproject #797, Fixes #776 #780 #530 #750
+
+---

Old:

  0.9.2.tar.gz

New:

  0.9.3.tar.gz



Other differences:
--
++ waybar.spec ++
--- /var/tmp/diff_new_pack.IT70po/_old  2020-08-06 10:40:15.178063926 +0200
+++ /var/tmp/diff_new_pack.IT70po/_new  2020-08-06 10:40:15.178063926 +0200
@@ -17,12 +17,15 @@
 
 
 Name:   waybar
-Version:0.9.2
+Version:0.9.3
 Release:0
 Summary:Customizable Wayland bar for Sway and Wlroots based compositors
 License:MIT
 Group:  System/GUI/Other
 URL:https://github.com/Alexays/Waybar
+# use this to download tarball. then use `meson subprojects download`
+# to get the `date` dependency. and create own tarball
+#Source: https://github.com/Alexays/Waybar/archive/%{version}.tar.gz
 Source: %{version}.tar.gz
 BuildRequires:  cmake
 BuildRequires:  gcc-c++

++ 0.9.2.tar.gz -> 0.9.3.tar.gz ++
 203488 lines of diff (skipped)




commit waybar for openSUSE:Factory

2020-06-23 Thread root
Hello community,

here is the log from the commit of package waybar for openSUSE:Factory checked 
in at 2020-06-23 21:04:48

Comparing /work/SRC/openSUSE:Factory/waybar (Old)
 and  /work/SRC/openSUSE:Factory/.waybar.new.2956 (New)


Package is "waybar"

Tue Jun 23 21:04:48 2020 rev:21 rq:816415 version:0.9.2

Changes:

--- /work/SRC/openSUSE:Factory/waybar/waybar.changes2020-06-09 
00:07:14.089837853 +0200
+++ /work/SRC/openSUSE:Factory/.waybar.new.2956/waybar.changes  2020-06-23 
21:05:09.973953054 +0200
@@ -1,0 +2,5 @@
+Sat Jun  22 17:11:07 UTC 2020 - Denis Kondratenko 
+
+- package shouldn't require specific branding version, just a package
+
+---



Other differences:
--
++ waybar.spec ++
--- /var/tmp/diff_new_pack.URGNG7/_old  2020-06-23 21:05:10.505954773 +0200
+++ /var/tmp/diff_new_pack.URGNG7/_new  2020-06-23 21:05:10.509954786 +0200
@@ -54,7 +54,7 @@
 BuildRequires:  pkgconfig(wayland-cursor)
 BuildRequires:  pkgconfig(wayland-protocols)
 # requires branding
-Requires:   %{name}-branding >= %{version}
+Requires:   %{name}-branding
 # optional: sway integration
 Recommends: sway
 




commit waybar for openSUSE:Factory

2020-06-08 Thread root
Hello community,

here is the log from the commit of package waybar for openSUSE:Factory checked 
in at 2020-06-09 00:05:27

Comparing /work/SRC/openSUSE:Factory/waybar (Old)
 and  /work/SRC/openSUSE:Factory/.waybar.new.3606 (New)


Package is "waybar"

Tue Jun  9 00:05:27 2020 rev:20 rq:812493 version:0.9.2

Changes:

--- /work/SRC/openSUSE:Factory/waybar/waybar.changes2020-04-13 
12:54:21.320676047 +0200
+++ /work/SRC/openSUSE:Factory/.waybar.new.3606/waybar.changes  2020-06-09 
00:07:14.089837853 +0200
@@ -1,0 +2,5 @@
+Sat Jun  6 07:29:07 UTC 2020 - Denis Kondratenko 
+
+- Add separate branding package
+
+---



Other differences:
--
++ waybar.spec ++
--- /var/tmp/diff_new_pack.ZqH20m/_old  2020-06-09 00:07:15.053841274 +0200
+++ /var/tmp/diff_new_pack.ZqH20m/_new  2020-06-09 00:07:15.057841288 +0200
@@ -53,12 +53,28 @@
 BuildRequires:  pkgconfig(wayland-client)
 BuildRequires:  pkgconfig(wayland-cursor)
 BuildRequires:  pkgconfig(wayland-protocols)
+# requires branding
+Requires:   %{name}-branding >= %{version}
 # optional: sway integration
 Recommends: sway
 
 %description
 Customizable Wayland bar for Sway and Wlroots based compositors.
 
+%package branding-upstream
+Summary:Upstream branding of %{name}
+Group:  System/GUI/Other
+Requires:   %{name} = %{version}
+Supplements:packageand(%{name}:branding-upstream)
+Conflicts:  otherproviders(%{name}-branding)
+Provides:   %{name}-branding = %{version}
+BuildArch:  noarch
+#BRAND: /etc/xdg/waybar/config contains upstream config
+#BRAND: /etc/xdg/waybar/style.css contains upstream style
+
+%description branding-upstream
+This package provides the upstream look and feel for sway.
+
 %prep
 %setup -q -n Waybar-%{version}
 
@@ -70,9 +86,13 @@
 %meson_install
 
 %files
-%{_sysconfdir}/xdg/waybar/
 %{_bindir}/waybar
 %{_mandir}/man?/%{name}*
 %{_prefix}/lib/systemd/user/waybar.service
 
+%files branding-upstream
+%dir %{_sysconfdir}/xdg/waybar
+%config(noreplace) %{_sysconfdir}/xdg/waybar/config
+%config(noreplace) %{_sysconfdir}/xdg/waybar/style.css
+
 %changelog




commit waybar for openSUSE:Factory

2020-04-13 Thread root
Hello community,

here is the log from the commit of package waybar for openSUSE:Factory checked 
in at 2020-04-13 12:54:17

Comparing /work/SRC/openSUSE:Factory/waybar (Old)
 and  /work/SRC/openSUSE:Factory/.waybar.new.3248 (New)


Package is "waybar"

Mon Apr 13 12:54:17 2020 rev:19 rq:793446 version:0.9.2

Changes:

--- /work/SRC/openSUSE:Factory/waybar/waybar.changes2020-03-29 
14:25:53.230103389 +0200
+++ /work/SRC/openSUSE:Factory/.waybar.new.3248/waybar.changes  2020-04-13 
12:54:21.320676047 +0200
@@ -1,0 +2,28 @@
+Sun Apr 12 21:33:24 UTC 2020 - Michael Vetter 
+
+- Update to 0.9.2:
+  Added:
+  * Battery: full-at config, define the max percentage of
+the battery #649
+  Changed:
+  * Support libc++ >=9.0.0 #583
+  * Sway: add missing unordered_map include #584
+  * Network: fix label text not updated properly when formats
+contain Unicode characters #589
+  * Pulseaudio: Fix alt #592
+  * Pulseaudio: track default source/sink changes #599
+  * Tray: Use the same StatusNotifierWatcher for all trays #598
+  * Pulseaudio: track only the default sink and source #603
+  * Systemd service: fix start up ordering #612
+  * Fix: set exclusive zone early for gtk-layer-shell #613
+  * Readme: ubuntu dependencies #615
+  * Temperature: Added support for absolute device paths #624
+  * Switch default Makefile rule from run to build #625
+  * Memory: provide better free memory approximation on old kernel #629
+  * Pulseaudio: fallback to default muted format 9acf558
+  * Custom: restore SIGCHLD settings to SIG_DFL #636
+  * Custom: check WIFEXITED ec451b5
+  * Pulseaudio: Start wait for server #651
+  * Sway/Workspaces: default value unstripped, add value format option 27fbea2
+
+---

Old:

  0.9.1.tar.gz

New:

  0.9.2.tar.gz



Other differences:
--
++ waybar.spec ++
--- /var/tmp/diff_new_pack.TlYXAT/_old  2020-04-13 12:54:22.836676708 +0200
+++ /var/tmp/diff_new_pack.TlYXAT/_new  2020-04-13 12:54:22.840676709 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   waybar
-Version:0.9.1
+Version:0.9.2
 Release:0
 Summary:Customizable Wayland bar for Sway and Wlroots based compositors
 License:MIT

++ 0.9.1.tar.gz -> 0.9.2.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Waybar-0.9.1/Dockerfiles/alpine 
new/Waybar-0.9.2/Dockerfiles/alpine
--- old/Waybar-0.9.1/Dockerfiles/alpine 2020-02-11 00:47:23.0 +0100
+++ new/Waybar-0.9.2/Dockerfiles/alpine 2020-04-11 12:24:49.0 +0200
@@ -2,4 +2,4 @@
 
 FROM alpine:latest
 
-RUN apk add --no-cache git meson alpine-sdk libinput-dev wayland-dev 
wayland-protocols mesa-dev libxkbcommon-dev eudev-dev pixman-dev gtkmm3-dev 
jsoncpp-dev libnl3-dev pulseaudio-dev libmpdclient-dev scdoc
+RUN apk add --no-cache git meson alpine-sdk libinput-dev wayland-dev 
wayland-protocols mesa-dev libxkbcommon-dev eudev-dev pixman-dev gtkmm3-dev 
jsoncpp-dev pugixml libnl3-dev pulseaudio-dev libmpdclient-dev scdoc
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Waybar-0.9.1/Dockerfiles/archlinux 
new/Waybar-0.9.2/Dockerfiles/archlinux
--- old/Waybar-0.9.1/Dockerfiles/archlinux  2020-02-11 00:47:23.0 
+0100
+++ new/Waybar-0.9.2/Dockerfiles/archlinux  2020-04-11 12:24:49.0 
+0200
@@ -3,4 +3,4 @@
 FROM archlinux/base:latest
 
 RUN pacman -Syu --noconfirm && \
-pacman -S git meson base-devel libinput wayland wayland-protocols pixman 
libxkbcommon mesa gtkmm3 jsoncpp scdoc --noconfirm
+pacman -S git meson base-devel libinput wayland wayland-protocols pixman 
libxkbcommon mesa gtkmm3 jsoncpp pugixml scdoc --noconfirm
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Waybar-0.9.1/Dockerfiles/debian 
new/Waybar-0.9.2/Dockerfiles/debian
--- old/Waybar-0.9.1/Dockerfiles/debian 2020-02-11 00:47:23.0 +0100
+++ new/Waybar-0.9.2/Dockerfiles/debian 2020-04-11 12:24:49.0 +0200
@@ -3,5 +3,5 @@
 FROM debian:sid
 
 RUN apt-get update && \
-apt-get install -y build-essential meson ninja-build git pkg-config 
libinput10 libinput-dev wayland-protocols libwayland-client0 libwayland-cursor0 
libwayland-dev libegl1-mesa-dev libgles2-mesa-dev libgbm-dev libxkbcommon-dev 
libudev-dev libpixman-1-dev libgtkmm-3.0-dev libjsoncpp-dev scdoc && \
+apt-get install -y build-essential meson ninja-build git pkg-config 
libinput10 libpugixml-dev libinput-dev wayland-protocols libwayland-client0 
libwayland-cursor0 libwayland-dev libegl1-mesa-dev libgles2-mesa-dev libgbm-dev 
libxkbcommon-dev libudev-dev libpixman-1-dev libgtkmm-3.0-dev libjsoncpp-dev 

commit waybar for openSUSE:Factory

2020-03-29 Thread root
Hello community,

here is the log from the commit of package waybar for openSUSE:Factory checked 
in at 2020-03-29 14:25:44

Comparing /work/SRC/openSUSE:Factory/waybar (Old)
 and  /work/SRC/openSUSE:Factory/.waybar.new.3160 (New)


Package is "waybar"

Sun Mar 29 14:25:44 2020 rev:18 rq:788920 version:0.9.1

Changes:

--- /work/SRC/openSUSE:Factory/waybar/waybar.changes2020-01-04 
19:21:07.625131543 +0100
+++ /work/SRC/openSUSE:Factory/.waybar.new.3160/waybar.changes  2020-03-29 
14:25:53.230103389 +0200
@@ -1,0 +2,27 @@
+Wed Mar 25 17:19:24 UTC 2020 - Denis Kondratenko 
+
+- Update to 0.9.1:
+  Added
+  * Clock: Add timezone support tada #560
+  * Clock: Current month calendar in tooltip tada#570
+  * Mpd: add paused format string #543
+  Changed:
+  * Network: hide on empty format c885be3
+  * Mediaplayer: Show title if artist isn't available #534
+  * Fixed: WindowId recieves 'u' #536
+  * Man: adding and clarification of configuration options #541
+  * Add info on "on-click-middle" option to custom module man page #529
+  * Network: add missing include #546
+  * Tray: Keep aspect ratio when scaling tray icons #548
+  * Fixed SIGSEGV on Monitor Disconnect/Connect #555 #578
+  * Pulseaudio: Use PA_PROP_DEVICE_FORM_FACTOR for device icon #550
+  * Pulseaudio: Adapt icon names to form factors #571 #577
+  * Clock: lower precision of zoned_time to avoid fractional seconds in output 
#579
+- new 'date' library added to the sources archive
+  * added to the subprojects dir with 'meson subprojects download'
+  * it is a dependency for the Clock
+  * https://github.com/Alexays/Waybar/issues/594
+- changing Sources to local archive as it packs additional `date` submodule
+  * OBS checks would fail if it points to the exernal sources
+
+---

Old:

  0.9.0.tar.gz

New:

  0.9.1.tar.gz



Other differences:
--
++ waybar.spec ++
--- /var/tmp/diff_new_pack.Md6obh/_old  2020-03-29 14:25:53.874103719 +0200
+++ /var/tmp/diff_new_pack.Md6obh/_new  2020-03-29 14:25:53.878103721 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package waybar
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,13 +17,13 @@
 
 
 Name:   waybar
-Version:0.9.0
+Version:0.9.1
 Release:0
 Summary:Customizable Wayland bar for Sway and Wlroots based compositors
 License:MIT
 Group:  System/GUI/Other
 URL:https://github.com/Alexays/Waybar
-Source: %{url}/archive/%{version}.tar.gz
+Source: %{version}.tar.gz
 BuildRequires:  cmake
 BuildRequires:  gcc-c++
 BuildRequires:  gtk-layer-shell-devel

++ 0.9.0.tar.gz -> 0.9.1.tar.gz ++
 35751 lines of diff (skipped)




commit waybar for openSUSE:Factory

2020-01-04 Thread root
Hello community,

here is the log from the commit of package waybar for openSUSE:Factory checked 
in at 2020-01-04 19:21:07

Comparing /work/SRC/openSUSE:Factory/waybar (Old)
 and  /work/SRC/openSUSE:Factory/.waybar.new.6675 (New)


Package is "waybar"

Sat Jan  4 19:21:07 2020 rev:17 rq:759783 version:0.9.0

Changes:

--- /work/SRC/openSUSE:Factory/waybar/waybar.changes2019-12-23 
22:48:39.750094641 +0100
+++ /work/SRC/openSUSE:Factory/.waybar.new.6675/waybar.changes  2020-01-04 
19:21:07.625131543 +0100
@@ -1,0 +2,27 @@
+Sat Dec 28 13:26:47 UTC 2019 - Michael Vetter 
+
+- Add dependency on systemd and new gtk-layer-shell-devel
+
+---
+Sat Dec 28 12:17:51 UTC 2019 - Michael Vetter 
+
+- Update to 0.9.0:
+  Added:
+  * Use GTK Layer Shell for working Popups #441
+  * Disk module #471
+  * Man pages option #443
+  * Battery: format time #455
+  * Systemd user unit #460
+  * Detect timezone changes #480
+  * Pulseaudio: export desc as a format #507
+  * Toggle opacity #510
+  Changed:
+  * Fix man memory description #444
+  * Fix output typo #445
+  * Fix typo: persistant -> persistent #446
+  * Fix exclusive zone #447
+  * Network: clamp signal strength 334bc1e
+  * MPD: take lock in waitForEvent to prevent SIGABORT #467
+  * Pulseaudio: audio scroll bound #475
+
+---

Old:

  0.8.0.tar.gz

New:

  0.9.0.tar.gz



Other differences:
--
++ waybar.spec ++
--- /var/tmp/diff_new_pack.w4dwf5/_old  2020-01-04 19:21:08.145131774 +0100
+++ /var/tmp/diff_new_pack.w4dwf5/_new  2020-01-04 19:21:08.153131777 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package waybar
 #
-# Copyright (c) 2019 SUSE LLC
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,39 +17,42 @@
 
 
 Name:   waybar
-Version:0.8.0
+Version:0.9.0
 Release:0
 Summary:Customizable Wayland bar for Sway and Wlroots based compositors
 License:MIT
 Group:  System/GUI/Other
 URL:https://github.com/Alexays/Waybar
 Source: %{url}/archive/%{version}.tar.gz
+BuildRequires:  cmake
 BuildRequires:  gcc-c++
+BuildRequires:  gtk-layer-shell-devel
 BuildRequires:  meson
 BuildRequires:  ninja
 BuildRequires:  pkgconfig
+# optional: man pages
+BuildRequires:  scdoc
+# optional: tray module
+BuildRequires:  pkgconfig(dbusmenu-gtk3-0.4)
 BuildRequires:  pkgconfig(fmt)
 BuildRequires:  pkgconfig(gio-unix-2.0)
 BuildRequires:  pkgconfig(gtkmm-3.0)
 BuildRequires:  pkgconfig(jsoncpp)
 BuildRequires:  pkgconfig(libinput)
+# optional: mpd module
+BuildRequires:  pkgconfig(libmpdclient)
+# optional: network
+BuildRequires:  pkgconfig(libnl-3.0)
+BuildRequires:  pkgconfig(libnl-genl-3.0)
+# optional: audio
+BuildRequires:  pkgconfig(libpulse)
 BuildRequires:  pkgconfig(libudev)
 BuildRequires:  pkgconfig(sigc++-2.0)
 BuildRequires:  pkgconfig(spdlog)
+BuildRequires:  pkgconfig(systemd)
 BuildRequires:  pkgconfig(wayland-client)
 BuildRequires:  pkgconfig(wayland-cursor)
 BuildRequires:  pkgconfig(wayland-protocols)
-# optional: man pages
-BuildRequires:  scdoc
-# optional: tray module
-BuildRequires:  pkgconfig(dbusmenu-gtk3-0.4)
-# optional: network
-BuildRequires:  pkgconfig(libnl-3.0)
-BuildRequires:  pkgconfig(libnl-genl-3.0)
-# optional: audio
-BuildRequires:  pkgconfig(libpulse)
-# optional: mpd module
-BuildRequires:  pkgconfig(libmpdclient)
 # optional: sway integration
 Recommends: sway
 
@@ -70,5 +73,6 @@
 %{_sysconfdir}/xdg/waybar/
 %{_bindir}/waybar
 %{_mandir}/man?/%{name}*
+%{_prefix}/lib/systemd/user/waybar.service
 
 %changelog

++ 0.8.0.tar.gz -> 0.9.0.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Waybar-0.8.0/.travis.yml new/Waybar-0.9.0/.travis.yml
--- old/Waybar-0.8.0/.travis.yml2019-08-29 11:56:57.0 +0200
+++ new/Waybar-0.9.0/.travis.yml2019-12-28 12:35:09.0 +0100
@@ -3,18 +3,21 @@
 services:
 - docker
 
+git:
+submodules: false
+
 env:
 - distro: debian
 - distro: archlinux
-- distro: opensuse
 - distro: fedora
 - distro: alpine
 
 before_install:
 - docker pull alexays/waybar:${distro}
+- find . -type f \( -name '*.cpp' -o -name '*.h' \) -print0 | xargs -r0 
clang-format -i
 
 script:
 - echo FROM alexays/waybar:${distro} > Dockerfile
 - echo ADD . /root >> Dockerfile
 - docker build -t waybar .
-- docker run waybar /bin/sh -c "cd /root && meson build && ninja -C build"
\ No newline 

commit waybar for openSUSE:Factory

2019-12-23 Thread root
Hello community,

here is the log from the commit of package waybar for openSUSE:Factory checked 
in at 2019-12-23 22:45:29

Comparing /work/SRC/openSUSE:Factory/waybar (Old)
 and  /work/SRC/openSUSE:Factory/.waybar.new.6675 (New)


Package is "waybar"

Mon Dec 23 22:45:29 2019 rev:16 rq:758871 version:0.8.0

Changes:

--- /work/SRC/openSUSE:Factory/waybar/waybar.changes2019-09-25 
08:36:23.318319828 +0200
+++ /work/SRC/openSUSE:Factory/.waybar.new.6675/waybar.changes  2019-12-23 
22:48:39.750094641 +0100
@@ -1,0 +2,6 @@
+Thu Dec 19 16:16:29 UTC 2019 - Dominique Leuenberger 
+
+- BuildRequire pkgconfig(libudev) instead of libudev-devel:
+  Allow OBS to shortcut through the -mini flavors.
+
+---



Other differences:
--
++ waybar.spec ++
--- /var/tmp/diff_new_pack.WDXp62/_old  2019-12-23 22:48:41.294095210 +0100
+++ /var/tmp/diff_new_pack.WDXp62/_new  2019-12-23 22:48:41.314095218 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package waybar
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -25,7 +25,6 @@
 URL:https://github.com/Alexays/Waybar
 Source: %{url}/archive/%{version}.tar.gz
 BuildRequires:  gcc-c++
-BuildRequires:  libudev-devel
 BuildRequires:  meson
 BuildRequires:  ninja
 BuildRequires:  pkgconfig
@@ -34,6 +33,7 @@
 BuildRequires:  pkgconfig(gtkmm-3.0)
 BuildRequires:  pkgconfig(jsoncpp)
 BuildRequires:  pkgconfig(libinput)
+BuildRequires:  pkgconfig(libudev)
 BuildRequires:  pkgconfig(sigc++-2.0)
 BuildRequires:  pkgconfig(spdlog)
 BuildRequires:  pkgconfig(wayland-client)




commit waybar for openSUSE:Factory

2019-09-25 Thread root
Hello community,

here is the log from the commit of package waybar for openSUSE:Factory checked 
in at 2019-09-25 08:36:22

Comparing /work/SRC/openSUSE:Factory/waybar (Old)
 and  /work/SRC/openSUSE:Factory/.waybar.new.7948 (New)


Package is "waybar"

Wed Sep 25 08:36:22 2019 rev:15 rq:732853 version:0.8.0

Changes:

--- /work/SRC/openSUSE:Factory/waybar/waybar.changes2019-09-04 
09:16:40.742926997 +0200
+++ /work/SRC/openSUSE:Factory/.waybar.new.7948/waybar.changes  2019-09-25 
08:36:23.318319828 +0200
@@ -1,0 +2,5 @@
+Mon Sep 23 17:47:41 UTC 2019 - Bjørn Lie 
+
+- Pkgconfigy spec, ensure the correct BuildRequires are pulled in.
+
+---



Other differences:
--
++ waybar.spec ++
--- /var/tmp/diff_new_pack.3AxOzZ/_old  2019-09-25 08:36:24.350319688 +0200
+++ /var/tmp/diff_new_pack.3AxOzZ/_new  2019-09-25 08:36:24.350319688 +0200
@@ -23,28 +23,33 @@
 License:MIT
 Group:  System/GUI/Other
 URL:https://github.com/Alexays/Waybar
-Source: https://github.com/Alexays/Waybar/archive/%{version}.tar.gz
-BuildRequires:  cmake
-BuildRequires:  fmt-devel
+Source: %{url}/archive/%{version}.tar.gz
 BuildRequires:  gcc-c++
-BuildRequires:  gtkmm3-devel
-BuildRequires:  jsoncpp-devel
-BuildRequires:  libinput-devel
-BuildRequires:  libsigc++3-devel
 BuildRequires:  libudev-devel
 BuildRequires:  meson
 BuildRequires:  ninja
-BuildRequires:  spdlog-devel
+BuildRequires:  pkgconfig
+BuildRequires:  pkgconfig(fmt)
+BuildRequires:  pkgconfig(gio-unix-2.0)
+BuildRequires:  pkgconfig(gtkmm-3.0)
+BuildRequires:  pkgconfig(jsoncpp)
+BuildRequires:  pkgconfig(libinput)
+BuildRequires:  pkgconfig(sigc++-2.0)
+BuildRequires:  pkgconfig(spdlog)
+BuildRequires:  pkgconfig(wayland-client)
+BuildRequires:  pkgconfig(wayland-cursor)
+BuildRequires:  pkgconfig(wayland-protocols)
 # optional: man pages
 BuildRequires:  scdoc
 # optional: tray module
-BuildRequires:  libdbusmenu-gtk3-devel
+BuildRequires:  pkgconfig(dbusmenu-gtk3-0.4)
 # optional: network
-BuildRequires:  libnl3-devel
+BuildRequires:  pkgconfig(libnl-3.0)
+BuildRequires:  pkgconfig(libnl-genl-3.0)
 # optional: audio
-BuildRequires:  libpulse-devel
+BuildRequires:  pkgconfig(libpulse)
 # optional: mpd module
-BuildRequires:  libmpdclient-devel
+BuildRequires:  pkgconfig(libmpdclient)
 # optional: sway integration
 Recommends: sway
 




commit waybar for openSUSE:Factory

2019-09-04 Thread root
Hello community,

here is the log from the commit of package waybar for openSUSE:Factory checked 
in at 2019-09-04 09:15:55

Comparing /work/SRC/openSUSE:Factory/waybar (Old)
 and  /work/SRC/openSUSE:Factory/.waybar.new.7948 (New)


Package is "waybar"

Wed Sep  4 09:15:55 2019 rev:14 rq:727984 version:0.8.0

Changes:

--- /work/SRC/openSUSE:Factory/waybar/waybar.changes2019-08-30 
14:42:27.529414460 +0200
+++ /work/SRC/openSUSE:Factory/.waybar.new.7948/waybar.changes  2019-09-04 
09:16:40.742926997 +0200
@@ -1,0 +2,5 @@
+Tue Sep  3 10:50:04 UTC 2019 - Michael Aquilina 
+
+- Add scdoc build dependency for generating waybar man pages
+
+---



Other differences:
--
++ waybar.spec ++
--- /var/tmp/diff_new_pack.hKxKAl/_old  2019-09-04 09:16:41.134926943 +0200
+++ /var/tmp/diff_new_pack.hKxKAl/_new  2019-09-04 09:16:41.138926942 +0200
@@ -12,7 +12,7 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
@@ -35,6 +35,8 @@
 BuildRequires:  meson
 BuildRequires:  ninja
 BuildRequires:  spdlog-devel
+# optional: man pages
+BuildRequires:  scdoc
 # optional: tray module
 BuildRequires:  libdbusmenu-gtk3-devel
 # optional: network
@@ -62,5 +64,6 @@
 %files
 %{_sysconfdir}/xdg/waybar/
 %{_bindir}/waybar
+%{_mandir}/man?/%{name}*
 
 %changelog




commit waybar for openSUSE:Factory

2019-08-30 Thread root
Hello community,

here is the log from the commit of package waybar for openSUSE:Factory checked 
in at 2019-08-30 14:42:27

Comparing /work/SRC/openSUSE:Factory/waybar (Old)
 and  /work/SRC/openSUSE:Factory/.waybar.new.7948 (New)


Package is "waybar"

Fri Aug 30 14:42:27 2019 rev:13 rq:727168 version:0.8.0

Changes:

--- /work/SRC/openSUSE:Factory/waybar/waybar.changes2019-08-20 
11:00:16.448645243 +0200
+++ /work/SRC/openSUSE:Factory/.waybar.new.7948/waybar.changes  2019-08-30 
14:42:27.529414460 +0200
@@ -1,0 +2,13 @@
+Fri Aug 30 08:34:25 UTC 2019 - mvet...@suse.com
+
+- Update to 0.8.0:
+  Added:
+  * Manual #431
+  * Muted bluetooth format #429
+  * Support sway/mode pango markup #442
+  Changed:
+  * Fixed fmt 6.0.0 breakup #439
+  * Fixed stack-use-after-return8f9e6c1
+  * Fixed Tray dbusmenu delay and initial render #438
+
+---

Old:

  0.7.2.tar.gz

New:

  0.8.0.tar.gz



Other differences:
--
++ waybar.spec ++
--- /var/tmp/diff_new_pack.gCxCs6/_old  2019-08-30 14:42:28.049414406 +0200
+++ /var/tmp/diff_new_pack.gCxCs6/_new  2019-08-30 14:42:28.049414406 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   waybar
-Version:0.7.2
+Version:0.8.0
 Release:0
 Summary:Customizable Wayland bar for Sway and Wlroots based compositors
 License:MIT

++ 0.7.2.tar.gz -> 0.8.0.tar.gz ++
 2159 lines of diff (skipped)




commit waybar for openSUSE:Factory

2019-08-20 Thread root
Hello community,

here is the log from the commit of package waybar for openSUSE:Factory checked 
in at 2019-08-20 11:00:07

Comparing /work/SRC/openSUSE:Factory/waybar (Old)
 and  /work/SRC/openSUSE:Factory/.waybar.new.22127 (New)


Package is "waybar"

Tue Aug 20 11:00:07 2019 rev:12 rq:724706 version:0.7.2

Changes:

--- /work/SRC/openSUSE:Factory/waybar/waybar.changes2019-07-13 
14:00:44.206891777 +0200
+++ /work/SRC/openSUSE:Factory/.waybar.new.22127/waybar.changes 2019-08-20 
11:00:16.448645243 +0200
@@ -1,0 +2,7 @@
+Tue Aug 20 07:28:07 UTC 2019 - mvet...@suse.com
+
+- Update to 0.7.2:
+  * Fixed crash on output unplug bb99e6c
+  * MediaPlayer script: Ignore selected player if not defined #421
+
+---

Old:

  0.7.1.tar.gz

New:

  0.7.2.tar.gz



Other differences:
--
++ waybar.spec ++
--- /var/tmp/diff_new_pack.BaXfWn/_old  2019-08-20 11:00:17.292645067 +0200
+++ /var/tmp/diff_new_pack.BaXfWn/_new  2019-08-20 11:00:17.296645066 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   waybar
-Version:0.7.1
+Version:0.7.2
 Release:0
 Summary:Customizable Wayland bar for Sway and Wlroots based compositors
 License:MIT

++ 0.7.1.tar.gz -> 0.7.2.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Waybar-0.7.1/include/bar.hpp 
new/Waybar-0.7.2/include/bar.hpp
--- old/Waybar-0.7.1/include/bar.hpp2019-07-11 17:02:47.0 +0200
+++ new/Waybar-0.7.2/include/bar.hpp2019-08-08 12:25:31.0 +0200
@@ -1,10 +1,10 @@
 #pragma once
 
 #include 
+#include 
 #include 
 #include 
 #include 
-#include 
 #include 
 #include "AModule.hpp"
 #include "idle-inhibit-unstable-v1-client-protocol.h"
@@ -15,10 +15,10 @@
 
 class Factory;
 struct waybar_output {
-  struct wl_output * output;
+  struct wl_output * output = nullptr;
   std::stringname;
   uint32_t   wl_name;
-  struct zxdg_output_v1 *xdg_output;
+  struct zxdg_output_v1 *xdg_output = nullptr;
 };
 
 class Bar {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Waybar-0.7.1/meson.build new/Waybar-0.7.2/meson.build
--- old/Waybar-0.7.1/meson.build2019-07-11 17:02:47.0 +0200
+++ new/Waybar-0.7.2/meson.build2019-08-08 12:25:31.0 +0200
@@ -1,6 +1,6 @@
 project(
 'waybar', 'cpp', 'c',
-version: '0.7.1',
+version: '0.7.2',
 license: 'MIT',
 default_options : [
 'cpp_std=c++17',
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Waybar-0.7.1/resources/config 
new/Waybar-0.7.2/resources/config
--- old/Waybar-0.7.1/resources/config   2019-07-11 17:02:47.0 +0200
+++ new/Waybar-0.7.2/resources/config   2019-08-08 12:25:31.0 +0200
@@ -140,5 +140,6 @@
 },
 "escape": true,
 "exec": "$HOME/.config/waybar/mediaplayer.py 2> /dev/null" // Script 
in resources folder
+// "exec": "$HOME/.config/waybar/mediaplayer.py --player spotify 2> 
/dev/null" // Filter player based on name
 }
 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Waybar-0.7.1/resources/custom_modules/mediaplayer.py 
new/Waybar-0.7.2/resources/custom_modules/mediaplayer.py
--- old/Waybar-0.7.1/resources/custom_modules/mediaplayer.py2019-07-11 
17:02:47.0 +0200
+++ new/Waybar-0.7.2/resources/custom_modules/mediaplayer.py2019-08-08 
12:25:31.0 +0200
@@ -45,7 +45,7 @@
 
 
 def on_player_appeared(manager, player, selected_player=None):
-if player is not None and player.name == selected_player:
+if player is not None and (selected_player is None or player.name == 
selected_player):
 init_player(manager, player)
 else:
 logger.debug("New player appeared, but it's not the selected player, 
skipping")
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Waybar-0.7.1/src/client.cpp 
new/Waybar-0.7.2/src/client.cpp
--- old/Waybar-0.7.1/src/client.cpp 2019-07-11 17:02:47.0 +0200
+++ new/Waybar-0.7.2/src/client.cpp 2019-08-08 12:25:31.0 +0200
@@ -65,8 +65,14 @@
  client->outputs_.end(),
  [](const auto ) { return output->wl_name 
== name; });
   if (it != client->outputs_.end()) {
-zxdg_output_v1_destroy((*it)->xdg_output);
-wl_output_destroy((*it)->output);
+if ((*it)->xdg_output != nullptr) {
+  zxdg_output_v1_destroy((*it)->xdg_output);
+  (*it)->xdg_output = nullptr;
+}
+if ((*it)->output != nullptr) {
+  

commit waybar for openSUSE:Factory

2019-07-13 Thread root
Hello community,

here is the log from the commit of package waybar for openSUSE:Factory checked 
in at 2019-07-13 13:49:51

Comparing /work/SRC/openSUSE:Factory/waybar (Old)
 and  /work/SRC/openSUSE:Factory/.waybar.new.4615 (New)


Package is "waybar"

Sat Jul 13 13:49:51 2019 rev:11 rq:714773 version:0.7.1

Changes:

--- /work/SRC/openSUSE:Factory/waybar/waybar.changes2019-06-24 
21:54:05.556139816 +0200
+++ /work/SRC/openSUSE:Factory/.waybar.new.4615/waybar.changes  2019-07-13 
14:00:44.206891777 +0200
@@ -1,0 +2,10 @@
+Fri Jul 12 06:47:56 UTC 2019 - mvet...@suse.com
+
+- Update to 0.7.1:
+  Added:
+  * Added css class for window name and position #397
+  Changed:
+  * Fixed workspaces scroll deadlock #403
+  * Fixed pulseaudio scroll #405
+
+---

Old:

  0.7.0.tar.gz

New:

  0.7.1.tar.gz



Other differences:
--
++ waybar.spec ++
--- /var/tmp/diff_new_pack.2wIW9x/_old  2019-07-13 14:00:45.338891431 +0200
+++ /var/tmp/diff_new_pack.2wIW9x/_new  2019-07-13 14:00:45.358891424 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   waybar
-Version:0.7.0
+Version:0.7.1
 Release:0
 Summary:Customizable Wayland bar for Sway and Wlroots based compositors
 License:MIT

++ 0.7.0.tar.gz -> 0.7.1.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Waybar-0.7.0/include/ALabel.hpp 
new/Waybar-0.7.1/include/ALabel.hpp
--- old/Waybar-0.7.0/include/ALabel.hpp 2019-06-22 18:17:16.0 +0200
+++ new/Waybar-0.7.1/include/ALabel.hpp 2019-07-11 17:02:47.0 +0200
@@ -10,7 +10,7 @@
 class ALabel : public AModule {
  public:
   ALabel(const Json::Value &, const std::string &, const std::string &, const 
std::string ,
- uint16_t interval = 0);
+ uint16_t interval = 0, bool ellipsize = false);
   virtual ~ALabel() = default;
   virtual autoupdate() -> void;
   virtual std::string getIcon(uint16_t, const std::string  = "", uint16_t 
max = 0);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Waybar-0.7.0/meson.build new/Waybar-0.7.1/meson.build
--- old/Waybar-0.7.0/meson.build2019-06-22 18:17:16.0 +0200
+++ new/Waybar-0.7.1/meson.build2019-07-11 17:02:47.0 +0200
@@ -1,6 +1,6 @@
 project(
 'waybar', 'cpp', 'c',
-version: '0.7.0',
+version: '0.7.1',
 license: 'MIT',
 default_options : [
 'cpp_std=c++17',
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Waybar-0.7.0/resources/style.css 
new/Waybar-0.7.1/resources/style.css
--- old/Waybar-0.7.0/resources/style.css2019-06-22 18:17:16.0 
+0200
+++ new/Waybar-0.7.1/resources/style.css2019-07-11 17:02:47.0 
+0200
@@ -36,7 +36,6 @@
 border: none;
 }
 
-/* 
https://github.com/Alexays/Waybar/wiki/FAQ#the-workspace-buttons-have-a-strange-hover-effect
 */
 #workspaces button {
 padding: 0 5px;
 background-color: transparent;
@@ -44,6 +43,13 @@
 border-bottom: 3px solid transparent;
 }
 
+/* 
https://github.com/Alexays/Waybar/wiki/FAQ#the-workspace-buttons-have-a-strange-hover-effect
 */
+#workspaces button:hover {
+background: rgba(0, 0, 0, 0.2);
+box-shadow: inherit;
+border-bottom: 3px solid #ff;
+}
+
 #workspaces button.focused {
 background-color: #64727D;
 border-bottom: 3px solid #ff;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Waybar-0.7.0/src/ALabel.cpp 
new/Waybar-0.7.1/src/ALabel.cpp
--- old/Waybar-0.7.0/src/ALabel.cpp 2019-06-22 18:17:16.0 +0200
+++ new/Waybar-0.7.1/src/ALabel.cpp 2019-07-11 17:02:47.0 +0200
@@ -5,7 +5,7 @@
 namespace waybar {
 
 ALabel::ALabel(const Json::Value& config, const std::string& name, const 
std::string& id,
-   const std::string& format, uint16_t interval)
+   const std::string& format, uint16_t interval, bool ellipsize)
 : AModule(config, name, id, config["format-alt"].isString()),
   format_(config_["format"].isString() ? config_["format"].asString() : 
format),
   interval_(config_["interval"] == "once"
@@ -21,6 +21,8 @@
   if (config_["max-length"].isUInt()) {
 label_.set_max_width_chars(config_["max-length"].asUInt());
 label_.set_ellipsize(Pango::EllipsizeMode::ELLIPSIZE_END);
+  } else if (ellipsize && label_.get_max_width_chars() == -1) {
+label_.set_ellipsize(Pango::EllipsizeMode::ELLIPSIZE_END);
   }
 
   if (config_["rotate"].isUInt()) {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Waybar-0.7.0/src/bar.cpp 

commit waybar for openSUSE:Factory

2019-06-24 Thread root
Hello community,

here is the log from the commit of package waybar for openSUSE:Factory checked 
in at 2019-06-24 21:53:12

Comparing /work/SRC/openSUSE:Factory/waybar (Old)
 and  /work/SRC/openSUSE:Factory/.waybar.new.4615 (New)


Package is "waybar"

Mon Jun 24 21:53:12 2019 rev:10 rq:711644 version:0.7.0

Changes:

--- /work/SRC/openSUSE:Factory/waybar/waybar.changes2019-06-17 
10:35:08.145210342 +0200
+++ /work/SRC/openSUSE:Factory/.waybar.new.4615/waybar.changes  2019-06-24 
21:54:05.556139816 +0200
@@ -1,0 +2,12 @@
+Mon Jun 24 06:42:45 UTC 2019 - mvet...@suse.com
+
+- Update to 0.7.0:
+  Added:
+  * Scrolling threshold #381
+  * Total memory #385
+  Changed:
+  * Improved scroll behavior
+  * Fixed sway/window not showing window title sometimes 486b5a5
+  * Fixed sway/window not showing floating window title dabe2be
+
+---

Old:

  0.6.9.tar.gz

New:

  0.7.0.tar.gz



Other differences:
--
++ waybar.spec ++
--- /var/tmp/diff_new_pack.QXeDPa/_old  2019-06-24 21:54:06.208140318 +0200
+++ /var/tmp/diff_new_pack.QXeDPa/_new  2019-06-24 21:54:06.212140321 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   waybar
-Version:0.6.9
+Version:0.7.0
 Release:0
 Summary:Customizable Wayland bar for Sway and Wlroots based compositors
 License:MIT

++ 0.6.9.tar.gz -> 0.7.0.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Waybar-0.6.9/include/ALabel.hpp 
new/Waybar-0.7.0/include/ALabel.hpp
--- old/Waybar-0.6.9/include/ALabel.hpp 2019-06-14 10:27:41.0 +0200
+++ new/Waybar-0.7.0/include/ALabel.hpp 2019-06-22 18:17:16.0 +0200
@@ -1,41 +1,30 @@
 #pragma once
 
 #include 
-#include 
 #include 
 #include 
-#include "IModule.hpp"
+#include "AModule.hpp"
 
 namespace waybar {
 
-class ALabel : public IModule {
+class ALabel : public AModule {
  public:
   ALabel(const Json::Value &, const std::string &, const std::string &, const 
std::string ,
  uint16_t interval = 0);
-  virtual ~ALabel();
+  virtual ~ALabel() = default;
   virtual autoupdate() -> void;
   virtual std::string getIcon(uint16_t, const std::string  = "", uint16_t 
max = 0);
-  virtual operator Gtk::Widget &();
 
  protected:
-  bool tooltipEnabled();
-
-  Gtk::EventBox  event_box_;
   Gtk::Label label_;
-  const Json::Value &config_;
   std::stringformat_;
   std::stringclick_param;
-  std::mutex mutex_;
   const std::chrono::seconds interval_;
   bool   alt_ = false;
   std::stringdefault_format_;
 
-  virtual boolhandleToggle(GdkEventButton *const );
-  virtual boolhandleScroll(GdkEventScroll *);
+  virtual boolhandleToggle(GdkEventButton *const );
   virtual std::string getState(uint8_t value, bool lesser = false);
-
- private:
-  std::vector pid_;
 };
 
 }  // namespace waybar
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Waybar-0.6.9/include/AModule.hpp 
new/Waybar-0.7.0/include/AModule.hpp
--- old/Waybar-0.6.9/include/AModule.hpp1970-01-01 01:00:00.0 
+0100
+++ new/Waybar-0.7.0/include/AModule.hpp2019-06-22 18:17:16.0 
+0200
@@ -0,0 +1,40 @@
+#pragma once
+
+#include 
+#include 
+#include 
+#include 
+#include "IModule.hpp"
+
+namespace waybar {
+
+class AModule : public IModule {
+ public:
+  AModule(const Json::Value &, const std::string &, const std::string &,
+  bool enable_click = false, bool enable_scroll = false);
+  virtual ~AModule();
+  virtual auto update() -> void;
+  virtual  operator Gtk::Widget &();
+
+  Glib::Dispatcher dp;
+
+ protected:
+  enum SCROLL_DIR { NONE, UP, DOWN, LEFT, RIGHT };
+
+  SCROLL_DIR getScrollDir(GdkEventScroll *e);
+  bool   tooltipEnabled();
+
+  const Json::Value _;
+  Gtk::EventBox  event_box_;
+  std::stringclick_param_;
+
+  virtual bool handleToggle(GdkEventButton *const );
+  virtual bool handleScroll(GdkEventScroll *);
+
+ private:
+  std::vector pid_;
+  gdouble  distance_scrolled_y_;
+  gdouble  distance_scrolled_x_;
+};
+
+}  // namespace waybar
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Waybar-0.6.9/include/IModule.hpp 
new/Waybar-0.7.0/include/IModule.hpp
--- old/Waybar-0.6.9/include/IModule.hpp2019-06-14 10:27:41.0 
+0200
+++ new/Waybar-0.7.0/include/IModule.hpp2019-06-22 18:17:16.0 
+0200
@@ -1,7 +1,5 @@
 #pragma once
 
-#include 
-#include 
 #include 
 
 namespace waybar {
@@ -11,7 +9,6 @@
   

commit waybar for openSUSE:Factory

2019-06-17 Thread root
Hello community,

here is the log from the commit of package waybar for openSUSE:Factory checked 
in at 2019-06-17 10:35:05

Comparing /work/SRC/openSUSE:Factory/waybar (Old)
 and  /work/SRC/openSUSE:Factory/.waybar.new.4811 (New)


Package is "waybar"

Mon Jun 17 10:35:05 2019 rev:9 rq:710283 version:0.6.9

Changes:

--- /work/SRC/openSUSE:Factory/waybar/waybar.changes2019-06-12 
13:15:56.472713369 +0200
+++ /work/SRC/openSUSE:Factory/.waybar.new.4811/waybar.changes  2019-06-17 
10:35:08.145210342 +0200
@@ -1,0 +2,11 @@
+Sat Jun 15 07:19:59 UTC 2019 - mvet...@suse.com
+
+- Update to 0.6.9:
+  Added:
+  * Added monitor name as bar class 46e5dd9
+  * Added class for persistant workspaces c2e9ed6
+  Changed:
+  * Fixed custom module exit status 564fdcb
+  * Avoid expand sway/window width 3c9b533
+
+---

Old:

  0.6.8.tar.gz

New:

  0.6.9.tar.gz



Other differences:
--
++ waybar.spec ++
--- /var/tmp/diff_new_pack.meok8F/_old  2019-06-17 10:35:09.861209484 +0200
+++ /var/tmp/diff_new_pack.meok8F/_new  2019-06-17 10:35:09.865209482 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   waybar
-Version:0.6.8
+Version:0.6.9
 Release:0
 Summary:Customizable Wayland bar for Sway and Wlroots based compositors
 License:MIT

++ 0.6.8.tar.gz -> 0.6.9.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Waybar-0.6.8/README.md new/Waybar-0.6.9/README.md
--- old/Waybar-0.6.8/README.md  2019-06-08 18:33:17.0 +0200
+++ new/Waybar-0.6.9/README.md  2019-06-14 10:27:41.0 +0200
@@ -2,7 +2,8 @@
 
 > Highly customizable Wayland bar for Sway and Wlroots based compositors.
 > Available in Arch 
 > [community](https://www.archlinux.org/packages/community/x86_64/waybar/) or
-[AUR](https://aur.archlinux.org/packages/waybar-git/) and 
[openSUSE](https://build.opensuse.org/package/show/X11:Wayland/waybar)
+[AUR](https://aur.archlinux.org/packages/waybar-git/) and 
[openSUSE](https://build.opensuse.org/package/show/X11:Wayland/waybar)
+> *Waybar [examples](https://github.com/Alexays/Waybar/wiki/Examples)*
 
 **Current features**
 - Sway (Workspaces, Binding mode, Focused window name)
@@ -42,6 +43,7 @@
 gtkmm3
 jsoncpp
 libinput
+
 libsigc++
 fmt
 wayland
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Waybar-0.6.8/include/util/command.hpp 
new/Waybar-0.6.9/include/util/command.hpp
--- old/Waybar-0.6.8/include/util/command.hpp   2019-06-08 18:33:17.0 
+0200
+++ new/Waybar-0.6.9/include/util/command.hpp   2019-06-14 10:27:41.0 
+0200
@@ -33,7 +33,7 @@
   fclose(fp);
   while (waitpid(pid, , 0) == -1) {
 if (errno != EINTR) {
-  stat = -1;
+  stat = 0;
   break;
 }
   }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Waybar-0.6.8/include/util/sleeper_thread.hpp 
new/Waybar-0.6.9/include/util/sleeper_thread.hpp
--- old/Waybar-0.6.8/include/util/sleeper_thread.hpp2019-06-08 
18:33:17.0 +0200
+++ new/Waybar-0.6.9/include/util/sleeper_thread.hpp2019-06-14 
10:27:41.0 +0200
@@ -14,7 +14,10 @@
 
   SleeperThread(std::function func)
   : thread_{[this, func] {
-  while (do_run_) func();
+  while (do_run_) {
+signal_ = false;
+func();
+  }
 }} {}
 
   SleeperThread& operator=(std::function func) {
@@ -42,7 +45,10 @@
   }
 
   auto wake_up() {
-signal_ = true;
+{
+  std::lock_guard lck(mutex_);
+  signal_ = true;
+}
 condvar_.notify_all();
   }
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Waybar-0.6.8/meson.build new/Waybar-0.6.9/meson.build
--- old/Waybar-0.6.8/meson.build2019-06-08 18:33:17.0 +0200
+++ new/Waybar-0.6.9/meson.build2019-06-14 10:27:41.0 +0200
@@ -1,6 +1,6 @@
 project(
 'waybar', 'cpp', 'c',
-version: '0.6.8',
+version: '0.6.9',
 license: 'MIT',
 default_options : [
 'cpp_std=c++17',
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Waybar-0.6.8/src/bar.cpp new/Waybar-0.6.9/src/bar.cpp
--- old/Waybar-0.6.8/src/bar.cpp2019-06-08 18:33:17.0 +0200
+++ new/Waybar-0.6.9/src/bar.cpp2019-06-14 10:27:41.0 +0200
@@ -17,6 +17,7 @@
   window.set_title("waybar");
   window.set_name("waybar");
   window.set_decorated(false);
+  window.get_style_context()->add_class(output->name);
 
   if (config["position"] == "right" || config["position"] == "left") {
 height_ = 0;
diff -urN '--exclude=CVS' 

commit waybar for openSUSE:Factory

2019-06-12 Thread root
Hello community,

here is the log from the commit of package waybar for openSUSE:Factory checked 
in at 2019-06-12 13:15:54

Comparing /work/SRC/openSUSE:Factory/waybar (Old)
 and  /work/SRC/openSUSE:Factory/.waybar.new.4811 (New)


Package is "waybar"

Wed Jun 12 13:15:54 2019 rev:8 rq:709001 version:0.6.8

Changes:

--- /work/SRC/openSUSE:Factory/waybar/waybar.changes2019-06-03 
18:56:37.836400808 +0200
+++ /work/SRC/openSUSE:Factory/.waybar.new.4811/waybar.changes  2019-06-12 
13:15:56.472713369 +0200
@@ -1,0 +2,8 @@
+Tue Jun 11 03:20:47 UTC 2019 - mvet...@suse.com
+
+- Update to 0.6.8:
+  * Fixed window app class 1962caf
+  * Fixed static custom module 9dbf057
+  * Only watch pulseaudio change events 0b01b35
+
+---

Old:

  0.6.7.tar.gz

New:

  0.6.8.tar.gz



Other differences:
--
++ waybar.spec ++
--- /var/tmp/diff_new_pack.B07JeF/_old  2019-06-12 13:15:56.868712954 +0200
+++ /var/tmp/diff_new_pack.B07JeF/_new  2019-06-12 13:15:56.868712954 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   waybar
-Version:0.6.7
+Version:0.6.8
 Release:0
 Summary:Customizable Wayland bar for Sway and Wlroots based compositors
 License:MIT

++ 0.6.7.tar.gz -> 0.6.8.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Waybar-0.6.7/include/modules/sway/window.hpp 
new/Waybar-0.6.8/include/modules/sway/window.hpp
--- old/Waybar-0.6.7/include/modules/sway/window.hpp2019-05-31 
12:15:01.0 +0200
+++ new/Waybar-0.6.8/include/modules/sway/window.hpp2019-06-08 
18:33:17.0 +0200
@@ -29,6 +29,8 @@
   std::string  window_;
   int  windowId_;
   std::string  app_id_;
+  std::string  old_app_id_;
+  std::size_t  app_nb_;
   util::JsonParser parser_;
 
   util::SleeperThread thread_;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Waybar-0.6.7/include/util/command.hpp 
new/Waybar-0.6.8/include/util/command.hpp
--- old/Waybar-0.6.7/include/util/command.hpp   2019-05-31 12:15:01.0 
+0200
+++ new/Waybar-0.6.8/include/util/command.hpp   2019-06-08 18:33:17.0 
+0200
@@ -90,6 +90,8 @@
 setpgid(pid, pid);
 execl("/bin/sh", "sh", "-c", cmd.c_str(), (char*)0);
 exit(0);
+  } else {
+signal(SIGCHLD,SIG_IGN);
   }
 
   return pid;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Waybar-0.6.7/meson.build new/Waybar-0.6.8/meson.build
--- old/Waybar-0.6.7/meson.build2019-05-31 12:15:01.0 +0200
+++ new/Waybar-0.6.8/meson.build2019-06-08 18:33:17.0 +0200
@@ -1,6 +1,6 @@
 project(
 'waybar', 'cpp', 'c',
-version: '0.6.7',
+version: '0.6.8',
 license: 'MIT',
 default_options : [
 'cpp_std=c++17',
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Waybar-0.6.7/resources/style.css 
new/Waybar-0.6.8/resources/style.css
--- old/Waybar-0.6.7/resources/style.css2019-05-31 12:15:01.0 
+0200
+++ new/Waybar-0.6.8/resources/style.css2019-06-08 18:33:17.0 
+0200
@@ -7,10 +7,10 @@
 }
 
 window#waybar {
-background: rgba(43, 48, 59, 0.5);
+background-color: rgba(43, 48, 59, 0.5);
 border-bottom: 3px solid rgba(100, 114, 125, 0.5);
 color: #ff;
-transition-property: background, background-color;
+transition-property: background-color;
 transition-duration: .5s;
 }
 
@@ -20,10 +20,10 @@
 
 /*
 window#waybar.empty {
-background: transparent;
+background-color: transparent;
 }
 window#waybar.solo {
-background: #FF;
+background-color: #FF;
 }
 */
 
@@ -39,13 +39,13 @@
 /* 
https://github.com/Alexays/Waybar/wiki/FAQ#the-workspace-buttons-have-a-strange-hover-effect
 */
 #workspaces button {
 padding: 0 5px;
-background: transparent;
+background-color: transparent;
 color: #ff;
 border-bottom: 3px solid transparent;
 }
 
 #workspaces button.focused {
-background: #64727D;
+background-color: #64727D;
 border-bottom: 3px solid #ff;
 }
 
@@ -54,7 +54,7 @@
 }
 
 #mode {
-background: #64727D;
+background-color: #64727D;
 border-bottom: 3px solid #ff;
 }
 
@@ -86,7 +86,7 @@
 }
 
 #battery.critical:not(.charging) {
-background: #f53c3c;
+background-color: #f53c3c;
 color: #ff;
 animation-name: blink;
 animation-duration: 0.5s;
@@ -100,56 +100,56 @@
 }
 
 #cpu {
-background: #2ecc71;
+background-color: #2ecc71;
 color: #00;
 }
 
 #memory {
-background: #9b59b6;
+background-color: #9b59b6;
 }
 
 

commit waybar for openSUSE:Factory

2019-06-03 Thread root
Hello community,

here is the log from the commit of package waybar for openSUSE:Factory checked 
in at 2019-06-03 18:56:35

Comparing /work/SRC/openSUSE:Factory/waybar (Old)
 and  /work/SRC/openSUSE:Factory/.waybar.new.5148 (New)


Package is "waybar"

Mon Jun  3 18:56:35 2019 rev:7 rq:707076 version:0.6.7

Changes:

--- /work/SRC/openSUSE:Factory/waybar/waybar.changes2019-06-01 
09:50:52.535296104 +0200
+++ /work/SRC/openSUSE:Factory/.waybar.new.5148/waybar.changes  2019-06-03 
18:56:37.836400808 +0200
@@ -1,0 +2,8 @@
+Mon Jun  3 08:15:11 UTC 2019 - mvet...@suse.com
+
+- Update to 0.6.7:
+  * Better network events handler ecec02c
+  * Hide custom module on empty text be2fa74
+  * Code cleaning and Some optimizations
+
+---

Old:

  0.6.6.tar.gz

New:

  0.6.7.tar.gz



Other differences:
--
++ waybar.spec ++
--- /var/tmp/diff_new_pack.Z0AxLx/_old  2019-06-03 18:56:38.448400581 +0200
+++ /var/tmp/diff_new_pack.Z0AxLx/_new  2019-06-03 18:56:38.452400579 +0200
@@ -12,12 +12,12 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via https://bugs.opensuse.org/
+# Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
 
 Name:   waybar
-Version:0.6.6
+Version:0.6.7
 Release:0
 Summary:Customizable Wayland bar for Sway and Wlroots based compositors
 License:MIT

++ 0.6.6.tar.gz -> 0.6.7.tar.gz ++
 1705 lines of diff (skipped)




commit waybar for openSUSE:Factory

2019-06-01 Thread root
Hello community,

here is the log from the commit of package waybar for openSUSE:Factory checked 
in at 2019-06-01 09:50:51

Comparing /work/SRC/openSUSE:Factory/waybar (Old)
 and  /work/SRC/openSUSE:Factory/.waybar.new.5148 (New)


Package is "waybar"

Sat Jun  1 09:50:51 2019 rev:6 rq:706081 version:0.6.6

Changes:

--- /work/SRC/openSUSE:Factory/waybar/waybar.changes2019-05-03 
22:47:31.379920240 +0200
+++ /work/SRC/openSUSE:Factory/.waybar.new.5148/waybar.changes  2019-06-01 
09:50:52.535296104 +0200
@@ -1,0 +2,71 @@
+Wed May 22 15:02:37 UTC 2019 - Michael Aquilina 
+
+- Update to 0.6.6:
+  Added
+  * Pulseaudio microphone state bb4af29
+  * Persistent workspaces #330
+  * Logger #332
+  * Estimated battery remaining time until empty/full #331
+  Changed
+  * Switch between network ifaces upon disconnection 48a58cd
+  * Brightness amd fix #336
+  * Fixed some clock issues #333
+  * Wlroots dependency removed 03e43f
+  * Escape sway mode 12a251c
+
+--
+Wed May 22 15:02:37 UTC 2019 - Michael Aquilina 
+
+- Update to 0.6.5:
+Added
+* Network bandwidth support (traffic) #328
+* Network frequency tag cb2d6e1
+* Update custom modules on click/scroll ff28de0
+Changed
+* Execute Modules update on gtk idle aa385e2
+* Fixed battery plugged state 17291df
+* Fixed gtk error on output plug/unplug f8a4759
+* Fixed tray button behaviour d2d9db2
+* Network code optimizations d34c3a8 4865a9a aa385e2
+* Workspace scroll changes 1e95f5d 0d59f7b 3e1c77d
+
+--
+Wed May 22 15:02:37 UTC 2019 - Michael Aquilina 
+
+- Update to 0.6.4:
+Added
+* Temperature format-icons fcb23d3
+* Battery plugged but not charging status 5b3402e
+* Network linked state/format #319
+* Able to scroll throught workspaces from bar blank spaces #322
+* Battery format-icons by states 4b4b74d
+Changed
+* Network refactor #319, closes #292 #230 #239
+* Fixed network module compilation on Alpine e12766a
+* Fixed window classes 62f8af8
+* Fixed state order for modules 92967c7 7e8eee0
+* Fixed pulseaudio scroll override 4f1defe
+* Fixed sigsev on output plug/unplug 362c393 0c3c548
+* Fixed tray items duplication b54160e
+
+---
+Wed May 22 15:02:37 UTC 2019 - Michael Aquilina 
+
+- Update to 0.6.3:
+Changed
+* Fixed battery module compilation on older system 80e9ea7
+* Fixed pulseaudio bluetooth format e343cf4
+* Remove empty and solo classes when they do not apply 7cdde05
+
+---
+Wed May 22 15:02:37 UTC 2019 - Michael Aquilina 
+
+- Update to 0.6.2:
+Added
+* Gaps/Margins 4688002
+* Idle inhibitor click arguments 5623bbe
+* Battery states adapted to backlight, cpu, memory, network, volume 
percentage values #297
+Changed
+* Title flickers fixed 74137be
+
+---

Old:

  0.6.1.tar.gz

New:

  0.6.6.tar.gz



Other differences:
--
++ waybar.spec ++
--- /var/tmp/diff_new_pack.80xYGN/_old  2019-06-01 09:50:53.155295892 +0200
+++ /var/tmp/diff_new_pack.80xYGN/_new  2019-06-01 09:50:53.155295892 +0200
@@ -12,27 +12,29 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
 Name:   waybar
-Version:0.6.1
+Version:0.6.6
 Release:0
 Summary:Customizable Wayland bar for Sway and Wlroots based compositors
 License:MIT
 Group:  System/GUI/Other
 URL:https://github.com/Alexays/Waybar
 Source: https://github.com/Alexays/Waybar/archive/%{version}.tar.gz
+BuildRequires:  cmake
 BuildRequires:  fmt-devel
 BuildRequires:  gcc-c++
 BuildRequires:  gtkmm3-devel
 BuildRequires:  jsoncpp-devel
 BuildRequires:  libinput-devel
 BuildRequires:  libsigc++3-devel
+BuildRequires:  libudev-devel
 BuildRequires:  meson
 BuildRequires:  ninja
-BuildRequires:  wlroots-devel
+BuildRequires:  spdlog-devel
 # optional: tray module
 BuildRequires:  libdbusmenu-gtk3-devel
 # optional: network

++ 0.6.1.tar.gz -> 0.6.6.tar.gz ++
 3323 lines of diff (skipped)




commit waybar for openSUSE:Factory

2019-05-03 Thread root
Hello community,

here is the log from the commit of package waybar for openSUSE:Factory checked 
in at 2019-05-03 22:47:29

Comparing /work/SRC/openSUSE:Factory/waybar (Old)
 and  /work/SRC/openSUSE:Factory/.waybar.new.5148 (New)


Package is "waybar"

Fri May  3 22:47:29 2019 rev:5 rq:700319 version:0.6.1

Changes:

--- /work/SRC/openSUSE:Factory/waybar/waybar.changes2019-04-26 
22:54:57.665295380 +0200
+++ /work/SRC/openSUSE:Factory/.waybar.new.5148/waybar.changes  2019-05-03 
22:47:31.379920240 +0200
@@ -1,0 +2,11 @@
+Fri May  3 06:52:48 UTC 2019 - mvet...@suse.com
+
+- Update to 0.6.1:
+  Added:
+  * Labels rotation #287
+  Changed:
+  * s/hidded/hidden/ typo fixed 4d4562a
+  * JSON parser threads concurrence fixed d027243
+  * Custom modules with once interval fixed e8f31a0
+
+---

Old:

  0.6.0.tar.gz

New:

  0.6.1.tar.gz



Other differences:
--
++ waybar.spec ++
--- /var/tmp/diff_new_pack.mTCPE7/_old  2019-05-03 22:47:31.867921360 +0200
+++ /var/tmp/diff_new_pack.mTCPE7/_new  2019-05-03 22:47:31.871921369 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   waybar
-Version:0.6.0
+Version:0.6.1
 Release:0
 Summary:Customizable Wayland bar for Sway and Wlroots based compositors
 License:MIT

++ 0.6.0.tar.gz -> 0.6.1.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Waybar-0.6.0/include/modules/sway/ipc/client.hpp 
new/Waybar-0.6.1/include/modules/sway/ipc/client.hpp
--- old/Waybar-0.6.0/include/modules/sway/ipc/client.hpp2019-04-25 
16:59:22.0 +0200
+++ new/Waybar-0.6.1/include/modules/sway/ipc/client.hpp2019-05-02 
14:31:02.0 +0200
@@ -44,6 +44,7 @@
   int  fd_event_;
   std::mutex   mutex_;
   std::mutex   mutex_event_;
+  std::mutex   mutex_parser_;
   util::JsonParser parser_;
 };
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Waybar-0.6.0/meson.build new/Waybar-0.6.1/meson.build
--- old/Waybar-0.6.0/meson.build2019-04-25 16:59:22.0 +0200
+++ new/Waybar-0.6.1/meson.build2019-05-02 14:31:02.0 +0200
@@ -1,6 +1,6 @@
 project(
 'waybar', 'cpp', 'c',
-version: '0.6.0',
+version: '0.6.1',
 license: 'MIT',
 default_options : [
 'cpp_std=c++17',
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Waybar-0.6.0/resources/style.css 
new/Waybar-0.6.1/resources/style.css
--- old/Waybar-0.6.0/resources/style.css2019-04-25 16:59:22.0 
+0200
+++ new/Waybar-0.6.1/resources/style.css2019-05-02 14:31:02.0 
+0200
@@ -10,9 +10,11 @@
 background: rgba(43, 48, 59, 0.5);
 border-bottom: 3px solid rgba(100, 114, 125, 0.5);
 color: #ff;
+transition-property: background, background-color;
+transition-duration: .5s;
 }
 
-window#waybar.hidded {
+window#waybar.hidden {
 opacity: 0.2;
 }
 
@@ -32,6 +34,7 @@
 window#waybar.chromium {
 background-color: #DEE1E6;
 color: #00;
+border: none;
 }
 
 /* 
https://github.com/Alexays/Waybar/wiki/FAQ#the-workspace-buttons-have-a-strange-hover-effect
 */
@@ -42,11 +45,19 @@
 border-bottom: 3px solid transparent;
 }
 
+window#waybar.chromium #workspaces button {
+color: #3F3F3F;
+}
+
 #workspaces button.focused {
 background: #64727D;
 border-bottom: 3px solid #ff;
 }
 
+window#waybar.chromium #workspaces button.focused {
+color: #ff;
+}
+
 #workspaces button.urgent {
 background-color: #eb4d4b;
 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Waybar-0.6.0/src/ALabel.cpp 
new/Waybar-0.6.1/src/ALabel.cpp
--- old/Waybar-0.6.0/src/ALabel.cpp 2019-04-25 16:59:22.0 +0200
+++ new/Waybar-0.6.1/src/ALabel.cpp 2019-05-02 14:31:02.0 +0200
@@ -7,7 +7,7 @@
 : config_(config),
   format_(config_["format"].isString() ? config_["format"].asString() : 
format),
   interval_(config_["interval"] == "once"
-? 
std::chrono::seconds(std::numeric_limits::infinity())
+? std::chrono::seconds(1)
 : std::chrono::seconds(
   config_["interval"].isUInt() ? 
config_["interval"].asUInt() : interval)),
   default_format_(format_) {
@@ -16,6 +16,11 @@
 label_.set_max_width_chars(config_["max-length"].asUInt());
 label_.set_ellipsize(Pango::EllipsizeMode::ELLIPSIZE_END);
   }
+
+  if (config_["rotate"].isUInt()) {
+label_.set_angle(config["rotate"].asUInt());
+  }
+
   if (config_["format-alt"].isString()) 

commit waybar for openSUSE:Factory

2019-04-26 Thread root
Hello community,

here is the log from the commit of package waybar for openSUSE:Factory checked 
in at 2019-04-26 22:54:56

Comparing /work/SRC/openSUSE:Factory/waybar (Old)
 and  /work/SRC/openSUSE:Factory/.waybar.new.5536 (New)


Package is "waybar"

Fri Apr 26 22:54:56 2019 rev:4 rq:698119 version:0.6.0

Changes:

--- /work/SRC/openSUSE:Factory/waybar/waybar.changes2019-04-05 
12:06:21.506566034 +0200
+++ /work/SRC/openSUSE:Factory/.waybar.new.5536/waybar.changes  2019-04-26 
22:54:57.665295380 +0200
@@ -1,0 +2,18 @@
+Fri Apr 26 09:43:59 UTC 2019 - mvet...@suse.com
+
+- Update to 0.6.0:
+  Added:
+  * MPD Module
+  * Manage the style of the bar according to the window in the workspace 
bb8ff5a
+  * Custom modules: Allow to toggle multiple classes 6aee514
+  * Partially hide Waybar with the .hidded class on toggle (SIGUSR1) ecc5f48
+  * Multiple bars on the same screen with one file 79a5e9e
+  Changed:
+  * Handle widgets size changes for auto height/width management 311c34e
+  * Tray: Icons update fixed
+  * Tray: Icons size 3273ee8
+  * Workspace: Pango markup now supported bc9a497
+  * Custom: Kill scripts on bar destroy 90d89fe
+  * Some screens output/unplug fixed
+
+---

Old:

  0.5.1.tar.gz

New:

  0.6.0.tar.gz



Other differences:
--
++ waybar.spec ++
--- /var/tmp/diff_new_pack.cY4uMl/_old  2019-04-26 22:54:58.405294903 +0200
+++ /var/tmp/diff_new_pack.cY4uMl/_new  2019-04-26 22:54:58.405294903 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   waybar
-Version:0.5.1
+Version:0.6.0
 Release:0
 Summary:Customizable Wayland bar for Sway and Wlroots based compositors
 License:MIT
@@ -39,6 +39,8 @@
 BuildRequires:  libnl3-devel
 # optional: audio
 BuildRequires:  libpulse-devel
+# optional: mpd module
+BuildRequires:  libmpdclient-devel
 # optional: sway integration
 Recommends: sway
 

++ 0.5.1.tar.gz -> 0.6.0.tar.gz ++
 6816 lines of diff (skipped)




commit waybar for openSUSE:Factory

2019-04-05 Thread root
Hello community,

here is the log from the commit of package waybar for openSUSE:Factory checked 
in at 2019-04-05 12:04:50

Comparing /work/SRC/openSUSE:Factory/waybar (Old)
 and  /work/SRC/openSUSE:Factory/.waybar.new.3908 (New)


Package is "waybar"

Fri Apr  5 12:04:50 2019 rev:3 rq:691469 version:0.5.1

Changes:

--- /work/SRC/openSUSE:Factory/waybar/waybar.changes2019-03-26 
15:44:16.368160332 +0100
+++ /work/SRC/openSUSE:Factory/.waybar.new.3908/waybar.changes  2019-04-05 
12:06:21.506566034 +0200
@@ -1,0 +2,16 @@
+Thu Apr  4 10:31:19 UTC 2019 - mvet...@suse.com
+
+- Update to 0.5.1:
+  Added:
+  * Tray: Handle icons updates #252
+  * Allow waybar to be positioned on left/right 47142a6
+  * Custom: Allow icon selection based on json alt attribute #245
+  Changed:
+  * Network: Escape ESSID #241
+  * Workspace: Reversed scrolling direction to reflect swaybar
+behavior 5144426
+  * Script: mediaplayer script is now generic and return json
+data with player name for icon matching #249
+  * Network: Fixed multiple networking module regression 1f6f443
+
+---

Old:

  0.5.0.tar.gz

New:

  0.5.1.tar.gz



Other differences:
--
++ waybar.spec ++
--- /var/tmp/diff_new_pack.0O2J5e/_old  2019-04-05 12:06:23.806565279 +0200
+++ /var/tmp/diff_new_pack.0O2J5e/_new  2019-04-05 12:06:23.810565281 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   waybar
-Version:0.5.0
+Version:0.5.1
 Release:0
 Summary:Customizable Wayland bar for Sway and Wlroots based compositors
 License:MIT

++ 0.5.0.tar.gz -> 0.5.1.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Waybar-0.5.0/README.md new/Waybar-0.5.1/README.md
--- old/Waybar-0.5.0/README.md  2019-03-20 10:51:40.0 +0100
+++ new/Waybar-0.5.1/README.md  2019-04-04 12:01:00.0 +0200
@@ -2,7 +2,8 @@
 **Proof of concept**
 
 > Highly customizable Wayland bar for Sway and Wlroots based compositors.
-> Available on [AUR](https://aur.archlinux.org/packages/waybar-git/) and 
[openSUSE](https://build.opensuse.org/package/show/X11:Wayland/waybar)
+> Available in Arch 
[community](https://www.archlinux.org/packages/community/x86_64/waybar/) or
+[AUR](https://aur.archlinux.org/packages/waybar-git/) and 
[openSUSE](https://build.opensuse.org/package/show/X11:Wayland/waybar)
 
 **Current features**
 - Sway (Workspaces, Binding mode, Focused window name)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Waybar-0.5.0/include/bar.hpp 
new/Waybar-0.5.1/include/bar.hpp
--- old/Waybar-0.5.0/include/bar.hpp2019-03-20 10:51:40.0 +0100
+++ new/Waybar-0.5.1/include/bar.hpp2019-04-04 12:01:00.0 +0200
@@ -32,6 +32,7 @@
 std::string output_name;
 uint32_t wl_name;
 bool visible = true;
+bool vertical = false;
   private:
 static void handleLogicalPosition(void *, struct zxdg_output_v1 *, int32_t,
   int32_t);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Waybar-0.5.0/include/modules/network.hpp 
new/Waybar-0.5.1/include/modules/network.hpp
--- old/Waybar-0.5.0/include/modules/network.hpp2019-03-20 
10:51:40.0 +0100
+++ new/Waybar-0.5.1/include/modules/network.hpp2019-04-04 
12:01:00.0 +0200
@@ -23,6 +23,7 @@
 static const uint8_t MAX_RETRY = 5;
 static const uint8_t EPOLL_MAX = 255;
 
+static int handleEvents(struct nl_msg*, void*);
 static int handleScan(struct nl_msg*, void*);
 
 void worker();
@@ -31,7 +32,6 @@
 void createEventSocket();
 int getExternalInterface();
 void getInterfaceAddress();
-void handleEvents();
 int netlinkRequest(void*, uint32_t, uint32_t groups = 0);
 int netlinkResponse(void*, uint32_t, uint32_t groups = 0);
 void parseEssid(struct nlattr**);
@@ -45,7 +45,7 @@
 sa_family_t family_;
 struct sockaddr_nl nladdr_ = {0};
 struct nl_sock* sk_ = nullptr;
-int info_sock_;
+struct nl_sock* info_sock_ = nullptr;
 int efd_;
 int ev_fd_;
 int nl80211_id_;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Waybar-0.5.0/include/modules/sni/item.hpp 
new/Waybar-0.5.1/include/modules/sni/item.hpp
--- old/Waybar-0.5.0/include/modules/sni/item.hpp   2019-03-20 
10:51:40.0 +0100
+++ new/Waybar-0.5.1/include/modules/sni/item.hpp   2019-04-04 
12:01:00.0 +0200
@@ -2,12 +2,14 @@
 
 #include 
 #include 
+#include 
 #include 
 #include 
 #include 
 #include 
 #include 
 #include 
+#include 
 #ifdef FILESYSTEM_EXPERIMENTAL
 #include 
 #else
@@ 

commit waybar for openSUSE:Factory

2019-03-26 Thread root
Hello community,

here is the log from the commit of package waybar for openSUSE:Factory checked 
in at 2019-03-26 15:43:44

Comparing /work/SRC/openSUSE:Factory/waybar (Old)
 and  /work/SRC/openSUSE:Factory/.waybar.new.25356 (New)


Package is "waybar"

Tue Mar 26 15:43:44 2019 rev:2 rq:687137 version:0.5.0

Changes:

--- /work/SRC/openSUSE:Factory/waybar/waybar.changes2019-02-24 
17:09:54.096514863 +0100
+++ /work/SRC/openSUSE:Factory/.waybar.new.25356/waybar.changes 2019-03-26 
15:44:16.368160332 +0100
@@ -1,0 +2,42 @@
+Thu Mar 21 08:07:51 UTC 2019 - mvet...@suse.com
+
+- Update to 0.5.0:
+  Added:
+  * Add temperature module 7ae549d
+  * Add option to show only current workspace in sway/workspaces module #206
+  * Add custom tooltip format for network module a9f680b
+  * Add status class to idle_inhibitor 973cec1
+  * Add pkill signals to custom modules #228
+  Changed:
+  * Improving mouse button support d0f56b7
+  * Fixed idle_inhibitor, handles click events correctly 80ef637
+  * Fixed clock seconds ef88f0a
+  * Fixed sway ipc crash when compiled with -D_GLIBCXX_ASSERTIONS 00176c9
+  * Fixed network skipped changes
+  * Workspaces scroll is now output aware except when all-outputs is set
+
+---
+Tue Mar 12 09:57:48 UTC 2019 - mvet...@suse.com
+
+- Update to 0.4.0:
+  Added:
+  * Output configuration
+  * Backlight module, thanks to @ianhattendorf
+  * Idle inhibitor, thanks to @jonfin
+  * Option to disable tooltip
+  * Option to escape custom module script output
+  Changed:
+  * Fixed workspace button order
+  * Fixed tray big icons
+  * Fixed scroll with touchpad
+- Changes from 0.3.0:
+  Added:
+  * Signal strength icons range, thx @Robinhuett
+  * Add format-icons to custom modules, again @Robinhuett smile
+  Changed:
+  * Return puleseaudio port string if unknown, thx @chep
+  * Check adapter online as fallback when battery status report unknown
+  * Typos fixed
+  * Better modules destructions
+
+---

Old:

  0.2.3.tar.gz

New:

  0.5.0.tar.gz



Other differences:
--
++ waybar.spec ++
--- /var/tmp/diff_new_pack.bK3eun/_old  2019-03-26 15:44:17.188159371 +0100
+++ /var/tmp/diff_new_pack.bK3eun/_new  2019-03-26 15:44:17.188159371 +0100
@@ -12,12 +12,12 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via https://bugs.opensuse.org/
+# Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
 
 Name:   waybar
-Version:0.2.3
+Version:0.5.0
 Release:0
 Summary:Customizable Wayland bar for Sway and Wlroots based compositors
 License:MIT

++ 0.2.3.tar.gz -> 0.5.0.tar.gz ++
 3390 lines of diff (skipped)