Skip to content

Commit

Permalink
rofi as hm program; add emoji plugi
Browse files Browse the repository at this point in the history
  • Loading branch information
srid committed Nov 27, 2024
1 parent 4ee5b89 commit 60feb47
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
13 changes: 8 additions & 5 deletions modules/nixos/linux/gui/hyprland/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ flake, pkgs, ... }:
{ flake, pkgs, lib, ... }:

let
inherit (flake) inputs;
Expand All @@ -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; [
Expand All @@ -45,9 +51,6 @@ in
# TODO: https://github.com/nix-community/home-manager/issues/5899
hyprlock

# launchers
rofi-wayland

wl-clipboard
];
}
1 change: 1 addition & 0 deletions modules/nixos/linux/gui/hyprland/settings.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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}"
];

Expand Down

0 comments on commit 60feb47

Please sign in to comment.