From bbce0b8d4e77af4831e5ba86287764395b3ce8cf Mon Sep 17 00:00:00 2001 From: "Casper V. Kristensen" Date: Tue, 11 Jun 2024 17:55:28 +0200 Subject: [PATCH] rofimoji --- modules/desktop/rofi.nix | 11 ++++++----- modules/desktop/sway.nix | 2 +- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/modules/desktop/rofi.nix b/modules/desktop/rofi.nix index 741902d..f5811ae 100644 --- a/modules/desktop/rofi.nix +++ b/modules/desktop/rofi.nix @@ -15,13 +15,14 @@ package = pkgs.rofi-wayland; theme = "android_notification"; extraConfig = { - modes = "drun"; # TODO: drun,emoji + modes = "drun"; show-icons = true; }; - # TODO - # plugins = with pkgs; [ - # rofi-emoji - # ]; }; }; + + # rofimoji is keybound in sway.nix + environment.systemPackages = with pkgs; [ + rofimoji + ]; } diff --git a/modules/desktop/sway.nix b/modules/desktop/sway.nix index cdee36b..304f31f 100644 --- a/modules/desktop/sway.nix +++ b/modules/desktop/sway.nix @@ -50,7 +50,7 @@ # Menu "Mod4+backspace" = "exec rofi -show drun"; "Mod4+p" = "exec clipman pick -t rofi"; - "Mod4+o" = "exec rofi -show emoji"; + "Mod4+o" = "exec rofimoji"; # Lock "Mod4+Escape" = "exec loginctl lock-session";