rofi: include orif-rbw by default with sane defaults

This commit is contained in:
Aly Raffauf 2024-08-01 22:51:14 -04:00
parent 74fa01f40d
commit cc4272a4af

View file

@ -10,6 +10,7 @@ in {
home.packages = [ home.packages = [
pkgs.networkmanager_dmenu pkgs.networkmanager_dmenu
pkgs.rofi-bluetooth pkgs.rofi-bluetooth
pkgs.rofi-rbw-wayland
]; ];
programs.rofi = { programs.rofi = {
@ -61,7 +62,13 @@ in {
}; };
}; };
xdg.configFile."rofi/theme.rasi".text = '' xdg.configFile = {
"rofi-rbw.rc".text = ''
prompt "Bitwarden"
clear-after 60
'';
"rofi/theme.rasi".text = ''
* { * {
selected-normal-foreground: ${cfg.theme.colors.text}; selected-normal-foreground: ${cfg.theme.colors.text};
foreground: ${cfg.theme.colors.text}; foreground: ${cfg.theme.colors.text};
@ -211,7 +218,7 @@ in {
} }
''; '';
xdg.configFile."networkmanager-dmenu/config.ini".text = '' "networkmanager-dmenu/config.ini".text = ''
[dmenu] [dmenu]
dmenu_command = ${lib.getExe config.programs.rofi.package} dmenu_command = ${lib.getExe config.programs.rofi.package}
highlight = True highlight = True
@ -225,4 +232,5 @@ in {
terminal = ${lib.getExe cfg.defaultApps.terminal} terminal = ${lib.getExe cfg.defaultApps.terminal}
''; '';
}; };
};
} }