Added emoji picker

This commit is contained in:
alejandro-angulo 2024-08-03 23:28:45 -07:00
parent 0d516a3a2d
commit f533ed579c
Signed by: alejandro-angulo
GPG key ID: 75579581C74554B6
2 changed files with 5 additions and 0 deletions

View file

@ -1,6 +1,7 @@
{ {
config, config,
lib, lib,
pkgs,
namespace, namespace,
... ...
}: let }: let
@ -18,8 +19,10 @@ in {
# TODO: How to ensure this font is installed? # TODO: How to ensure this font is installed?
font = "Hack Nerd Font 10"; font = "Hack Nerd Font 10";
theme = "gruvbox-dark-hard"; theme = "gruvbox-dark-hard";
plugins = [pkgs.rofi-emoji];
extraConfig = { extraConfig = {
show-icons = true; show-icons = true;
modi = "window,run,ssh,emoji";
}; };
}; };
}; };

View file

@ -17,6 +17,7 @@
# TODO: This assumes I'll be using rofi and kitty. Should make more generic. # TODO: This assumes I'll be using rofi and kitty. Should make more generic.
menu = "rofi -show run"; menu = "rofi -show run";
emoji_picker = "rofi -show emoji";
terminal = "kitty"; terminal = "kitty";
generate_grimshot_command = target: '' generate_grimshot_command = target: ''
@ -185,6 +186,7 @@ in {
"${modifier}+Return" = "exec ${terminal}"; "${modifier}+Return" = "exec ${terminal}";
"${modifier}+c" = "kill"; "${modifier}+c" = "kill";
"${modifier}+p" = "exec ${menu}"; "${modifier}+p" = "exec ${menu}";
"${modifier}+d" = "exec ${emoji_picker}";
"${modifier}+z" = "reload"; "${modifier}+z" = "reload";
"${modifier}+x" = "exec swaylock"; "${modifier}+x" = "exec swaylock";