mirror of
https://github.com/ksyasuda/rice.git
synced 2025-12-05 14:53:39 -08:00
updates
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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}'
|
||||
Reference in New Issue
Block a user