.dotfiles/.config/wofi/scripts/open-localhost

10 lines
167 B
Bash
Executable File

#!/bin/bash
xdg-open "http://localhost:$(sed '1,/^### DATA ###$/d' $0 | wofi --show dmenu -i | cut -d ' ' -f 1 | tr -d '\n')"
exit
### DATA ###
8000
8080
3000
3001
80