Generic update.
This commit is contained in:
parent
18a5d10ee6
commit
8d1e0386db
@ -2,4 +2,6 @@
|
||||
|
||||
# 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
9
dmenu-keepassxc
Executable 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 "$@"
|
Loading…
Reference in New Issue
Block a user