mirror of
				https://gitlab.com/ceda_ei/kaomoji-rofi
				synced 2025-10-31 12:10:05 +01:00 
			
		
		
		
	Add documentation, screenshot, shebang to script, config
This commit is contained in:
		
							
								
								
									
										18
									
								
								README.md
									
									
									
									
									
								
							
							
						
						
									
										18
									
								
								README.md
									
									
									
									
									
								
							| @@ -1 +1,19 @@ | |||||||
| # Kaomoji Rofi | # Kaomoji Rofi | ||||||
|  |  | ||||||
|  | Rofi script for typing kaomojis. | ||||||
|  |  | ||||||
|  |  | ||||||
|  | ## Requirements | ||||||
|  |  | ||||||
|  | + `rofi` | ||||||
|  | + `xdotool` | ||||||
|  |  | ||||||
|  | ## Installation | ||||||
|  |  | ||||||
|  | + `git clone https://gitlab.com/ceda_ei/kaomoji-rofi` | ||||||
|  | + Add a keybinding to run `/path/where/you/cloned/kaomoji-rofi/kaomoji.sh` | ||||||
|  |  | ||||||
|  | ## Configuration | ||||||
|  |  | ||||||
|  | All options passed to kaomoji.sh are passed to rofi. The screenshot has been | ||||||
|  | taken with the following command. `kaomoji.sh -config config -theme some_theme.rasi` | ||||||
|   | |||||||
							
								
								
									
										6
									
								
								config
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										6
									
								
								config
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,6 @@ | |||||||
|  | rofi.width: 100 | ||||||
|  | rofi.lines: 11 | ||||||
|  | rofi.columns: 5 | ||||||
|  | rofi.fullscreen: true | ||||||
|  | rofi.hide-scrollbar: true | ||||||
|  | rofi.location: 0 | ||||||
| @@ -1,3 +1,5 @@ | |||||||
|  | #!/usr/bin/env bash | ||||||
|  |  | ||||||
| selection=$(rofi -i -dmenu $@ < $(dirname $0)/kaomoji.txt) | selection=$(rofi -i -dmenu $@ < $(dirname $0)/kaomoji.txt) | ||||||
| kaomoji=$(echo $selection | sed "s|$(echo -e "\ufeff").*||") | kaomoji=$(echo $selection | sed "s|$(echo -e "\ufeff").*||") | ||||||
| xdotool type --clearmodifiers "$kaomoji" | xdotool type --clearmodifiers "$kaomoji" | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user