yhtml improvements
parent
c64e998752
commit
2a2151fdf7
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
file=${1}
|
file=${1}
|
||||||
title=${2:-yhtml}
|
title=${2:-"Mabox Linux Doc"}
|
||||||
width=${3:-800}
|
width=${3:-800}
|
||||||
height=${4:-600}
|
height=${4:-600}
|
||||||
|
|
||||||
|
@ -13,6 +13,8 @@ stdbuf -oL -e0 yad --title="${title}" --window-icon=mbcc --borders=0 \
|
||||||
https) xdg-open "${line}" &;;
|
https) xdg-open "${line}" &;;
|
||||||
run) ${line##*//} &;;
|
run) ${line##*//} &;;
|
||||||
config) geany "$HOME/${line#*//}" &;;
|
config) geany "$HOME/${line#*//}" &;;
|
||||||
|
term) terminator -e "${line#*//}" &;;
|
||||||
|
termo) terminator -e "${line#*//};bash" &;;
|
||||||
*) echo "No URI";;
|
*) echo "No URI";;
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
|
|
Loading…
Reference in New Issue