Compare commits

...

5 Commits

Author SHA1 Message Date
D7OM
c6648f9f93
Merge aa11f2756d into 2dabb934f7 2024-11-14 20:07:19 -05:00
d7omdev
aa11f2756d Merge branch 'main' of https://github.com/d7omdev/linutil 2024-11-12 18:31:35 +03:00
d7omdev
a810a9e238 Revert changes to docs/userguide.md 2024-11-12 18:30:26 +03:00
D7OM
17d486818e
Update core/tabs/applications-setup/browsers/zen-browser.sh
Co-authored-by: Jeevitha Kannan K S <ksjeevithakannan123@gmail.com>
2024-11-12 18:22:19 +03:00
d7omdev
462917c5ea Zen Browser installation
- Added Zen Browser to Web Browsers tab.
2024-11-12 15:13:32 +03:00
2 changed files with 36 additions and 1 deletions

View File

@ -0,0 +1,29 @@
#!/bin/sh -e
. ../../common-script.sh
installZenBrowser() {
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)
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

View File

@ -191,6 +191,12 @@ description = "Mozilla Firefox is a free and open-source web browser developed b
script = "browsers/firefox.sh" script = "browsers/firefox.sh"
task_list = "I" 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]] [[data.entries]]
name = "Thorium" name = "Thorium"
description = "Thorium is a Chromium-based browser focused on privacy and performance." description = "Thorium is a Chromium-based browser focused on privacy and performance."
@ -335,4 +341,4 @@ values = ["wayland", "Wayland"]
name = "ZSH Prompt" 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." 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" script = "zsh-setup.sh"
task_list = "I FM" task_list = "I FM"