From 462917c5ea36b98836d3992f157533a1b5c4b862 Mon Sep 17 00:00:00 2001 From: d7omdev Date: Tue, 12 Nov 2024 14:06:29 +0300 Subject: [PATCH 1/3] Zen Browser installation - Added Zen Browser to Web Browsers tab. --- .../browsers/zen-browser.sh | 29 +++++++++++++++++++ core/tabs/applications-setup/tab_data.toml | 8 ++++- docs/userguide.md | 6 +++- 3 files changed, 41 insertions(+), 2 deletions(-) create mode 100755 core/tabs/applications-setup/browsers/zen-browser.sh diff --git a/core/tabs/applications-setup/browsers/zen-browser.sh b/core/tabs/applications-setup/browsers/zen-browser.sh new file mode 100755 index 00000000..4f66d575 --- /dev/null +++ b/core/tabs/applications-setup/browsers/zen-browser.sh @@ -0,0 +1,29 @@ +#!/bin/sh -e + +. ../../common-script.sh + +installZenBrowser() { + if ! command_exists zen-browser; then + printf "%b\n" "${YELLOW}Installing Zen Browser...${RC}" + case "$PACKAGER" in + pacman) + if grep -q avx2 /proc/cpuinfo; then + "$AUR_HELPER" -S --needed --noconfirm zen-browser-avx2-bin + else + "$AUR_HELPER" -S --needed --noconfirm zen-browser-bin + fi + ;; + *) + checkFlatpak + flatpak install -y flathub io.github.zen_browser.zen + ;; + esac + else + printf "%b\n" "${GREEN}Zen Browser is already installed.${RC}" + fi +} + +checkEnv +checkEscalationTool +checkAURHelper +installZenBrowser diff --git a/core/tabs/applications-setup/tab_data.toml b/core/tabs/applications-setup/tab_data.toml index a1a3ea45..fdda470f 100644 --- a/core/tabs/applications-setup/tab_data.toml +++ b/core/tabs/applications-setup/tab_data.toml @@ -191,6 +191,12 @@ description = "Mozilla Firefox is a free and open-source web browser developed b script = "browsers/firefox.sh" task_list = "I" +[[data.entries]] +name = "Zen Browser" +description = "Zen Browser is a privacy-focused web browser designed for enhanced security and a seamless browsing experience." +script = "browsers/zen-browser.sh" +task_list = "I" + [[data.entries]] name = "Thorium" description = "Thorium is a Chromium-based browser focused on privacy and performance." @@ -335,4 +341,4 @@ values = ["wayland", "Wayland"] name = "ZSH Prompt" description = "The Z shell is a Unix shell that can be used as an interactive login shell and as a command interpreter for shell scripting. Zsh is an extended Bourne shell with many improvements, including some features of Bash, ksh, and tcsh. This command installs ZSH prompt and provides basic configuration." script = "zsh-setup.sh" -task_list = "I FM" \ No newline at end of file +task_list = "I FM" diff --git a/docs/userguide.md b/docs/userguide.md index 6b7cd852..8943b8c0 100644 --- a/docs/userguide.md +++ b/docs/userguide.md @@ -25,6 +25,8 @@ This command configures neovim from CTT's neovim configuration. https://github.com/ChrisTitusTech/neovim - **Ngrok**: Ngrok is a tool that creates secure, temporary tunnels to expose local servers to the internet for testing and development. - **Sublime Text**: Sublime Text is a fast, lightweight, and customizable text editor known for its simplicity, powerful features, and wide range of plugins for various programming languages. +- **ZapZap**: ZapZap is an open source whatsapp desktop client for Linux users developed by rafatosta. +- **Zoom**: 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. - **VS Code**: 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. - **VS Codium**: VSCodium is a free, open-source version of Visual Studio Code (VS Code) that removes Microsoft-specific telemetry and branding. @@ -42,12 +44,15 @@ https://github.com/ChrisTitusTech/neovim - **LibreWolf**: LibreWolf is a fork of Firefox, focused on privacy, security, and freedom. - **Lynx**: Lynx is a highly configurable text-based web browser for use on cursor-addressable character cell terminals. - **Mozilla Firefox**: Mozilla Firefox is a free and open-source web browser developed by the Mozilla Foundation. +- **Zen Browser**: Zen Browser is a privacy-focused web browser designed for enhanced security and a seamless browsing experience. - **Thorium**: Thorium is a Chromium-based browser focused on privacy and performance. - **Vivaldi**: Vivaldi is a freeware, cross-platform web browser developed by Vivaldi Technologies. - **Tor Browser**: Tor Browser is a free and open-source firefox-based web browser designed for anonymity and censorship circumvention. - **waterfox**: Waterfox is the privacy-focused web browser engineered to give you speed, control, and peace of mind on the internet. - **Alacritty**: 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. This command installs and configures alacritty terminal emulator. - **Android Debloater**: Universal Android Debloater (UAD) is a tool designed to help users remove bloatware and unnecessary pre-installed applications from Android devices, enhancing performance and user experience. +- **Auto CPU Frequency**: Automatic CPU speed & power optimizer. +https://github.com/AdnanHodzic/auto-cpufreq - **Bash Prompt**: The .bashrc file is a script that runs every time a new terminal session is started in Unix-like operating systems. It is used to configure the shell session, set up aliases, define functions, and more, making the terminal easier to use and more powerful. This command configures the key sections and functionalities defined in the .bashrc file from CTT's mybash repository. https://github.com/ChrisTitusTech/mybash - **Bottles**: Bottles allows Windows software, like applications and games, to run on Linux. Bottles also provides tools to categorize, organize and optimize your applications. - **Docker**: Docker is an open platform that uses OS-level virtualization to deliver software in packages called containers. @@ -140,4 +145,3 @@ https://github.com/ChrisTitusTech/dwm-titus - **Ollama**: This utility is designed to manage ollama in your system - **Service Manager**: This utility is designed to manage services in your system - **WiFi Manager**: This utility is designed to manage wifi in your system - From 17d486818e2cb7589fafaf8f7327cd87b3361a4c Mon Sep 17 00:00:00 2001 From: D7OM <61534551+d7omdev@users.noreply.github.com> Date: Tue, 12 Nov 2024 18:22:19 +0300 Subject: [PATCH 2/3] Update core/tabs/applications-setup/browsers/zen-browser.sh Co-authored-by: Jeevitha Kannan K S --- core/tabs/applications-setup/browsers/zen-browser.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/tabs/applications-setup/browsers/zen-browser.sh b/core/tabs/applications-setup/browsers/zen-browser.sh index 4f66d575..4cd7d932 100755 --- a/core/tabs/applications-setup/browsers/zen-browser.sh +++ b/core/tabs/applications-setup/browsers/zen-browser.sh @@ -3,7 +3,7 @@ . ../../common-script.sh installZenBrowser() { - if ! command_exists zen-browser; then + if ! command_exists io.github.zen_browser.zen && ! command_exists zen-browser; then printf "%b\n" "${YELLOW}Installing Zen Browser...${RC}" case "$PACKAGER" in pacman) From a810a9e238206ec070007e86c5ed696379a4969b Mon Sep 17 00:00:00 2001 From: d7omdev Date: Tue, 12 Nov 2024 18:30:26 +0300 Subject: [PATCH 3/3] Revert changes to docs/userguide.md --- docs/userguide.md | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/docs/userguide.md b/docs/userguide.md index 8943b8c0..6b7cd852 100644 --- a/docs/userguide.md +++ b/docs/userguide.md @@ -25,8 +25,6 @@ This command configures neovim from CTT's neovim configuration. https://github.com/ChrisTitusTech/neovim - **Ngrok**: Ngrok is a tool that creates secure, temporary tunnels to expose local servers to the internet for testing and development. - **Sublime Text**: Sublime Text is a fast, lightweight, and customizable text editor known for its simplicity, powerful features, and wide range of plugins for various programming languages. -- **ZapZap**: ZapZap is an open source whatsapp desktop client for Linux users developed by rafatosta. -- **Zoom**: 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. - **VS Code**: 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. - **VS Codium**: VSCodium is a free, open-source version of Visual Studio Code (VS Code) that removes Microsoft-specific telemetry and branding. @@ -44,15 +42,12 @@ https://github.com/ChrisTitusTech/neovim - **LibreWolf**: LibreWolf is a fork of Firefox, focused on privacy, security, and freedom. - **Lynx**: Lynx is a highly configurable text-based web browser for use on cursor-addressable character cell terminals. - **Mozilla Firefox**: Mozilla Firefox is a free and open-source web browser developed by the Mozilla Foundation. -- **Zen Browser**: Zen Browser is a privacy-focused web browser designed for enhanced security and a seamless browsing experience. - **Thorium**: Thorium is a Chromium-based browser focused on privacy and performance. - **Vivaldi**: Vivaldi is a freeware, cross-platform web browser developed by Vivaldi Technologies. - **Tor Browser**: Tor Browser is a free and open-source firefox-based web browser designed for anonymity and censorship circumvention. - **waterfox**: Waterfox is the privacy-focused web browser engineered to give you speed, control, and peace of mind on the internet. - **Alacritty**: 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. This command installs and configures alacritty terminal emulator. - **Android Debloater**: Universal Android Debloater (UAD) is a tool designed to help users remove bloatware and unnecessary pre-installed applications from Android devices, enhancing performance and user experience. -- **Auto CPU Frequency**: Automatic CPU speed & power optimizer. -https://github.com/AdnanHodzic/auto-cpufreq - **Bash Prompt**: The .bashrc file is a script that runs every time a new terminal session is started in Unix-like operating systems. It is used to configure the shell session, set up aliases, define functions, and more, making the terminal easier to use and more powerful. This command configures the key sections and functionalities defined in the .bashrc file from CTT's mybash repository. https://github.com/ChrisTitusTech/mybash - **Bottles**: Bottles allows Windows software, like applications and games, to run on Linux. Bottles also provides tools to categorize, organize and optimize your applications. - **Docker**: Docker is an open platform that uses OS-level virtualization to deliver software in packages called containers. @@ -145,3 +140,4 @@ https://github.com/ChrisTitusTech/dwm-titus - **Ollama**: This utility is designed to manage ollama in your system - **Service Manager**: This utility is designed to manage services in your system - **WiFi Manager**: This utility is designed to manage wifi in your system +