mirror of
https://github.com/brunofontes/linuxShortcuts.git
synced 2024-11-24 05:24:56 +00:00
Compare commits
4 Commits
14901142b6
...
b497912cdf
Author | SHA1 | Date | |
---|---|---|---|
b497912cdf | |||
847f839d89 | |||
0c16db897f | |||
ebc7031a3d |
3
KDE/OXO.sh
Executable file
3
KDE/OXO.sh
Executable 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"
|
18
browser.sh
18
browser.sh
@ -1,7 +1,15 @@
|
|||||||
#!/bin/sh
|
#!/bin/bash
|
||||||
activity=`kactivities-cli --current-activity | cut -d" " -f3`
|
activity=`kactivities-cli --current-activity | cut -d" " -f3`
|
||||||
|
|
||||||
[[ $activity == "OXO" ]] && /bin/brave "$1"
|
if [[ $1 =~ .*\&incognitottt$ ]]; then
|
||||||
[[ $activity == "Development" ]] && /home/bruno/Apps/firefox/firefox-bin "$1"
|
url="${1/\&incognitottt/}"
|
||||||
[[ $activity == "Main" ]] && /bin/firefox "$1"
|
[[ $activity == "OXO" ]] && /bin/brave --incognito "$url" >/dev/null 2>&1 &
|
||||||
[[ $activity == "Videos" ]] && /bin/firefox "$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
|
||||||
|
Loading…
Reference in New Issue
Block a user