mirror of
https://github.com/srid/nixos-config.git
synced 2026-01-10 18:22:35 +08:00
rofi as hm program; add emoji plugi
This commit is contained in:
parent
4ee5b89695
commit
60feb47294
2 changed files with 9 additions and 5 deletions
|
|
@ -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
|
||||
];
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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}"
|
||||
];
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue