Bitwarden: rofi integration

This commit is contained in:
Filippo Berto 2023-05-24 12:29:45 +02:00
parent ac6d3e6d48
commit e1c9c2be4e
No known key found for this signature in database
GPG key ID: FE98AE5EC52B1056
4 changed files with 20 additions and 6 deletions

8
hm_modules/bitwarden.nix Normal file
View file

@ -0,0 +1,8 @@
{ pkgs, config, lib, ... }: {
home.packages =
[ pkgs.bitwarden ] ++
lib.optionals config.programs.rofi.enable (builtins.attrValues {
inherit (pkgs.unstable_pkgs) rbw rofi-rbw;
inherit (pkgs.pinentry) gnome3;
});
}

View file

@ -1,15 +1,19 @@
{ pkgs, ... }: { { pkgs, ... }: {
home.packages = builtins.attrValues { home.packages = builtins.attrValues {
inherit (pkgs) rofimoji rofi-bluetooth rofi-power-menu rofi-vpn; inherit (pkgs)
rofimoji
rofi-bluetooth
rofi-power-menu
rofi-vpn
xdotool
;
}; };
programs.rofi = { programs.rofi = {
enable = true; enable = true;
location = "center"; location = "center";
font = "${pkgs.rice.font.monospace.name} ${ font = "${pkgs.rice.font.monospace.name} ${toString pkgs.rice.font.monospace.size}";
toString pkgs.rice.font.monospace.size
}";
plugins = [ pkgs.rofi-calc ]; plugins = [ pkgs.rofi-calc ];
extraConfig = { modi = "drun,run,ssh,window,calc"; }; extraConfig = { modi = "drun,run,ssh,window,calc"; };
terminal = "kitty"; terminal = "kitty";

View file

@ -19,7 +19,7 @@
# signal-desktop # signal-desktop
# slack # slack
# wineFull # wineFull
arandr authy bitwarden cava discord dmenu droidcam easyeffects evince arandr authy cava discord dmenu droidcam easyeffects evince
gallery-dl google-chrome gucharmap handbrake httpie inkscape keyboard-switch krita meld openvpn p7zip gallery-dl google-chrome gucharmap handbrake httpie inkscape keyboard-switch krita meld openvpn p7zip
pavucontrol pentablet-driver procps pulseaudio retroarchFull pavucontrol pentablet-driver procps pulseaudio retroarchFull
shotwell spotify tdesktop thunderbird transmission-gtk shotwell spotify tdesktop thunderbird transmission-gtk
@ -68,6 +68,7 @@
../hm_modules/alacritty.nix ../hm_modules/alacritty.nix
../hm_modules/autorandr.nix ../hm_modules/autorandr.nix
../hm_modules/biblio.nix ../hm_modules/biblio.nix
../hm_modules/bitwarden.nix
../hm_modules/blender.nix ../hm_modules/blender.nix
../hm_modules/bspwm.nix ../hm_modules/bspwm.nix
../hm_modules/cava.nix ../hm_modules/cava.nix

View file

@ -19,7 +19,7 @@
# signal-desktop # signal-desktop
# slack # slack
# wineFull # wineFull
arandr authy bitwarden discord dmenu docker-compose docker-machine arandr authy discord dmenu docker-compose docker-machine
droidcam easyeffects evince filelight gallery-dl google-chrome gucharmap handbrake droidcam easyeffects evince filelight gallery-dl google-chrome gucharmap handbrake
httpie inkscape krita meld openvpn p7zip pavucontrol pcsx2 httpie inkscape krita meld openvpn p7zip pavucontrol pcsx2
pentablet-driver procps pulseaudio retroarchFull shotwell pentablet-driver procps pulseaudio retroarchFull shotwell
@ -58,6 +58,7 @@
../hm_modules/alacritty.nix ../hm_modules/alacritty.nix
../hm_modules/autorandr.nix ../hm_modules/autorandr.nix
../hm_modules/biblio.nix ../hm_modules/biblio.nix
../hm_modules/bitwarden.nix
../hm_modules/blender_nvidia.nix ../hm_modules/blender_nvidia.nix
../hm_modules/bspwm.nix ../hm_modules/bspwm.nix
../hm_modules/cava.nix ../hm_modules/cava.nix