feat(emacs): ivy-pass > password-store-ivy

This commit is contained in:
Pavel Korytov 2022-02-13 14:30:27 +03:00
parent bb976c89df
commit 33e22565a0
4 changed files with 57 additions and 34 deletions

View file

@ -297,8 +297,8 @@ DIR is either 'left or 'right."
(setq counsel-linux-app-format-function #'my/counsel-linux-app-format-function) (setq counsel-linux-app-format-function #'my/counsel-linux-app-format-function)
(use-package ivy-pass (use-package password-store-ivy
:straight (:host github :repo "SqrtMinusOne/ivy-pass") :straight (:host github :repo "SqrtMinusOne/password-store-ivy")
:after (exwm)) :after (exwm))
(defun my/exwm-quit () (defun my/exwm-quit ()
@ -441,7 +441,7 @@ _d_: Discord
(,(kbd "s-p") . counsel-linux-app) (,(kbd "s-p") . counsel-linux-app)
(,(kbd "s-P") . async-shell-command) (,(kbd "s-P") . async-shell-command)
(,(kbd "s-;") . my/exwm-apps-hydra/body) (,(kbd "s-;") . my/exwm-apps-hydra/body)
(,(kbd "s--") . ivy-pass) (,(kbd "s--") . password-store-ivy)
(,(kbd "s-=") . ,(my/app-command "rofimoji")) (,(kbd "s-=") . ,(my/app-command "rofimoji"))
(,(kbd "s-i") . ,(my/app-command "copyq menu")) (,(kbd "s-i") . ,(my/app-command "copyq menu"))

View file

@ -12,7 +12,7 @@ export LEDGER_FILE=~/Documents/org-mode/ledger/ledger.journal
# Environment:3 ends here # Environment:3 ends here
# [[file:Console.org::*Environment][Environment:4]] # [[file:Console.org::*Environment][Environment:4]]
if command -v termux-setup-storage; then if command -v termux-setup-storage > /dev/null; then
export IS_ANDROID=true export IS_ANDROID=true
[[ -f ~/.android_profile ]] && . ~/.android_profile [[ -f ~/.android_profile ]] && . ~/.android_profile
fi fi

View file

@ -30,19 +30,36 @@ References:
- [[#colors-in-xresources][Colors in Xresources]] - [[#colors-in-xresources][Colors in Xresources]]
- [[#fonts][Fonts]] - [[#fonts][Fonts]]
- [[#themes][Themes]] - [[#themes][Themes]]
- [[#mime][MIME]]
- [[#device-specific-settings][Device-specific settings]] - [[#device-specific-settings][Device-specific settings]]
- [[#exwm][EXWM]] - [[#exwm][EXWM]]
- [[#xsession][Xsession]] - [[#startup--ui][Startup & UI]]
- [[#startup-apps][Startup apps]] - [[#xsession][Xsession]]
- [[#moving-windows][Moving windows]] - [[#startup-apps][Startup apps]]
- [[#resizing-windows][Resizing windows]] - [[#pinentry][Pinentry]]
- [[#app-shortcuts][App shortcuts]] - [[#modeline][Modeline]]
- [[#move-workspace-to-another-monitor][Move workspace to another monitor]] - [[#windows][Windows]]
- [[#switch-to-the-opposite-monitor][Switch to the opposite monitor]] - [[#moving-windows][Moving windows]]
- [[#switching-buffers][Switching buffers]] - [[#resizing-windows][Resizing windows]]
- [[#improving-splitting-windows][Improving splitting windows]]
- [[#perspectives][Perspectives]]
- [[#workspaces-and-multi-monitor-setup][Workspaces and multi-monitor setup]]
- [[#tracking-recently-used-workspaces][Tracking recently used workspaces]]
- [[#the-monitor-list][The monitor list]]
- [[#switch-to-another-monitor][Switch to another monitor]]
- [[#move-the-workspace-to-another-monitor][Move the workspace to another monitor]]
- [[#windmove-between-monitors][Windmove between monitors]]
- [[#completions][Completions]]
- [[#ivy-posframe][ivy-posframe]]
- [[#linux-app][Linux app]]
- [[#ivy-pass][ivy-pass]]
- [[#keybindings][Keybindings]] - [[#keybindings][Keybindings]]
- [[#pinentry][Pinentry]] - [[#exwm-keybindings][EXWM keybindings]]
- [[#modeline][Modeline]] - [[#app-shortcuts][App shortcuts]]
- [[#locking-up][Locking up]]
- [[#fixes][Fixes]]
- [[#catch-and-report-all-errors-raised-when-invoking-command-hooks][Catch and report all errors raised when invoking command hooks]]
- [[#improve-floating-windows-behavior][Improve floating windows behavior]]
- [[#exwm-config][EXWM config]] - [[#exwm-config][EXWM config]]
- [[#i3wm][i3wm]] - [[#i3wm][i3wm]]
- [[#general-settings][General settings]] - [[#general-settings][General settings]]
@ -66,28 +83,33 @@ References:
- [[#keyboard-layout][Keyboard Layout]] - [[#keyboard-layout][Keyboard Layout]]
- [[#autostart][Autostart]] - [[#autostart][Autostart]]
- [[#polybar][Polybar]] - [[#polybar][Polybar]]
- [[#launching][Launching]]
- [[#general-settings][General settings]] - [[#general-settings][General settings]]
- [[#colors][Colors]] - [[#colors][Colors]]
- [[#bar-config][Bar config]] - [[#glyph-settings][Glyph settings]]
- [[#modules][Modules]] - [[#defining-modules][Defining modules]]
- [[#ipstack-vpn][ipstack-vpn]] - [[#generating-glyphs][Generating glyphs]]
- [[#weather][weather]] - [[#generating-set-of-modules][Generating set of modules]]
- [[#aw-afk][aw-afk]] - [[#global-bar-config][Global bar config]]
- [[#pomm][pomm]] - [[#launch-script][Launch script]]
- [[#sun][sun]] - [[#individual-modules][Individual modules]]
- [[#sep][SEP]]
- [[#tsep][TSEP]]
- [[#i3][i3]]
- [[#xkeyboard][xkeyboard]]
- [[#mpd][mpd]]
- [[#pulseaudio][pulseaudio]] - [[#pulseaudio][pulseaudio]]
- [[#mpd][mpd]]
- [[#cpu][cpu]] - [[#cpu][cpu]]
- [[#ram-memory][ram-memory]] - [[#ram-memory][ram-memory]]
- [[#swap-memory][swap-memory]] - [[#swap-memory][swap-memory]]
- [[#network][network]] - [[#network][network]]
- [[#date][date]] - [[#ipstack-vpn][ipstack-vpn]]
- [[#openvpn][openvpn]]
- [[#xkeyboard][xkeyboard]]
- [[#battery][battery]] - [[#battery][battery]]
- [[#weather][weather]]
- [[#sun][sun]]
- [[#aw-afk][aw-afk]]
- [[#date][date]]
- [[#pomm][pomm]]
- [[#sep][SEP]]
- [[#tsep][TSEP]]
- [[#i3][i3]]
- [[#rofi][Rofi]] - [[#rofi][Rofi]]
- [[#theme][Theme]] - [[#theme][Theme]]
- [[#scripts][Scripts]] - [[#scripts][Scripts]]
@ -126,6 +148,7 @@ References:
- [[#xmodmap][Xmodmap]] - [[#xmodmap][Xmodmap]]
- [[#vpn][VPN]] - [[#vpn][VPN]]
- [[#davmail][Davmail]] - [[#davmail][Davmail]]
- [[#sqrt-data][sqrt-data]]
- [[#shepherd-config][Shepherd config]] - [[#shepherd-config][Shepherd config]]
- [[#sync][Sync]] - [[#sync][Sync]]
- [[#guix-settings][Guix settings]] - [[#guix-settings][Guix settings]]
@ -789,12 +812,12 @@ Also, by default it tries to launch stuff with =gtk-launch=, which is in the =gt
| Category | Guix dependency | | Category | Guix dependency |
|--------------+-----------------| |--------------+-----------------|
| desktop-misc | gtk+:bin | | desktop-misc | gtk+:bin |
*** ivy-pass *** password-store-ivy
[[https://github.com/SqrtMinusOne/ivy-pass][ivy-pass]] is another package of mine, inspired by [[https://github.com/carnager/rofi-pass][rofi-pass]]. [[https://github.com/SqrtMinusOne/password-store-ivy][password-store-ivy]] is another package of mine, inspired by [[https://github.com/carnager/rofi-pass][rofi-pass]].
#+begin_src emacs-lisp #+begin_src emacs-lisp
(use-package ivy-pass (use-package password-store-ivy
:straight (:host github :repo "SqrtMinusOne/ivy-pass") :straight (:host github :repo "SqrtMinusOne/password-store-ivy")
:after (exwm)) :after (exwm))
#+end_src #+end_src
** Keybindings ** Keybindings
@ -890,7 +913,7 @@ And keybindings that are available in both =char-mode= and =line-mode=:
(,(kbd "s-p") . counsel-linux-app) (,(kbd "s-p") . counsel-linux-app)
(,(kbd "s-P") . async-shell-command) (,(kbd "s-P") . async-shell-command)
(,(kbd "s-;") . my/exwm-apps-hydra/body) (,(kbd "s-;") . my/exwm-apps-hydra/body)
(,(kbd "s--") . ivy-pass) (,(kbd "s--") . password-store-ivy)
(,(kbd "s-=") . ,(my/app-command "rofimoji")) (,(kbd "s-=") . ,(my/app-command "rofimoji"))
(,(kbd "s-i") . ,(my/app-command "copyq menu")) (,(kbd "s-i") . ,(my/app-command "copyq menu"))

View file

@ -6275,7 +6275,7 @@ Finally, there is also an Emacs plugin for [[https://devdocs.io][devdocs.io]].
*** pass *** pass
I use [[https://www.passwordstore.org/][pass]] as my password manager. Expectedly, there is Emacs frontend for it. I use [[https://www.passwordstore.org/][pass]] as my password manager. Expectedly, there is Emacs frontend for it.
Although I use [[https://github.com/carnager/rofi-pass][this rofi frontend]] for actually inserting passwords. This package is pretty good to manage the password database. I use [[https://github.com/SqrtMinusOne/password-store-ivy][password-store-ivy]] (another package of mine) to actually type passwords. [[https://github.com/carnager/rofi-pass][rofi-pass]] is another good option.
#+begin_src emacs-lisp #+begin_src emacs-lisp
(use-package pass (use-package pass