Bare mode is dead in 2.0
Uninstall whatever you want yourself now that we have multi-tab uninstalls
This commit is contained in:
parent
46f8b522f1
commit
39dccccb1a
@ -9,10 +9,6 @@ gtk-update-icon-cache ~/.local/share/icons/hicolor &>/dev/null
|
|||||||
mkdir -p ~/.local/share/applications
|
mkdir -p ~/.local/share/applications
|
||||||
cp ~/.local/share/omarchy/applications/*.desktop ~/.local/share/applications/
|
cp ~/.local/share/omarchy/applications/*.desktop ~/.local/share/applications/
|
||||||
cp ~/.local/share/omarchy/applications/hidden/*.desktop ~/.local/share/applications/
|
cp ~/.local/share/omarchy/applications/hidden/*.desktop ~/.local/share/applications/
|
||||||
|
|
||||||
# Only copy xtras if user is not in bare mode
|
|
||||||
if [[ ! -f ~/.local/state/omarchy/bare.mode ]] && [ -z "$OMARCHY_BARE" ]; then
|
|
||||||
cp ~/.local/share/omarchy/applications/xtras/*.desktop ~/.local/share/applications/
|
cp ~/.local/share/omarchy/applications/xtras/*.desktop ~/.local/share/applications/
|
||||||
fi
|
|
||||||
|
|
||||||
update-desktop-database ~/.local/share/applications
|
update-desktop-database ~/.local/share/applications
|
||||||
|
@ -1,11 +1,9 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
if omarchy-pkg-aur-accessible; then
|
if omarchy-pkg-aur-accessible; then
|
||||||
if [ -z "$OMARCHY_BARE" ]; then
|
|
||||||
yay -S --noconfirm --needed \
|
yay -S --noconfirm --needed \
|
||||||
1password-beta 1password-cli \
|
1password-beta 1password-cli \
|
||||||
typora ttf-ia-writer
|
typora ttf-ia-writer
|
||||||
fi
|
|
||||||
|
|
||||||
yay -S --noconfirm --needed \
|
yay -S --noconfirm --needed \
|
||||||
tzupdate wl-screenrec \
|
tzupdate wl-screenrec \
|
||||||
|
@ -1,6 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
if [ -z "$OMARCHY_BARE" ]; then
|
|
||||||
omarchy-tui-install "Disk Usage" "bash -c 'dust -r; read -n 1 -s'" float https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/png/qdirstat.png
|
omarchy-tui-install "Disk Usage" "bash -c 'dust -r; read -n 1 -s'" float https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/png/qdirstat.png
|
||||||
omarchy-tui-install "Docker" "lazydocker" tile https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/png/docker.png
|
omarchy-tui-install "Docker" "lazydocker" tile https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/png/docker.png
|
||||||
fi
|
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
if [ -z "$OMARCHY_BARE" ]; then
|
|
||||||
omarchy-webapp-install "HEY" https://app.hey.com https://www.hey.com/assets/images/general/hey.png
|
omarchy-webapp-install "HEY" https://app.hey.com https://www.hey.com/assets/images/general/hey.png
|
||||||
omarchy-webapp-install "Basecamp" https://launchpad.37signals.com https://basecamp.com/assets/images/general/basecamp.png
|
omarchy-webapp-install "Basecamp" https://launchpad.37signals.com https://basecamp.com/assets/images/general/basecamp.png
|
||||||
omarchy-webapp-install "WhatsApp" https://web.whatsapp.com/ https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/png/whatsapp.png
|
omarchy-webapp-install "WhatsApp" https://web.whatsapp.com/ https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/png/whatsapp.png
|
||||||
@ -14,4 +13,3 @@ if [ -z "$OMARCHY_BARE" ]; then
|
|||||||
omarchy-webapp-install "Figma" https://figma.com/ https://www.veryicon.com/download/png/application/app-icon-7/figma-1?s=256
|
omarchy-webapp-install "Figma" https://figma.com/ https://www.veryicon.com/download/png/application/app-icon-7/figma-1?s=256
|
||||||
omarchy-webapp-install "Discord" https://discord.com/channels/@me https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/png/discord.png
|
omarchy-webapp-install "Discord" https://discord.com/channels/@me https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/png/discord.png
|
||||||
omarchy-webapp-install "Zoom" https://app.zoom.us/wc/home https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/png/zoom.png
|
omarchy-webapp-install "Zoom" https://app.zoom.us/wc/home https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/png/zoom.png
|
||||||
fi
|
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
if [ -z "$OMARCHY_BARE" ]; then
|
|
||||||
sudo pacman -S --noconfirm --needed \
|
sudo pacman -S --noconfirm --needed \
|
||||||
gnome-calculator gnome-keyring signal-desktop \
|
gnome-calculator gnome-keyring signal-desktop \
|
||||||
obsidian libreoffice obs-studio kdenlive \
|
obsidian libreoffice obs-studio kdenlive \
|
||||||
@ -11,7 +10,6 @@ if [ -z "$OMARCHY_BARE" ]; then
|
|||||||
sudo pacman -S --noconfirm --needed "$pkg" ||
|
sudo pacman -S --noconfirm --needed "$pkg" ||
|
||||||
echo -e "\e[31mFailed to install $pkg. Continuing without!\e[0m"
|
echo -e "\e[31mFailed to install $pkg. Continuing without!\e[0m"
|
||||||
done
|
done
|
||||||
fi
|
|
||||||
|
|
||||||
# Copy over Omarchy applications
|
# Copy over Omarchy applications
|
||||||
source omarchy-refresh-applications || true
|
source omarchy-refresh-applications || true
|
||||||
|
@ -9,9 +9,3 @@ cp ~/.local/share/omarchy/default/bashrc ~/.bashrc
|
|||||||
|
|
||||||
# Ensure application directory exists for update-desktop-database
|
# Ensure application directory exists for update-desktop-database
|
||||||
mkdir -p ~/.local/share/applications
|
mkdir -p ~/.local/share/applications
|
||||||
|
|
||||||
# If bare install, allow a way for its exclusions to not get added in updates
|
|
||||||
if [ -n "$OMARCHY_BARE" ]; then
|
|
||||||
mkdir -p ~/.local/state/omarchy
|
|
||||||
touch ~/.local/state/omarchy/bare.mode
|
|
||||||
fi
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
# Install asdcontrol for controlling brightness on Apple Displays
|
# Install asdcontrol for controlling brightness on Apple Displays
|
||||||
if [ -z "$OMARCHY_BARE" ] && ! command -v asdcontrol &>/dev/null; then
|
if ! command -v asdcontrol &>/dev/null; then
|
||||||
git clone https://github.com/nikosdion/asdcontrol.git /tmp/asdcontrol
|
git clone https://github.com/nikosdion/asdcontrol.git /tmp/asdcontrol
|
||||||
cd /tmp/asdcontrol
|
cd /tmp/asdcontrol
|
||||||
make
|
make
|
||||||
|
@ -1,11 +1,9 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
sudo pacman -S --noconfirm --needed ttf-font-awesome ttf-cascadia-mono-nerd noto-fonts noto-fonts-emoji
|
sudo pacman -S --noconfirm --needed \
|
||||||
|
ttf-font-awesome ttf-cascadia-mono-nerd ttf-jetbrains-mono \
|
||||||
|
noto-fonts noto-fonts-emoji noto-fonts-cjk noto-fonts-extra
|
||||||
|
|
||||||
mkdir -p ~/.local/share/fonts
|
mkdir -p ~/.local/share/fonts
|
||||||
cp ~/.local/share/omarchy/config/omarchy.ttf ~/.local/share/fonts/
|
cp ~/.local/share/omarchy/config/omarchy.ttf ~/.local/share/fonts/
|
||||||
fc-cache
|
fc-cache
|
||||||
|
|
||||||
if [ -z "$OMARCHY_BARE" ]; then
|
|
||||||
sudo pacman -S --noconfirm --needed ttf-jetbrains-mono noto-fonts-cjk noto-fonts-extra
|
|
||||||
fi
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
echo "Installation ENV:"
|
echo "Installation ENV:"
|
||||||
env | grep -E "^(OMARCHY_CHROOT_INSTALL|OMARCHY_USER_NAME|OMARCHY_USER_EMAIL|USER|HOME|OMARCHY_REPO|OMARCHY_REF|OMARCHY_BARE)="
|
env | grep -E "^(OMARCHY_CHROOT_INSTALL|OMARCHY_USER_NAME|OMARCHY_USER_EMAIL|USER|HOME|OMARCHY_REPO|OMARCHY_REF)="
|
||||||
|
@ -24,11 +24,7 @@ catch_errors() {
|
|||||||
echo " ▀▀▀▀▀▀▀ ▀ ▀ ▀▀▀ ▀ ▀▀▀▀▀▀ "
|
echo " ▀▀▀▀▀▀▀ ▀ ▀ ▀▀▀ ▀ ▀▀▀▀▀▀ "
|
||||||
echo " "
|
echo " "
|
||||||
|
|
||||||
if [[ -n $OMARCHY_BARE ]]; then
|
|
||||||
echo "You can retry by running: OMARCHY_BARE=true bash ~/.local/share/omarchy/install.sh"
|
|
||||||
else
|
|
||||||
echo "You can retry by running: bash ~/.local/share/omarchy/install.sh"
|
echo "You can retry by running: bash ~/.local/share/omarchy/install.sh"
|
||||||
fi
|
|
||||||
}
|
}
|
||||||
|
|
||||||
trap catch_errors ERR
|
trap catch_errors ERR
|
||||||
|
Loading…
x
Reference in New Issue
Block a user