Skip to content

Commit

Permalink
feat: fuzzel emoji picker
Browse files Browse the repository at this point in the history
  • Loading branch information
sioodmy committed May 2, 2024
1 parent 20e8866 commit de78197
Show file tree
Hide file tree
Showing 2 changed files with 1,877 additions and 1 deletion.
9 changes: 8 additions & 1 deletion home/rice/fuzzel.nix → home/rice/fuzzel/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,19 @@
pkgs,
theme,
...
}: {
}:let
emoji = pkgs.writeShellScriptBin "emoji" ''
#!/bin/sh
cat ${./emojis} | fuzzel -p"Emoji: " -d | awk '{print $1}' | tr -d '\n' | tee >(wl-copy) >(xargs -I % notify-send "% Emoji" "Emoji copied to clipboard")
'';
in {
home.packages = [emoji];
programs.fuzzel = {
enable = true;
settings = {
main = {
terminal = "''${pkgs.foot}/bin/foot";
icons-enabled = false;
};
border = {
width = 3;
Expand Down
Loading

0 comments on commit de78197

Please sign in to comment.