mirror of
https://github.com/brunofontes/linuxShortcuts.git
synced 2024-11-23 23:40:51 +00:00
feat: add script to choose the best browser per KDE Activity
This commit is contained in:
parent
00a0ebe0f8
commit
14901142b6
7
browser.sh
Executable file
7
browser.sh
Executable file
@ -0,0 +1,7 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
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"
|
Loading…
Reference in New Issue
Block a user