Generic update.

This commit is contained in:
CronyAkatsuki 2022-12-26 12:16:57 +01:00
parent 18a5d10ee6
commit 8d1e0386db
2 changed files with 12 additions and 1 deletions

View File

@ -2,4 +2,6 @@
# Simple dmenu scipt to open a buku bookmark in a browser # Simple dmenu scipt to open a buku bookmark in a browser
buku --nostdin -p -f5 | dmenu -p "Search bookmark: " -i -l 10 | cut -f1 | xargs -r buku --nostdin -o [ "$1" = "open" ] && buku --nostdin -p -f5 | sed 's/\t/;/g' | column -t -s ';' | dmenu -p "Open bookmark: " -i -l 10 | cut -d' ' -f1 | xargs -r buku --nostdin -o
[ "$1" = "edit" ] && buku --nostdin -p -f5 | sed 's/\t/;/g' | column -t -s ';' | dmenu -p "Edit bookmark: " -i -l 10 | cut -d' ' -f1 | xargs -r $TERMINAL start -- buku -w

9
dmenu-keepassxc Executable file
View File

@ -0,0 +1,9 @@
#!/bin/sh
# Simple dmenu script to ask for keepassxc database password, and get the password of asked account
db=$(grep database ~/.config/dmenu-keepassxc/config | cut -d: -f 2)
kf=$(grep keyfile ~/.config/dmenu-keepassxc/config | cut -d: -f 2)
dmenu -P -p "Enter KeePassXC database password" | keepassxc-cli show -sa password -k $kf $db "$@"