From 01bedf9fa85da5b989ca6f55034189c88022c901 Mon Sep 17 00:00:00 2001 From: Daniel Fichtinger Date: Sun, 4 May 2025 17:29:08 -0400 Subject: [PATCH] AutoYADM commit: 2025-05-04 17:29:08 --- .config/niri/scripts/rofi-rbw-wrapper.fish | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100755 .config/niri/scripts/rofi-rbw-wrapper.fish diff --git a/.config/niri/scripts/rofi-rbw-wrapper.fish b/.config/niri/scripts/rofi-rbw-wrapper.fish new file mode 100755 index 00000000..156bdde4 --- /dev/null +++ b/.config/niri/scripts/rofi-rbw-wrapper.fish @@ -0,0 +1,17 @@ +#!/usr/bin/env fish + +set -l cmd $argv[1] + +set -l opts --selector fuzzel --clear-after 60 --clipboarder wl-copy --typer wtype --use-notify-send + +if test "$cmd" = type + rofi-rbw $opts --action type +else if test "$cmd" = copy + rofi-rbw $opts --action copy +else if test "$cmd" = print + rofi-rbw $opts --action print +else + return 1 +end + +rofi-rbw $opts