aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRasmus Steinke <rasi@xssn.at>2015-06-06 13:30:02 +0200
committerRasmus Steinke <rasi@xssn.at>2015-06-06 13:30:02 +0200
commitd9748d2ee45bd25f1badb49160b688442d2ab108 (patch)
tree69f95da693b829fd98e805cf5353b5edad975a77
parent3e707b39e3b260159efb272af1c73b39fea0499c (diff)
downloadrofi-pass-d9748d2ee45bd25f1badb49160b688442d2ab108.tar.gz
update parsers
-rwxr-xr-xparsers/chromium5
-rwxr-xr-xparsers/firefox5
2 files changed, 2 insertions, 8 deletions
diff --git a/parsers/chromium b/parsers/chromium
index a8c51ca..3f3f846 100755
--- a/parsers/chromium
+++ b/parsers/chromium
@@ -5,7 +5,4 @@
# https://chrome.google.com/webstore/detail/url-in-title/ignpacbgnbnkaiooknalneoeladjnfgb
# set string to "{protocol}://{hostname}{port}/{path}/{args}"
-domain () {
- wmctrl -l | grep Chromium | awk '{print $(NF-2)}'
-}
-
+wmctrl -l | grep Chromium | awk '{print $(NF-2)}'
diff --git a/parsers/firefox b/parsers/firefox
index 101f6d9..c24d11f 100755
--- a/parsers/firefox
+++ b/parsers/firefox
@@ -2,7 +2,4 @@
# https://addons.mozilla.org/en-US/firefox/addon/add-url-to-window-title/
# set delimiter to "::"
-domain () {
- wmctrl -l | grep Firefox | grep "::" | awk '{print $(NF-3)}'
-}
-
+wmctrl -l | grep Firefox | grep "::" | awk '{print $(NF-3)}'