This commit is contained in:
ksyasuda
2021-11-03 11:43:16 -07:00
parent 0fdda43e65
commit c20a0e8568
7 changed files with 161 additions and 23 deletions

View File

@@ -20,7 +20,8 @@ updates="$((updates_arch + updates_aur))"
if [ "$updates" -gt 0 ]; then
#echo " ($(format $updates_arch)/$(format $updates_aur))"
# echo " ($(format $updates_arch)/$(format $updates_aur))"
dunstify " Outdated Packages: ($(format $updates_arch)/$(format $updates_aur))"
# dunstify " Outdated Packages: ($(format $updates_arch)/$(format $updates_aur))"
echo " ($(format $updates_arch)/$(format $updates_aur))"
else
echo
fi

View File

@@ -12,7 +12,7 @@ ARGS=(
)
CHOICE=$(
printf "%s\n" "${ARGS[@]}" | rofi -config ~/SudacodeRice/rofi/flat-orange.rasi -dmenu -l 5 -i -p "SSH Helper"
printf "%s\n" "${ARGS[@]}" | rofi -config "$1" -dmenu -l 5 -i -p "SSH Helper"
)
if [[ "$CHOICE" == "Quit" ]]; then

View File

@@ -1,13 +0,0 @@
#!/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}'