Remove .local/bin/dnd
Remove .local/bin/fishify-envs Remove .local/bin/fishify_envs Remove .local/bin/fix-loopback Remove .local/bin/hyprtoggle Remove .local/bin/localhost Remove .local/bin/low-battery-warn Remove .local/bin/make-pwa Remove .local/bin/niri-cycle Remove .local/bin/niri-event-handler Remove .local/bin/push-chezmoi Remove .local/bin/push_chezmoi Remove .local/bin/tmux-sessionizer Remove .local/bin/update_lsps Remove .local/bin/hooks/generic
This commit is contained in:
parent
917b479a94
commit
9c6f940eb1
15 changed files with 0 additions and 431 deletions
|
|
@ -1,20 +0,0 @@
|
|||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
|
||||
PORT=8000
|
||||
|
||||
IP=$(ip route get 1.1.1.1 2>/dev/null | awk '{print $7; exit}')
|
||||
IP=${IP:-127.0.0.1}
|
||||
|
||||
if [[ -t 1 ]]; then
|
||||
YELLOW=$(tput setaf 3)
|
||||
BLUE=$(tput setaf 4)
|
||||
BOLD=$(tput bold)
|
||||
RESET=$(tput sgr0)
|
||||
else
|
||||
YELLOW= BLUE= BOLD= RESET=
|
||||
fi
|
||||
|
||||
echo "Serving ${YELLOW}${BOLD}$(pwd)${RESET} at ${BLUE}${BOLD}http://${IP}:${PORT}${RESET}"
|
||||
|
||||
exec python3 -m http.server "$PORT"
|
||||
Loading…
Add table
Add a link
Reference in a new issue