qutebrowser | userscript update sendurl update selection
This commit is contained in:
parent
dc7a19f78a
commit
a590212560
1 changed files with 2 additions and 1 deletions
|
|
@ -1,3 +1,4 @@
|
|||
#!/usr/bin/env bash
|
||||
HOST=$(printf "%s\n" $(kdeconnect-cli -a |& grep : | awk -F: '{print $1}' | sed 's/- //') | bemenu --prompt="Select a device > " )
|
||||
kdeconnect-cli -n "${HOST}" --share "${QUTE_URL}"
|
||||
DEV=$(kdeconnect-cli -a |& grep : | grep "${HOST}" | awk -F: '{print $2}' | awk '{print $1}')
|
||||
kdeconnect-cli -d "${DEV}" --share "${QUTE_URL}"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue