mirror of
https://github.com/ksyasuda/rice.git
synced 2024-11-22 03:19:58 -08:00
add rofissh script
This commit is contained in:
parent
a521b036ae
commit
0cd2c5962a
13
scripts/rofi/rofissh.sh
Executable file
13
scripts/rofi/rofissh.sh
Executable file
@ -0,0 +1,13 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
HOSTS=(
|
||||||
|
"DEPOT02 - dc1lxsdepot02.westlakefinancial.com"
|
||||||
|
)
|
||||||
|
|
||||||
|
CHOICE=$(printf '%s\n' "${HOSTS[@]}" | rofi -dmenu -i -l 10)
|
||||||
|
|
||||||
|
echo $CHOICE
|
||||||
|
|
||||||
|
|
||||||
|
# print hostname
|
||||||
|
printf "%s\n" "${HOSTS[@]}" | awk '{print $NF}'
|
Loading…
Reference in New Issue
Block a user