aboutsummaryrefslogtreecommitdiffstats
path: root/parsers/chromium
blob: a8c51caf35f2a3546cae44f31b7d2cc517762243 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
# get active URL from browser
# Chose the one for your browser or create your own.

# chromium - needs url in title extension
# 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)}'
}