浏览代码

Restructure the repo with subfolders

master
Mathieu Laparie 4 个月前
父节点
当前提交
39f0ce01c0

+ 8
- 8
README.md 查看文件

@@ -4,11 +4,11 @@ Inspired by [fdw/**rofimoji**](https://github.com/fdw/rofimoji) and forked from

It comes with an example configuration file and a theme that should make it ready to use, even for those who never used rofi before. When using the recommended procedure, unicode and emoji lists show up as separate tabs in rofi, in addition to rofi's window, drun, run and ssh modis:

![Unicode tab](./unicode.png?raw=true)
![Unicode tab](./screenshots/unicode.png?raw=true)

![Emoji tab](./emoji.png?raw=true)
![Emoji tab](./screenshots/emoji.png?raw=true)

![drun tab](./drun.png?raw=true)
![drun tab](./screenshots/drun.png?raw=true)


The two underlying scripts, `rofiemoji.sh` and `rofiunicode.sh`, will try to download the lists of emoji and unicode characters if they are missing, but this should already be taken care of when cloning this repository. The list of emojis is fetched from www.unicode.org while the unicode list was created by [/u/fe80c0ffee](https://www.reddit.com/r/unixporn/comments/7zqkov/oc_i_mad_a_rofi_emoji_picker_and_i_feel_bad_about/duqls53?utm_source=share&utm_medium=web2x).
@@ -27,13 +27,13 @@ The two underlying scripts, `rofiemoji.sh` and `rofiunicode.sh`, will try to dow
git clone https://github.com/Kabouik/rofiemoji-rofiunicode.git
```

2. (Optional) Apply the [recommended configuration](https://github.com/Kabouik/rofiemoji-rofiunicode#recommended-configuration):
2. (Optional) Apply the [recommended configuration](https://git.teknik.io/matf/rofiemoji-rofiunicode#recommended-configuration):

```bash
mv $HOME/.config/rofi/config $HOME/.config/rofi/config.back # Back up previous rofi configuration, if any
cp $HOME/.config/rofiemoji-rofiunicode/config.example $HOME/.config/rofi/config # Apply the supplied configuration
cp $HOME/.config/rofiemoji-rofiunicode/config/config.example $HOME/.config/rofi/config # Apply the supplied configuration
mkdir -p $HOME/.local/share/rofi/themes
cp $HOME/.config/rofiemoji-rofiunicode/sidetab-adapta.rasi $HOME/.local/share/rofi/themes/ # Provide customized sidetab-adapta.rasi theme
cp $HOME/.config/rofiemoji-rofiunicode/config/sidetab-adapta.rasi $HOME/.local/share/rofi/themes/ # Provide customized sidetab-adapta.rasi theme
```

3. **If step 2 was completed**, add a custom keybinding using your window-manager settings for the following command:
@@ -81,6 +81,6 @@ After:

## Alternative emoji- and unicode-picker

[kabouik/**rofimoji**](https://github.com/Kabouik/rofimoji) is an alternative based on the original [fdw/**rofimoji**](https://github.com/fdw/rofimoji) instead of the [nkoehring/**rofiemoji**](https://github.com/nkoehring/rofiemoji) script version, yet still with the unicode functionality. It allows the multiple selection of emojis or unicode characters, as well as direct input without prior clipboard step, but the customization possibilities are more limited and there is no visual unification with your main rofi instance.
[matf/**rofimoji**](https://git.teknik.io/matf/rofimoji) is an alternative based on the original [fdw/**rofimoji**](https://github.com/fdw/rofimoji) instead of the [nkoehring/**rofiemoji**](https://github.com/nkoehring/rofiemoji) script version, yet still with the unicode functionality. It allows the multiple selection of emojis or unicode characters, as well as direct input without prior clipboard step, but the customization possibilities are more limited and there is no visual unification with your main rofi instance.

![Kabouik/rofimoji](https://github.com/Kabouik/rofimoji/raw/master/screenshot-fork.png?raw=true)
![matf/rofimoji](https://git.teknik.io/matf/rofimoji/media/branch/master/screenshot-fork.png?raw=true)

config.example → config/config.example 查看文件


sidetab-adapta.rasi → config/sidetab-adapta.rasi 查看文件


emojis.txt → lists/emojis.txt 查看文件


unicode.txt → lists/unicode.txt 查看文件


+ 1
- 1
rofiemoji.sh 查看文件

@@ -1,6 +1,6 @@
#!/bin/sh

DIR="$HOME/.config/rofiemoji-rofiunicode"
DIR="$HOME/.config/rofiemoji-rofiunicode/lists"
# URL="https://github.com/Kabouik/rofiemoji/raw/master/unicode.txt"
# FILE="$DIR/unicode.txt"
VER='12.0'

+ 2
- 2
rofiunicode.sh 查看文件

@@ -1,7 +1,7 @@
#!/bin/sh

DIR="$HOME/.config/rofiemoji-rofiunicode"
URL="https://github.com/Kabouik/rofiemoji/raw/master/unicode.txt"
DIR="$HOME/.config/rofiemoji-rofiunicode/lists"
URL="https://git.teknik.io/matf/rofiemoji-rofiunicode/lists/unicode.txt"
FILE="$DIR/unicode.txt"
# VER='11.0'
# URL="https://www.unicode.org/Public/emoji/${VER}/emoji-test.txt"

drun.png → screenshots/drun.png 查看文件


emoji.png → screenshots/emoji.png 查看文件


rofiemoji-rofiunicode1.png → screenshots/rofiemoji-rofiunicode1.png 查看文件


rofiemoji-rofiunicode2.png → screenshots/rofiemoji-rofiunicode2.png 查看文件


unicode.png → screenshots/unicode.png 查看文件


正在加载...
取消
保存