mirror of
https://gitlab.com/ceda_ei/kaomoji-rofi
synced 2025-05-09 15:36:55 +02:00
Add documentation, screenshot, shebang to script, config
This commit is contained in:
parent
25a507f4e2
commit
a993197ab9
18
README.md
18
README.md
@ -1 +1,19 @@
|
||||
# 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)
|
||||
kaomoji=$(echo $selection | sed "s|$(echo -e "\ufeff").*||")
|
||||
xdotool type --clearmodifiers "$kaomoji"
|
||||
|
Loading…
x
Reference in New Issue
Block a user