mirror of
				https://gitlab.com/ceda_ei/kaomoji-rofi
				synced 2025-10-31 12:10:05 +01:00 
			
		
		
		
	Copy to clipboard also
This commit is contained in:
		| @@ -1,12 +1,13 @@ | ||||
| # Kaomoji Rofi | ||||
|  | ||||
| Rofi script for typing kaomojis. | ||||
| Rofi script for typing kaomojis. Types kaomojis and copies them into your clipboard. | ||||
|  | ||||
|  | ||||
| ## Requirements | ||||
|  | ||||
| + `rofi` | ||||
| + `xdotool` | ||||
| + `xclip` | ||||
|  | ||||
| ## Installation | ||||
|  | ||||
|   | ||||
| @@ -2,4 +2,5 @@ | ||||
|  | ||||
| selection=$(rofi -i -dmenu $@ < $(dirname $0)/kaomoji.txt) | ||||
| kaomoji=$(echo $selection | sed "s|$(echo -e "\ufeff").*||") | ||||
| xdotool type --clearmodifiers "$kaomoji" | ||||
| echo -n "$kaomoji" | xclip -selection clipboard | ||||
| xdotool key --clearmodifiers ctrl+v | ||||
|   | ||||
		Reference in New Issue
	
	Block a user