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
|
#!/bin/sh
|
||||||
ifinstalled python && python -iq -c "print('Welcome to the Calculator')
|
ifinstalled python && python -iq -c "print('Welcome to the Calculator')
|
||||||
from numpy import *
|
from numpy import *
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
import matplotlib.pyplot as plt
|
import matplotlib.pyplot as plt
|
||||||
sys.ps1='❯'
|
sys.ps1='❯'
|
||||||
@ -9,5 +10,7 @@ def plot(a, b, f):
|
|||||||
x = linspace(a, b, 1000)
|
x = linspace(a, b, 1000)
|
||||||
y = eval(f)
|
y = eval(f)
|
||||||
plt.plot(x, y)
|
plt.plot(x, y)
|
||||||
|
plt.xlabel('x')
|
||||||
|
plt.ylabel(f)
|
||||||
plt.show()
|
plt.show()
|
||||||
"
|
"
|
||||||
|
@ -5,8 +5,6 @@
|
|||||||
# Anything else, it search it.
|
# Anything else, it search it.
|
||||||
browser=${BROWSER:-firefox}
|
browser=${BROWSER:-firefox}
|
||||||
|
|
||||||
pgrep -x dmenu && exit
|
|
||||||
|
|
||||||
choice=$(echo "🔍" | dmenu -i -p "Searx:") || exit 1
|
choice=$(echo "🔍" | dmenu -i -p "Searx:") || exit 1
|
||||||
|
|
||||||
if [ "$choice" = "🔍" ]; then
|
if [ "$choice" = "🔍" ]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user