Waybar: update to 0.14.0

This commit is contained in:
dogknowsnx 2025-08-08 11:45:02 +02:00 committed by tranzystorekk
parent b498008f35
commit a05c89ad39
3 changed files with 3 additions and 34 deletions

View file

@ -1,14 +0,0 @@
https://github.com/Alexays/Waybar/pull/4234
--- a/src/util/gtk_icon.cpp
+++ b/src/util/gtk_icon.cpp
@@ -25,6 +25,10 @@ Glib::RefPtr<Gdk::Pixbuf> DefaultGtkIconThemeWrapper::load_icon(
auto icon_info = default_theme->lookup_icon(name, tmp_size, flags);
+ if (icon_info == nullptr) {
+ return default_theme->load_icon(name, tmp_size, flags);
+ }
+
if (style.get() == nullptr) {
return icon_info.load_icon();
}

View file

@ -1,17 +0,0 @@
https://github.com/Alexays/Waybar/pull/4258
--- a/src/modules/network.cpp
+++ b/src/modules/network.cpp
@@ -272,11 +272,9 @@ void waybar::modules::Network::worker() {
const std::string waybar::modules::Network::getNetworkState() const {
#ifdef WANT_RFKILL
- if (rfkill_.getState()) return "disabled";
+ if (rfkill_.getState() && ifid_ == -1) return "disabled";
#endif
- if (ifid_ == -1) {
- return "disconnected";
- }
+ if (ifid_ == -1) return "disconnected";
if (!carrier_) return "disconnected";
if (ipaddr_.empty() && ipaddr6_.empty()) return "linked";
if (essid_.empty()) return "ethernet";

View file

@ -1,7 +1,7 @@
# Template file for 'Waybar'
pkgname=Waybar
version=0.13.0
revision=3
version=0.14.0
revision=1
build_style=meson
configure_args="-Dlibudev=enabled -Dman-pages=enabled
-Dsystemd=disabled -Drfkill=enabled
@ -30,7 +30,7 @@ license="MIT"
homepage="https://github.com/Alexays/Waybar"
changelog="https://github.com/Alexays/Waybar/releases"
distfiles="https://github.com/Alexays/Waybar/archive/refs/tags/${version}.tar.gz"
checksum=5148c802ecdcb459f0dbcb20b43a30f5751e9c1b2c9ed7bb893aa87f37212307
checksum=7f3859779bb3a5028a7215b2000c2e476c03453a52289164ba60a4bf1bb3772f
conf_files="/etc/xdg/waybar/config.jsonc /etc/xdg/waybar/style.css"
build_options="libnl pulseaudio dbusmenugtk mpd sndio jack pipewire"