From abcf7fc376b140c685711adb71c2ee858dad67f0 Mon Sep 17 00:00:00 2001 From: hexis <71829613+hexisXz@users.noreply.github.com> Date: Thu, 31 Oct 2024 18:04:55 +0000 Subject: [PATCH] added waterfox browser (#700) * added waterfox browser * added waterfox browser * added waterfox browser * added waterfox browser * added waterfox browser * added waterfox browser * added waterfox browser * added waterfox browser * fixed things * fixed things * added FI * flatpak fix * added lapce IDE * . --- .../applications-setup/browsers/waterfox.sh | 25 +++++++++++++++++++ core/tabs/applications-setup/tab_data.toml | 6 +++++ 2 files changed, 31 insertions(+) create mode 100644 core/tabs/applications-setup/browsers/waterfox.sh diff --git a/core/tabs/applications-setup/browsers/waterfox.sh b/core/tabs/applications-setup/browsers/waterfox.sh new file mode 100644 index 000000000..3cef5106f --- /dev/null +++ b/core/tabs/applications-setup/browsers/waterfox.sh @@ -0,0 +1,25 @@ +#!/bin/sh -e + +. ../../common-script.sh + +installWaterfox() { + if ! command_exists waterfox; then + printf "%b\n" "${YELLOW}Installing waterfox...${RC}" + case "$PACKAGER" in + pacman) + "$AUR_HELPER" -S --needed --noconfirm waterfox-bin + ;; + *) + . ../setup-flatpak.sh + flatpak install -y flathub net.waterfox.waterfox + ;; + esac + else + printf "%b\n" "${GREEN}Waterfox is already installed.${RC}" + fi +} + +checkEnv +checkEscalationTool +checkAURHelper +installWaterfox diff --git a/core/tabs/applications-setup/tab_data.toml b/core/tabs/applications-setup/tab_data.toml index ef6af7dec..d2c59461a 100644 --- a/core/tabs/applications-setup/tab_data.toml +++ b/core/tabs/applications-setup/tab_data.toml @@ -186,6 +186,12 @@ description = "Vivaldi is a freeware, cross-platform web browser developed by Vi script = "browsers/vivaldi.sh" task_list = "I" +[[data.entries]] +name = "waterfox" +description = "Waterfox is the privacy-focused web browser engineered to give you speed, control, and peace of mind on the internet." +script = "browsers/waterfox.sh" +task_list = "FI" + [[data]] name = "Alacritty" description = "Alacritty is a modern terminal emulator that comes with sensible defaults, but allows for extensive configuration. By integrating with other applications, rather than reimplementing their functionality, it manages to provide a flexible set of features with high performance. The supported platforms currently consist of BSD, Linux, macOS and Windows.\nThis command installs and condifures alacritty terminal emulator."