I don't need a reason to write scripts!
This commit is contained in:
parent
18ecbd5b33
commit
d421d47569
|
@ -0,0 +1,6 @@
|
|||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
|
||||
if package="$(expac --sync '%r/%a/%n %v - %d' | rofi -dmenu)" && [[ -n "$package" ]]; then
|
||||
xdg-open "https://www.archlinux.org/packages/${package%% *}/"
|
||||
fi
|
|
@ -0,0 +1,10 @@
|
|||
#!/usr/bin/env python
|
||||
|
||||
import random
|
||||
|
||||
|
||||
def randbyte():
|
||||
return random.randrange(0, 256)
|
||||
|
||||
|
||||
print("127.{}.{}.{}".format(randbyte(), randbyte(), randbyte()))
|
Loading…
Reference in New Issue