Add .local/bin/fishify_envs
Add .local/bin/hyprtoggle Add .local/bin/localhost Add .local/bin/tmux-sessionizer
This commit is contained in:
parent
5b3b5d0730
commit
289efb7172
4 changed files with 127 additions and 0 deletions
13
private_dot_local/bin/executable_localhost
Normal file
13
private_dot_local/bin/executable_localhost
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
#!/bin/bash
|
||||
|
||||
IP=$(hostname -i | awk '{print $1}')
|
||||
PORT=8000
|
||||
|
||||
YELLOW=$(tput setaf 3)
|
||||
BLUE=$(tput setaf 4)
|
||||
BOLD=$(tput bold)
|
||||
RESET=$(tput sgr0)
|
||||
|
||||
echo "Serving ${YELLOW}${BOLD}$(pwd)${RESET} at ${BLUE}${BOLD}http://$IP:$PORT${RESET}"
|
||||
|
||||
python3 -m http.server "$PORT"
|
||||
Loading…
Add table
Add a link
Reference in a new issue