2021-07-31 19:14:03 +00:00
|
|
|
#!/bin/bash
|
2021-07-17 22:32:54 +00:00
|
|
|
activity=`kactivities-cli --current-activity | cut -d" " -f3`
|
|
|
|
|
2021-07-31 19:14:03 +00:00
|
|
|
if [[ $1 =~ .*\&incognitottt$ ]]; then
|
|
|
|
url="${1/\&incognitottt/}"
|
2021-08-04 20:15:18 +00:00
|
|
|
[[ $activity == "OXO" ]] && /bin/brave --incognito "$url" >/dev/null 2>&1 &
|
|
|
|
[[ $activity == "Development" ]] && /home/bruno/Apps/firefox/firefox-bin --private-window "$url" >/dev/null 2>&1 &
|
|
|
|
[[ $activity == "Main" ]] && /bin/firefox --private-window "$url" >/dev/null 2>&1 &
|
|
|
|
[[ $activity == "Videos" ]] && /bin/firefox --private-window "$url" >/dev/null 2>&1 &
|
2021-07-31 19:14:03 +00:00
|
|
|
else
|
2021-08-04 20:15:18 +00:00
|
|
|
[[ $activity == "OXO" ]] && /bin/brave "$1" >/dev/null 2>&1 &
|
|
|
|
[[ $activity == "Development" ]] && /home/bruno/Apps/firefox/firefox-bin "$1" >/dev/null 2>&1 &
|
|
|
|
[[ $activity == "Main" ]] && /bin/firefox "$1" >/dev/null 2>&1 &
|
|
|
|
[[ $activity == "Videos" ]] && /bin/firefox "$1" >/dev/null 2>&1 &
|
2021-07-31 19:14:03 +00:00
|
|
|
fi
|