mirror of
https://github.com/Swarsel/.dotfiles.git
synced 2025-12-06 17:17:22 +01:00
feat: add quickpass
This commit is contained in:
parent
65baf8fa28
commit
6152fbd623
3 changed files with 44 additions and 0 deletions
12
files/scripts/quickpass.sh
Normal file
12
files/scripts/quickpass.sh
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
shopt -s nullglob globstar
|
||||
|
||||
notify-send "$(env | grep -E 'WAYLAND|SWAY')"
|
||||
|
||||
password="$1"
|
||||
|
||||
pass show "$password" | {
|
||||
IFS= read -r pass
|
||||
printf %s "$pass"
|
||||
} | wtype -
|
||||
|
||||
notify-send -u critical -a pass -t 1000 "Typed Password"
|
||||
Loading…
Add table
Add a link
Reference in a new issue