diff --git a/www b/www index 28c4440..5dee990 100755 --- a/www +++ b/www @@ -1,16 +1,18 @@ #!/bin/bash #Создан: Чт 23 июн 2016 13:14:17 -#Изменён: Пт 29 июл 2016 09:45:57 +#Изменён: Вт 29 авг 2017 18:50:17 # BROWSER=surf,vimprobable2,vimb,jumanji BROWSER=chromium -SEARCH="http://www.google.ru/search?q=" +SEARCH="https://duckduckgo.com/?q=" #title:url URLS="$SHELLRC/var/www/urls" +LINES=5 + # URL="$(rofi -dmenu -hide-scrollbar -columns 8 -location 1 -width 100 -lines 10 -input $URLS)" TITLES="$(awk '/\[/{print NR-1}' $URLS | paste -s -d ',')" @@ -20,7 +22,7 @@ BADURLS="$(awk '/XXX/{print NR-1}' $URLS | paste -s -d ',')" WEBSITE=$(cat $URLS \ | cut -d ':' -f 1 \ | sed 's/XXX //' \ - | rofi -dmenu -hide-scrollbar -i -columns 4 -location 1 -width 100 -lines 10 -a $TITLES -u $BADURLS -p "web:") + | rofi -dmenu -hide-scrollbar -i -columns 4 -location 1 -width 100 -lines $LINES -a $TITLES -u $BADURLS -p "web:") if [ ! -z "$WEBSITE" ]; then URL="$(grep "${WEBSITE}:" $URLS | cut -d ':' -f 2-)"