Skip to content

Commit 6d465bd

Browse files
committed
rofi-rbw: actually add patches
1 parent 3b141c7 commit 6d465bd

2 files changed

Lines changed: 20 additions & 1 deletion

File tree

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
From 87d63562356d27b9c824fe27592c19adc7653148 Mon Sep 17 00:00:00 2001
2+
From: Alexander Roso <github@qwertyuiop.de>
3+
Date: Tue, 10 Feb 2026 20:39:03 +0100
4+
Subject: [PATCH] Fix wayland detection always returning True
5+
6+
---
7+
src/rofi_rbw/abstractionhelper.py | 2 +-
8+
1 file changed, 1 insertion(+), 1 deletion(-)
9+
10+
diff --git a/src/rofi_rbw/abstractionhelper.py b/src/rofi_rbw/abstractionhelper.py
11+
index bead570..9836ddd 100644
12+
--- a/src/rofi_rbw/abstractionhelper.py
13+
+++ b/src/rofi_rbw/abstractionhelper.py
14+
@@ -7,4 +7,4 @@ def is_installed(executable: str) -> bool:
15+
16+
17+
def is_wayland() -> bool:
18+
- return os.environ.get("WAYLAND_DISPLAY", False) is not None
19+
+ return os.environ.get("WAYLAND_DISPLAY") is not None

srcpkgs/rofi-rbw/template

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Template file for 'rofi-rbw'
22
pkgname=rofi-rbw
33
version=1.6.0
4-
revision=2
4+
revision=3
55
build_style=python3-pep517
66
hostmakedepends="hatchling"
77
depends="python3 python3-ConfigArgParse rbw"

0 commit comments

Comments
 (0)