✨ feat(rofi): emoji and clipboard pickers
This commit is contained in:
parent
dda756b3cd
commit
7a88cda87e
3 changed files with 21 additions and 0 deletions
8
.config/rofi/scripts/clipboard/clipboard
Executable file
8
.config/rofi/scripts/clipboard/clipboard
Executable file
|
@ -0,0 +1,8 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
if ! command -v cliphist >/dev/null 2>&1; then
|
||||||
|
notify-send "Program not found" "Make sure you have installed cliphist"
|
||||||
|
exit 1
|
||||||
|
else
|
||||||
|
cliphist list | rofi -dmenu | cliphist decode | wl-copy
|
||||||
|
fi
|
3
.config/rofi/scripts/emoji/emoji
Executable file
3
.config/rofi/scripts/emoji/emoji
Executable file
|
@ -0,0 +1,3 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
rofi -modi emoji -show emoji -emoji-mode copy -theme ~/.config/rofi/scripts/emoji/style.rasi -emoji-format '{emoji} <span weight="bold">{name}</span> [<span size="small">({group})</span>]'
|
10
.config/rofi/scripts/emoji/style.rasi
Normal file
10
.config/rofi/scripts/emoji/style.rasi
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
// Config
|
||||||
|
configuration {
|
||||||
|
modi: "emoji";
|
||||||
|
show: "emoji";
|
||||||
|
emoji-mode: "copy";
|
||||||
|
display-emoji: "Emojis";
|
||||||
|
show-icons: true;
|
||||||
|
}
|
||||||
|
|
||||||
|
@theme "~/.config/rofi/style.rasi"
|
Loading…
Add table
Reference in a new issue