summaryrefslogtreecommitdiff
path: root/scripts/.scripts/dmenukaomoji
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2021-10-09 22:58:10 +0100
committerdavidovski <david@davidovski.xyz>2021-10-09 22:58:10 +0100
commit49fff5a029e08f31941c75c19a72d7e7eb1ed172 (patch)
tree9cab74542e7302f47a9b8efbe5b1c674f9eb2150 /scripts/.scripts/dmenukaomoji
parent26d3e9c0db0b8591eba24de5437b3c75d9995064 (diff)
fixed scripts
Diffstat (limited to 'scripts/.scripts/dmenukaomoji')
-rwxr-xr-xscripts/.scripts/dmenukaomoji24
1 files changed, 0 insertions, 24 deletions
diff --git a/scripts/.scripts/dmenukaomoji b/scripts/.scripts/dmenukaomoji
deleted file mode 100755
index 8af99b3..0000000
--- a/scripts/.scripts/dmenukaomoji
+++ /dev/null
@@ -1,24 +0,0 @@
-#!/bin/bash
-
-chosen=$(dmenu -i -l 20 < ~/.local/share/kaomoji | sed "s/\t.*//")
-
-[ "$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
- SUB="Minecraft"
- 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