nix-configurations/home/features/desktop/rofi.nix

23 lines
480 B
Nix
Raw Permalink Normal View History

2023-02-05 13:36:38 +00:00
{ pkgs, ... }: {
2022-12-30 12:05:46 +00:00
programs.rofi = {
enable = true;
2023-04-09 09:12:23 +00:00
package = pkgs.rofi-wayland;
2022-12-30 12:05:46 +00:00
plugins = [ pkgs.rofi-calc pkgs.rofi-emoji ];
theme = "themes/dracula";
extraConfig = {
modi = "drun,ssh,filebrowser,keys,window";
kb-primary-paste = "Control+V,Shift+Insert";
kb-secondary-paste = "Control+v,Insert";
};
};
programs.rofi.pass = {
enable = true;
extraConfig = ''
layout_cmd () {
setxkbmap de
}
'';
};
}