rofi-rbw: use pinentry-rofi and work around window style
This commit is contained in:
parent
8265be4e2d
commit
290c3c58ef
2 changed files with 22 additions and 1 deletions
|
@ -266,6 +266,21 @@ in {
|
|||
default-column-width = {};
|
||||
open-floating = true;
|
||||
}
|
||||
|
||||
{
|
||||
# Rofi
|
||||
# FIXME: Figure out why pinentry-rofi opens as a window
|
||||
# HACK: pinentry-rofi opens as a window, so attempt to style as a layer
|
||||
matches = [
|
||||
{app-id = "^Rofi$";}
|
||||
];
|
||||
|
||||
border.enable = false;
|
||||
clip-to-geometry = false;
|
||||
focus-ring.enable = false;
|
||||
open-floating = true;
|
||||
shadow.enable = false;
|
||||
}
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -28,7 +28,13 @@ in {
|
|||
settings = {
|
||||
base_url = "https://vault.${config.custom.domain}";
|
||||
email = "${config.custom.username}@${config.custom.domain}";
|
||||
pinentry = pkgs.pinentry-gnome3;
|
||||
lock_timeout = 24 * 60 * 60; # Hours
|
||||
sync_interval = 15 * 60; # Minutes
|
||||
|
||||
pinentry =
|
||||
if config.custom.menu == "rofi"
|
||||
then pkgs.pinentry-rofi # https://github.com/plattfot/pinentry-rofi
|
||||
else pkgs.pinentry-gnome3; # https://github.com/gpg/pinentry
|
||||
};
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue