Compare commits

...

4 Commits

3 changed files with 19 additions and 5 deletions

3
KDE/OXO.sh Executable file
View File

@ -0,0 +1,3 @@
#!/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"

View File

@ -1,7 +1,15 @@
#!/bin/sh
#!/bin/bash
activity=`kactivities-cli --current-activity | cut -d" " -f3`
[[ $activity == "OXO" ]] && /bin/brave "$1"
[[ $activity == "Development" ]] && /home/bruno/Apps/firefox/firefox-bin "$1"
[[ $activity == "Main" ]] && /bin/firefox "$1"
[[ $activity == "Videos" ]] && /bin/firefox "$1"
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

3
video.sh Executable file
View File

@ -0,0 +1,3 @@
#!/bin/sh
echo "$1" > ~/.lastVideo
/usr/bin/vlc --started-from-file "$1" 2>/dev/null &