diff options
-rwxr-xr-x | .config/i3/autostart##template | 8 | ||||
-rw-r--r-- | .config/neomutt/neomuttrc | 2 | ||||
-rw-r--r-- | .config/pam-gnupg##template | 2 | ||||
-rw-r--r-- | .local/share/gnupg/gpg-agent.conf | 2 | ||||
-rw-r--r-- | .mbsyncrc | 2 | ||||
-rw-r--r-- | .profile | 1 |
6 files changed, 8 insertions, 9 deletions
diff --git a/.config/i3/autostart##template b/.config/i3/autostart##template index 02135f6..c2b92b5 100755 --- a/.config/i3/autostart##template +++ b/.config/i3/autostart##template @@ -1,7 +1,7 @@ #!/bin/sh . "$HOME/.profile" +cat "$XDG_CONFIG_HOME/X11/$(cat "$XDG_DATA_HOME/mode/active")" | xrdb -override /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 & -cat "$XDG_CONFIG_HOME/X11/$(cat "$XDG_DATA_HOME/mode/active")" | xrdb -override & polybar & rwall & compfy -b @@ -20,12 +20,6 @@ desktop2mqtt --config "$XDG_CONFIG_HOME/desktop2mqtt/config.yml" & {% endif %} flashfocus & -# store bitwarden session token using keyctl -{ - keyctl purge user bw_session - bw unlock --passwordenv BITWARDEN_MASTER_PASSWORD --raw | keyctl padd user bw_session @u -} & - # auto start lazy script after everything else [ -x "$HOME/do.sh" ] && "$HOME/do.sh" diff --git a/.config/neomutt/neomuttrc b/.config/neomutt/neomuttrc index f0950ac..d901264 100644 --- a/.config/neomutt/neomuttrc +++ b/.config/neomutt/neomuttrc @@ -11,7 +11,7 @@ set postponed = "+Drafts" # imap credentials set imap_user = "loek@mail.pipeframe.xyz" -set imap_pass = "`keyctl request user bw_session | xargs keyctl pipe | xargs bw get password efc4ddc3-cd2d-4090-b570-abea0113217a --session`" +set imap_pass = "`pass srv/fortnite/passwd/loek`" # smtp credentials set smtp_pass = $imap_pass diff --git a/.config/pam-gnupg##template b/.config/pam-gnupg##template new file mode 100644 index 0000000..5ad4a0c --- /dev/null +++ b/.config/pam-gnupg##template @@ -0,0 +1,2 @@ +{{ env.GNUPGHOME }} +D8D22B94C13557BF2B5A0DCF4AF5A972E2FAF84F diff --git a/.local/share/gnupg/gpg-agent.conf b/.local/share/gnupg/gpg-agent.conf new file mode 100644 index 0000000..b747e5e --- /dev/null +++ b/.local/share/gnupg/gpg-agent.conf @@ -0,0 +1,2 @@ +allow-preset-passphrase +max-cache-ttl 604800 @@ -2,7 +2,7 @@ IMAPAccount pipeframe Host mail.pipeframe.xyz Port 993 User loek@mail.pipeframe.xyz -PassCmd "keyctl request user bw_session | xargs keyctl pipe | xargs bw get password efc4ddc3-cd2d-4090-b570-abea0113217a --session" +PassCmd "pass srv/fortnite/passwd/loek" SSLType IMAPS CertificateFile /etc/ssl/certs/ca-certificates.crt @@ -24,6 +24,7 @@ alias y="yay" alias n="ncmpcpp" alias c="khal" alias f="fork" +alias p="pass" # "functions" alias reload="sudo systemctl restart lightdm" |