mirror of
https://github.com/brunofontes/linuxShortcuts.git
synced 2025-06-20 20:23:34 -03:00
Compare commits
No commits in common. "b497912cdffd8d7dc033dfb37c91e5e1f5fb1899" and "14901142b6a90e42337e87867274f2639513a5d0" have entirely different histories.
b497912cdf
...
14901142b6
@ -1,3 +0,0 @@
|
||||
#!/bin/sh
|
||||
kactivities-cli --stop-activity `kactivities-cli --list-activities | grep "Main" | cut -d' ' -f2`
|
||||
notify-send --icon=`kactivities-cli --list-activities | grep "OXO" | cut -d' ' -f4` -a "OXO Innovation" "Main profile closed"
|
18
browser.sh
18
browser.sh
@ -1,15 +1,7 @@
|
||||
#!/bin/bash
|
||||
#!/bin/sh
|
||||
activity=`kactivities-cli --current-activity | cut -d" " -f3`
|
||||
|
||||
if [[ $1 =~ .*\&incognitottt$ ]]; then
|
||||
url="${1/\&incognitottt/}"
|
||||
[[ $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 &
|
||||
else
|
||||
[[ $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 &
|
||||
fi
|
||||
[[ $activity == "OXO" ]] && /bin/brave "$1"
|
||||
[[ $activity == "Development" ]] && /home/bruno/Apps/firefox/firefox-bin "$1"
|
||||
[[ $activity == "Main" ]] && /bin/firefox "$1"
|
||||
[[ $activity == "Videos" ]] && /bin/firefox "$1"
|
||||
|
Loading…
x
Reference in New Issue
Block a user