gardesk/garclip / 6eb466b

Browse files

remove rofi script in favor of native picker

Authored by mfwolffe <wolffemf@dukes.jmu.edu>
SHA
6eb466b380b3757ab3ac04d333824a506bf30340
Parents
8269658
Tree
8416061

1 changed file

StatusFile+-
D contrib/garclip-rofi 0 15
contrib/garclip-rofideleted
@@ -1,15 +0,0 @@
1
-#!/bin/bash
2
-# garclip-rofi - Clipboard history picker using rofi
3
-
4
-# Get history and format for rofi
5
-# Format: ID | TYPE | PREVIEW
6
-selection=$(garclipctl history --limit 50 | rofi -dmenu -i -p "Clipboard" -format "s")
7
-
8
-if [ -n "$selection" ]; then
9
-    # Extract the ID (first field before the pipe)
10
-    id=$(echo "$selection" | awk -F'|' '{print $1}' | tr -d ' *')
11
-
12
-    if [ -n "$id" ]; then
13
-        garclipctl select "$id"
14
-    fi
15
-fi