aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorHsieh Chin Fan <pham@topo.tw>2023-03-06 09:12:45 +0800
committerHsieh Chin Fan <pham@topo.tw>2023-03-06 09:12:45 +0800
commit7b216a5bd117a048283acae113253e19f905e6dc (patch)
treed8b36589b0ec33412b8a0b3a998b825882115075
parent1aca31103361b456c33e99fa46e54e7a7821fa71 (diff)
Improve pass script
-rwxr-xr-xX11/rofi/pass.get5
-rw-r--r--alias2
2 files changed, 6 insertions, 1 deletions
diff --git a/X11/rofi/pass.get b/X11/rofi/pass.get
index 9aaf542..18230fe 100755
--- a/X11/rofi/pass.get
+++ b/X11/rofi/pass.get
@@ -48,7 +48,10 @@ if [ -n "$RESULT" ]; then
48 coproc ( rofi -e "Copied: $1$EXTRA" ) 48 coproc ( rofi -e "Copied: $1$EXTRA" )
49 49
50elif [ -f "$HOME/.password-store/$1.gpg" ]; then 50elif [ -f "$HOME/.password-store/$1.gpg" ]; then
51 coproc ( rofi -e "GPG passphase is not chached" ) 51 coproc (
52 rofi -e "GPG passphase is not chached" \
53 -theme-str '#window { font: "hacker 40"; }'
54 )
52else 55else
53 # Password doesn't exist yet 56 # Password doesn't exist yet
54 # Go to next rofi execution 57 # Go to next rofi execution
diff --git a/alias b/alias
index cc069d0..d777ef3 100644
--- a/alias
+++ b/alias
@@ -564,6 +564,8 @@ fix() { which $1 && grep -Po 'FIXME.*' $(which $1); }
564alias ffmpeg='ffmpeg -hide_banner' 564alias ffmpeg='ffmpeg -hide_banner'
565alias md='reveal' 565alias md='reveal'
566alias terminal.color='printf "\e[%dm%d dark\e[0m \e[%d;1m%d bold\e[0m\n" {30..37}{,,,}' 566alias terminal.color='printf "\e[%dm%d dark\e[0m \e[%d;1m%d bold\e[0m\n" {30..37}{,,,}'
567alias gpg.bye='gpg-connect-agent reloadagent /bye'
568
567 569
568TAIWAN_BBOX='118.1036,20.72799,122.9312,26.60305' 570TAIWAN_BBOX='118.1036,20.72799,122.9312,26.60305'
569TAIWAN_BBOX_V='20.72799,118.1036,26.60305,122.9312' 571TAIWAN_BBOX_V='20.72799,118.1036,26.60305,122.9312'