about summary refs log tree commit diff
diff options
context:
space:
mode:
authorGriffin Smith <root@gws.fyi>2020-04-04T15·38-0400
committerGriffin Smith <root@gws.fyi>2020-04-04T15·38-0400
commit4399b2ac44fa8539a9f8294fce0c2d63ed8327de (patch)
tree17da5bcbcc4333d48422d954baf73d8dc67ec38b
parent74ad2caf32fc35dcb6e7117c4b1b349ed7a7a545 (diff)
rofi-pass config
-rw-r--r--home/modules/i3.nix6
1 files changed, 5 insertions, 1 deletions
diff --git a/home/modules/i3.nix b/home/modules/i3.nix
index c564ed8221d4..1c02939ecbd6 100644
--- a/home/modules/i3.nix
+++ b/home/modules/i3.nix
@@ -38,6 +38,7 @@ in {
       home.packages = with pkgs; [
         maim
         rofi
+        rofi-pass
         i3status
         python38Packages.py3status
         i3lock
@@ -88,11 +89,14 @@ in {
               rofi \
                 -modi 'combi' \
                 -combi-modi "window,drun,ssh,run" \
-                -font 'MesloLGSDZ 10' \
+                -font '${decorationFont}' \
                 -show combi
             '';
               in "exec ${rofi}";
 
+            # Passwords
+            "${mod}+p" = "exec rofi-pass -font '${decorationFont}'";
+
             # Media
             "XF86AudioPlay" = "exec playerctl play-pause";
             "XF86AudioNext" = "exec playerctl next";