diff options
| author | Hsieh Chin Fan <pham@topo.tw> | 2023-08-14 13:46:13 +0800 |
|---|---|---|
| committer | Hsieh Chin Fan <pham@topo.tw> | 2023-08-14 13:46:29 +0800 |
| commit | 6949e7843255206bc642e8f7457c217581c9b556 (patch) | |
| tree | 5f36d3dc5774d76675c077705b2fe3d29507388a /X11/rofi | |
| parent | b44661bcd02374ea442a9fb81dffa956acfc10be (diff) | |
Update
Diffstat (limited to 'X11/rofi')
| -rwxr-xr-x | X11/rofi/pass.edit | 2 | ||||
| -rwxr-xr-x | X11/rofi/rofi-pass | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/X11/rofi/pass.edit b/X11/rofi/pass.edit index 2c0eeea..bfbdc31 100755 --- a/X11/rofi/pass.edit +++ b/X11/rofi/pass.edit | |||
| @@ -16,5 +16,5 @@ fi | |||
| 16 | 16 | ||
| 17 | # Use detected terminal emulator to edit password | 17 | # Use detected terminal emulator to edit password |
| 18 | coproc ( | 18 | coproc ( |
| 19 | $terminal -e pass edit $1 && $(dirname $0)/pass.get $1 | 19 | EDITOR=nvim $terminal -e pass edit $1 && $(dirname $0)/pass.get $1 |
| 20 | ) | 20 | ) |
diff --git a/X11/rofi/rofi-pass b/X11/rofi/rofi-pass index 498fa62..9e16bc8 100755 --- a/X11/rofi/rofi-pass +++ b/X11/rofi/rofi-pass | |||
| @@ -1,6 +1,7 @@ | |||
| 1 | #! /bin/bash | 1 | #! /bin/bash |
| 2 | 2 | ||
| 3 | export terminal=${terminal:-alacritty} | 3 | export terminal=${terminal:-alacritty} |
| 4 | export EDITOR=${EDITOR:-vim} | ||
| 4 | 5 | ||
| 5 | cd $(dirname $0) | 6 | cd $(dirname $0) |
| 6 | 7 | ||