rofi as hm program; add emoji plugi

This commit is contained in:
Sridhar Ratnakumar 2024-11-27 13:57:25 -05:00
parent 4ee5b89695
commit 60feb47294
2 changed files with 9 additions and 5 deletions

View file

@ -1,4 +1,4 @@
{ flake, pkgs, ... }:
{ flake, pkgs, lib, ... }:
let
inherit (flake) inputs;
@ -24,8 +24,14 @@ in
enable = true;
};
services.dunst.enable = true;
programs.hyprlock.enable = true;
home.sessionVariables.NIXOS_OZONE_WL = "1";
programs.hyprlock.enable = true;
programs.rofi = {
enable = true;
terminal = lib.getExe pkgs.rio;
plugins = [ pkgs.rofi-emoji ];
};
}];
environment.systemPackages = with pkgs; [
@ -45,9 +51,6 @@ in
# TODO: https://github.com/nix-community/home-manager/issues/5899
hyprlock
# launchers
rofi-wayland
wl-clipboard
];
}

View file

@ -99,6 +99,7 @@ in
", XF86AudioPrev, exec, playerctl previous"
", XF86Favorites, exec, rofi -show drun"
"SHIFT, XF86Favorites, exec, rofi -mode emoji -show emoji"
", Print, exec, ${lib.getExe screenshot}"
];