1
1
Fork 0

rofi-rbw: use pinentry-rofi and work around window style

This commit is contained in:
Myned 2025-03-20 12:51:21 -05:00
parent 8265be4e2d
commit 290c3c58ef
WARNING! Although there is a key with this ID in the database it does not verify this commit! This commit is SUSPICIOUS.
GPG key ID: C7224454F7881A34
2 changed files with 22 additions and 1 deletions
options/custom
desktops/niri
programs

View file

@ -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;
}
];
};
}

View file

@ -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
};
};