rofi-rbw: update to 1.0.1.
This commit is contained in:
parent
adf2d89e11
commit
db1d1d7305
@ -1,28 +0,0 @@
|
||||
From d059d0a4f352d295c116639798f8b5e110967e4f Mon Sep 17 00:00:00 2001
|
||||
From: Fabian Winter <5821180+fdw@users.noreply.github.com>
|
||||
Date: Mon, 27 Jun 2022 20:55:21 +0200
|
||||
Subject: [PATCH] Return correct values from wofi
|
||||
|
||||
Returning no targets might not be the best idea...
|
||||
|
||||
Issue: #51
|
||||
---
|
||||
src/rofi_rbw/selector.py | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/src/rofi_rbw/selector.py b/src/rofi_rbw/selector.py
|
||||
index d2c9844..e5d8696 100644
|
||||
--- a/src/rofi_rbw/selector.py
|
||||
+++ b/src/rofi_rbw/selector.py
|
||||
@@ -198,9 +198,9 @@ def show_selection(
|
||||
encoding='utf-8'
|
||||
)
|
||||
if wofi.returncode == 0:
|
||||
- return [], DEFAULT(), wofi.stdout
|
||||
+ return DEFAULT(), DEFAULT(), wofi.stdout
|
||||
else:
|
||||
- return [], CANCEL(), wofi.stdout
|
||||
+ return CANCEL(), CANCEL(), wofi.stdout
|
||||
|
||||
def select_target(
|
||||
self,
|
@ -1,7 +1,7 @@
|
||||
# Template file for 'rofi-rbw'
|
||||
pkgname=rofi-rbw
|
||||
version=1.0.0
|
||||
revision=2
|
||||
version=1.0.1
|
||||
revision=1
|
||||
build_style=python3-pep517
|
||||
make_install_target="rofi_rbw-${version}-py3-none-any.whl"
|
||||
hostmakedepends="python3-setuptools python3-wheel"
|
||||
@ -12,7 +12,7 @@ license="MIT"
|
||||
homepage="https://github.com/fdw/rofi-rbw"
|
||||
changelog="https://raw.githubusercontent.com/fdw/rofi-rbw/HEAD/CHANGELOG.md"
|
||||
distfiles="https://github.com/fdw/rofi-rbw/archive/${version}.tar.gz"
|
||||
checksum=25cebb7d0cbff19cd0dc54834455de0ae291c74c4d51d66a5c10a57093b49799
|
||||
checksum=37f14462a7a918df2ac9350db8e3822fc7bf9af490dddb60299ea73c976f6c97
|
||||
|
||||
post_install() {
|
||||
vman src/rofi_rbw/docs/rofi-rbw.1
|
||||
|
Loading…
x
Reference in New Issue
Block a user