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/}"
|
|
|
|
[[ $activity == "OXO" ]] && /bin/brave --incognito "$url" 2>%1 1>/dev/null &
|
|
|
|
[[ $activity == "Development" ]] && /home/bruno/Apps/firefox/firefox-bin --private-window "$url" 2>%1 1>/dev/null &
|
|
|
|
[[ $activity == "Main" ]] && /bin/firefox --private-window "$url" 2>%1 1>/dev/null &
|
|
|
|
[[ $activity == "Videos" ]] && /bin/firefox --private-window "$url" 2>%1 1>/dev/null &
|
|
|
|
else
|
|
|
|
[[ $activity == "OXO" ]] && /bin/brave "$1" 2>%1 1>/dev/null &
|
|
|
|
[[ $activity == "Development" ]] && /home/bruno/Apps/firefox/firefox-bin "$1" 2>%1 1>/dev/null &
|
|
|
|
[[ $activity == "Main" ]] && /bin/firefox "$1" 2>%1 1>/dev/null &
|
|
|
|
[[ $activity == "Videos" ]] && /bin/firefox "$1" 2>%1 1>/dev/null &
|
|
|
|
fi
|