diff options
| author | Raymaekers Luca <raymaekers.luca@gmail.com> | 2024-06-19 10:30:03 +0200 | 
|---|---|---|
| committer | Raymaekers Luca <raymaekers.luca@gmail.com> | 2024-06-19 10:30:03 +0200 | 
| commit | ff6c38d3364165a7bae431888a87aab1e53a80b9 (patch) | |
| tree | c0ac13cdbf388d59193522eb8775788a6fae3e81 /config/extra/qrclip | |
| parent | 4bf952169c5d94044a6dd3c868c990716d22c58b (diff) | |
| parent | 05e1216b45340702f82a4946002015a05cebe9b1 (diff) | |
Merge branch 'main' of debuc.com:dotfiles
Diffstat (limited to 'config/extra/qrclip')
| -rwxr-xr-x | config/extra/qrclip | 29 | 
1 files changed, 0 insertions, 29 deletions
diff --git a/config/extra/qrclip b/config/extra/qrclip deleted file mode 100755 index 2f5da5c..0000000 --- a/config/extra/qrclip +++ /dev/null @@ -1,29 +0,0 @@ -#!/bin/sh - -if [ "$WAYLAND_DISPLAY" ] -then -	which wl-copy > /dev/null || exit 1 -	clipp () {  -		wl-copy -	} -	clipo () {  -		wl-paste -	} -else -	which xclip > /dev/null || exit 1 -	clipp () {  -		xclip -selection clipboard -r -	} -	clipo () {  -		xclip -o -selection clipboard -r -	} -fi - -case $1 in -	'-o') -		qrencode -s 16 "$(clipo)" -o - | -			imv -w "imv - $(clipo)" - ;; -	'-s') -		qrencode -s 16 "https://duckduckgo.com/$(clipo)" -o - | -			imv -w "imv - search $(clipo)" - ;; -esac  | 
