12 lines
348 B
Plaintext
Executable File
12 lines
348 B
Plaintext
Executable File
# 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)}'
|
|
}
|
|
|