mirror of
https://gitlab.com/ceda_ei/kaomoji-rofi
synced 2025-11-01 12:40:07 +01:00
Fix misplaced focus after full screen
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
current_wid=$(xdo id)
|
||||
selection=$(rofi -i -dmenu $@ < $(dirname $0)/kaomoji.txt)
|
||||
kaomoji=$(echo $selection | sed "s|$(echo -e "\ufeff").*||")
|
||||
echo -n "$kaomoji" | xclip -selection clipboard
|
||||
xdotool key --clearmodifiers ctrl+v
|
||||
xdotool key --window $current_wid --clearmodifiers ctrl+v
|
||||
|
||||
Reference in New Issue
Block a user