Added emoji picker
This commit is contained in:
parent
0d516a3a2d
commit
f533ed579c
|
@ -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";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -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";
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue