feat(rofi): emoji and clipboard pickers

This commit is contained in:
Sergio Laín 2024-10-16 13:05:10 +02:00
parent dda756b3cd
commit 7a88cda87e
No known key found for this signature in database
GPG key ID: 51BB28D8B42FB438
3 changed files with 21 additions and 0 deletions

View 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

View 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>]'

View 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"