.dotfiles/configs/wofi/scripts/open-localhost
2022-05-04 18:55:48 +02:00

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