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

10 lines
167 B
Plaintext
Raw Normal View History

2022-03-14 19:21:46 +01:00
#!/bin/bash
2022-04-15 14:52:17 +02:00
xdg-open "http://localhost:$(sed '1,/^### DATA ###$/d' $0 | wofi --show dmenu -i | cut -d ' ' -f 1 | tr -d '\n')"
2022-03-14 19:21:46 +01:00
exit
### DATA ###
8000
8080
3000
3001
80