removed annoying check in searx, labels for dropdowncalc
modified: .local/bin/dropdowncalc modified: .local/bin/tools/searx
This commit is contained in:
parent
3d46a438e9
commit
7f476e0d77
@ -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()
|
||||
"
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user