add the host to the clipboard selection
This commit is contained in:
parent
1b77a7c05e
commit
3bdecb99b9
|
@ -6,6 +6,7 @@ SOURCE=$(zenity \
|
|||
--text="Choose a clipboard to copy from" \
|
||||
--print-column=4 \
|
||||
--column="From" --column="PID" --column="Kube name" --column="Local X server" --column="Program running" \
|
||||
TRUE 1 $(hostname) 0.0 Host \
|
||||
$(awk '{ print "FALSE "$0 }' /tmp/kubes.txt))
|
||||
|
||||
if [ -z "$SOURCE" ]
|
||||
|
@ -19,6 +20,7 @@ DESTINATION=$(zenity \
|
|||
--text="Choose a destination clipboard" \
|
||||
--print-column=4 \
|
||||
--column="To" --column="PID" --column="Kube name" --column="Local X server" --column="Program running" \
|
||||
TRUE 1 $(hostname) 0.0 Host \
|
||||
$(awk -v orig="${SOURCE}" '$3!=orig { print "FALSE "$0 }' /tmp/kubes.txt))
|
||||
|
||||
if [ -z "$DESTINATION" ]
|
||||
|
|
Loading…
Reference in New Issue
Block a user