mirror of
https://github.com/ChrisTitusTech/linutil.git
synced 2024-11-21 12:59:41 +00:00
feat: whatsapp desktop app (#838)
* feat(communication/whatsapp): add whatsapp desktop client * Update core/tabs/applications-setup/communication-apps/whatsapp-setup.sh Co-authored-by: JEEVITHA KANNAN K S <ksjeevithakannan123@gmail.com> * refactor: changing name to zapzap As per @Ilj3954 and @adamperkowski request, I'm changing both option and script name to zapzap (which was the original name of the app) * Update core/tabs/applications-setup/tab_data.toml Co-authored-by: Adam Perkowski <adas1per@protonmail.com> * Update core/tabs/applications-setup/communication-apps/zapzap-setup.sh Co-authored-by: Adam Perkowski <adas1per@protonmail.com> * Update core/tabs/applications-setup/communication-apps/zapzap-setup.sh Co-authored-by: Adam Perkowski <adas1per@protonmail.com> * Update core/tabs/applications-setup/communication-apps/zapzap-setup.sh Co-authored-by: Adam Perkowski <adas1per@protonmail.com> * Update core/tabs/applications-setup/communication-apps/zapzap-setup.sh Co-authored-by: Adam Perkowski <adas1per@protonmail.com> * chore: adjusting indentation * Update core/tabs/applications-setup/communication-apps/zapzap-setup.sh Co-authored-by: Jeevitha Kannan K S <ksjeevithakannan123@gmail.com> * Update core/tabs/applications-setup/tab_data.toml Co-authored-by: Jeevitha Kannan K S <ksjeevithakannan123@gmail.com> --------- Co-authored-by: JEEVITHA KANNAN K S <ksjeevithakannan123@gmail.com> Co-authored-by: Adam Perkowski <adas1per@protonmail.com> Co-authored-by: Chris Titus <contact@christitus.com>
This commit is contained in:
parent
b36a7df11c
commit
51e2cbd607
|
@ -0,0 +1,23 @@
|
|||
#!/bin/sh -e
|
||||
|
||||
. ../../common-script.sh
|
||||
|
||||
installZapZap() {
|
||||
if ! command_exists com.rtosta.zapzap && ! command_exists zapzap; then
|
||||
printf "%b\n" "${YELLOW}Installing Zap-Zap...${RC}"
|
||||
case "$PACKAGER" in
|
||||
pacman)
|
||||
"$AUR_HELPER" -S --needed --noconfirm zapzap
|
||||
;;
|
||||
*)
|
||||
checkFlatpak
|
||||
flatpak install flathub com.rtosta.zapzap
|
||||
;;
|
||||
esac
|
||||
else
|
||||
printf "%b\n" "${GREEN}Zap-Zap is already installed.${RC}"
|
||||
fi
|
||||
}
|
||||
|
||||
checkEnv
|
||||
installZapZap
|
|
@ -84,6 +84,17 @@ description = "Sublime Text is a fast, lightweight, and customizable text editor
|
|||
script = "Developer-tools/sublime-setup.sh"
|
||||
task_list = "I"
|
||||
|
||||
[[data.entries]]
|
||||
name = "ZapZap"
|
||||
description = "ZapZap is an open source whatsapp desktop client for Linux users developed by rafatosta."
|
||||
script = "communication-apps/zapzap-setup.sh"
|
||||
task_list = "I"
|
||||
|
||||
[[data.entries]]
|
||||
name = "Zoom"
|
||||
description = "Zoom is a widely-used video conferencing platform that allows users to host virtual meetings, webinars, and online collaboration with features like screen sharing and recording."
|
||||
script = "communication-apps/zoom-setup.sh"
|
||||
|
||||
[[data.entries]]
|
||||
name = "VS Code"
|
||||
description = "Visual Studio Code (VS Code) is a lightweight, open-source code editor with built-in support for debugging, version control, and extensions for various programming languages and frameworks."
|
||||
|
@ -279,7 +290,7 @@ task_list = "I"
|
|||
[[data.preconditions]]
|
||||
matches = false
|
||||
data = "command_exists"
|
||||
values = [ "linutil" ]
|
||||
values = ["linutil"]
|
||||
|
||||
[[data]]
|
||||
name = "Linutil Updater"
|
||||
|
@ -290,7 +301,7 @@ task_list = "I"
|
|||
[[data.preconditions]]
|
||||
matches = true
|
||||
data = "command_exists"
|
||||
values = [ "linutil" ]
|
||||
values = ["linutil"]
|
||||
|
||||
[[data]]
|
||||
name = "Rofi"
|
||||
|
@ -306,7 +317,7 @@ task_list = "I SS"
|
|||
[[data.preconditions]]
|
||||
matches = true
|
||||
data = { environment = "XDG_SESSION_TYPE" }
|
||||
values = [ "wayland", "Wayland" ]
|
||||
values = ["wayland", "Wayland"]
|
||||
|
||||
[[data]]
|
||||
name = "ZSH Prompt"
|
||||
|
|
Loading…
Reference in New Issue
Block a user