From 904cdd62a486c4f79f089f74c4a1b1cbc15d397d Mon Sep 17 00:00:00 2001 From: "taha@asks2" Date: Thu, 24 May 2018 02:37:36 +0200 Subject: [PATCH] Created two new scripts for launching Chrome webapp windows. --- chrome-apps.sh | 19 +++++++++++++++++++ chrome-logging-apps.sh | 24 ++++++++++++++++++++++++ 2 files changed, 43 insertions(+) create mode 100755 chrome-apps.sh create mode 100755 chrome-logging-apps.sh diff --git a/chrome-apps.sh b/chrome-apps.sh new file mode 100755 index 0000000..57f37e0 --- /dev/null +++ b/chrome-apps.sh @@ -0,0 +1,19 @@ +#!/bin/bash +## Start Chrome windows of services +## Written May 17, 2018 +## Taha Ahmed + +# https://www.linuxjournal.com/magazine/hack-and-automate-your-desktop-wmctrl + +a="https://hypothes.is" +b="https://rememberthemilk.com" +c="https://wallabag.chepec.se" +d="https://keep.google.com" + +# start Chrome as app windows +google-chrome --new-window --app=$a & +google-chrome --new-window --app=$b & +google-chrome --new-window --app=$c & +google-chrome --new-window --app=$d & + +exit 1 diff --git a/chrome-logging-apps.sh b/chrome-logging-apps.sh new file mode 100755 index 0000000..8485a10 --- /dev/null +++ b/chrome-logging-apps.sh @@ -0,0 +1,24 @@ +#!/bin/bash +## Start Chrome windows of logging services +## Written May 18, 2018 +## Taha Ahmed + +# https://www.linuxjournal.com/magazine/hack-and-automate-your-desktop-wmctrl + +a="https://192.168.1.1:8443" +b="https://graylog.asks.se" +c="http://192.168.1.105/admin" +d="https://deluge.chepec.se" +e="https://trickle.deluge.chepec.se" +f="https://status.asks.se/tls/all" + +# start Chrome as app windows +google-chrome --new-window --app=$a & +google-chrome --new-window --app=$b & +google-chrome --new-window --app=$c & +google-chrome --new-window --app=$d & +google-chrome --new-window --app=$e & +google-chrome --new-window --app=$f & + + +exit 1