removed annoying check in searx, labels for dropdowncalc

modified:   .local/bin/dropdowncalc
	modified:   .local/bin/tools/searx
This commit is contained in:
Alexander Bocken 2020-08-17 18:28:13 +02:00
parent 3d46a438e9
commit 7f476e0d77
2 changed files with 3 additions and 2 deletions

View File

@ -1,6 +1,7 @@
#!/bin/sh
ifinstalled python && python -iq -c "print('Welcome to the Calculator')
from numpy import *
import sys
import matplotlib.pyplot as plt
sys.ps1=''
@ -9,5 +10,7 @@ def plot(a, b, f):
x = linspace(a, b, 1000)
y = eval(f)
plt.plot(x, y)
plt.xlabel('x')
plt.ylabel(f)
plt.show()
"

View File

@ -5,8 +5,6 @@
# Anything else, it search it.
browser=${BROWSER:-firefox}
pgrep -x dmenu && exit
choice=$(echo "🔍" | dmenu -i -p "Searx:") || exit 1
if [ "$choice" = "🔍" ]; then