From 49fff5a029e08f31941c75c19a72d7e7eb1ed172 Mon Sep 17 00:00:00 2001 From: davidovski Date: Sat, 9 Oct 2021 22:58:10 +0100 Subject: fixed scripts --- scripts/.scripts/dmenuemoji | 23 ----------------------- 1 file changed, 23 deletions(-) delete mode 100755 scripts/.scripts/dmenuemoji (limited to 'scripts/.scripts/dmenuemoji') diff --git a/scripts/.scripts/dmenuemoji b/scripts/.scripts/dmenuemoji deleted file mode 100755 index 090e8e3..0000000 --- a/scripts/.scripts/dmenuemoji +++ /dev/null @@ -1,23 +0,0 @@ -#!/bin/bash - -chosen=$(dmenu -i -l 20 < ~/.local/share/emoji | sed "s/ .*//") - -[ "$chosen" != "" ] || exit - -# If you run this command with an argument, it will automatically insert the character. -echo "$chosen" | xclip -selection clipboard -if [ -n "$1" ]; then - WINDOW=$(xdotool getactivewindow getwindowname) - if [[ "$WINDOW" =~ .*"$SUB".* ]]; then - xdotool key "ctrl+v" - else - xdotool key Shift+Insert - fi -# xdotool type --delay 1 $chosen - -# VAR=$(xclip -o) - -# xdotool type $chosen -else - notify-send "'$chosen' copied to clipboard." & -fi -- cgit v1.2.1