Compare commits

...

6 Commits

Author SHA1 Message Date
David Heinemeier Hansson
968078c6e0 Merge branch 'dev' into pinned-packages 2025-08-27 12:03:16 +02:00
David Heinemeier Hansson
9a5f3f9cee Add system to pin and ignore bad packages
To deal with the abseil-cpp issue
2025-08-27 12:02:34 +02:00
David Heinemeier Hansson
a7df6c0941 Move updatedb into its own config file with better explanation 2025-08-27 10:53:47 +02:00
David Heinemeier Hansson
2d12085eb1 Merge pull request #1119 from tahayvr/fastfetch-config
Update Fastfetch config
2025-08-26 15:51:54 +02:00
Taha
9a2cdc2bc4 Update fastfetch info 2025-08-26 06:28:25 -07:00
David Heinemeier Hansson
66818266ff Force font size 9 for the about screen
We had this but lost it
2025-08-26 12:46:19 +02:00
12 changed files with 66 additions and 51 deletions

View File

@@ -381,7 +381,7 @@ go_to_menu() {
*remove*) show_remove_menu ;; *remove*) show_remove_menu ;;
*update*) show_update_menu ;; *update*) show_update_menu ;;
*system*) show_system_menu ;; *system*) show_system_menu ;;
*about*) terminal bash -c 'fastfetch; read -n 1 -s' ;; *about*) alacritty --class Omarchy -o font.size=9 -e bash -c 'fastfetch; read -n 1 -s' ;;
esac esac
} }

7
bin/omarchy-pkg-ignored Executable file
View File

@@ -0,0 +1,7 @@
#!/bin/bash
IGNORED_PACKAGES_FILE="$OMARCHY_PATH/install/packages.ignored"
if [[ -f $IGNORED_PACKAGES_FILE ]]; then
tr '\r\n' ',' <"$IGNORED_PACKAGES_FILE" | sed 's/,$//'
fi

7
bin/omarchy-pkg-pinned Executable file
View File

@@ -0,0 +1,7 @@
#!/bin/bash
PINNED_PACKAGES_FILE=$OMARCHY_PATH/install/packages.pinned
if [[ -f $PINNED_PACKAGES_FILE ]]; then
tr '\r\n' ',' <"$PINNED_PACKAGES_FILE" | sed 's/,$//'
fi

View File

@@ -1,8 +1,8 @@
#!/bin/bash #!/bin/bash
echo -e "\e[32m\nUpdate system packages\e[0m" echo -e "\e[32m\nUpdate system packages\e[0m"
sudo pacman -Syu --noconfirm echo "sudo pacman -Syu --noconfirm --ignore \"$(omarchy-pkg-ignored)\""
echo sudo pacman -Syu --noconfirm --ignore "$(omarchy-pkg-ignored)"
if omarchy-pkg-aur-accessible; then if omarchy-pkg-aur-accessible; then
echo -e "\e[32m\nUpdate AUR packages\e[0m" echo -e "\e[32m\nUpdate AUR packages\e[0m"

View File

@@ -63,41 +63,14 @@
"format": "\u001b[90m┌──────────────────────Software──────────────────────┐" "format": "\u001b[90m┌──────────────────────Software──────────────────────┐"
}, },
{ {
"type": "os", "type": "command",
"key": "󰣇 OS", "key": "\ue900 OS",
"keyColor": "yellow" "keyColor": "blue",
"text": "version=$(git -C ~/.local/share/omarchy describe --tags --abbrev=0 2>/dev/null); echo \"Omarchy $version\""
}, },
{ {
"type": "kernel", "type": "kernel",
"key": "│ ├", "key": "│ ├",
"keyColor": "yellow"
},
{
"type": "packages",
"key": "│ ├󰏖",
"keyColor": "yellow"
},
{
"type": "shell",
"key": "└ └",
"keyColor": "yellow"
},
"break",
{
"type": "command",
"key": "Ø Omarchy",
"keyColor": "blue",
"text": "version=$(git -C ~/.local/share/omarchy describe --tags --abbrev=0 2>/dev/null); echo \"$version\""
},
{
"type": "command",
"key": "│ ├󰸌",
"keyColor": "blue",
"text": "theme=$(omarchy-theme-current); echo -e \"$theme \\e[38m●\\e[37m●\\e[36m●\\e[35m●\\e[34m●\\e[33m●\\e[32m●\\e[31m●\""
},
{
"type": "de",
"key": " DE",
"keyColor": "blue" "keyColor": "blue"
}, },
{ {
@@ -105,29 +78,35 @@
"key": "│ ├", "key": "│ ├",
"keyColor": "blue" "keyColor": "blue"
}, },
{
"type": "de",
"key": " DE",
"keyColor": "blue"
},
{
"type": "terminal",
"key": "│ ├",
"keyColor": "blue"
},
{
"type": "packages",
"key": "│ ├󰏖",
"keyColor": "blue"
},
{ {
"type": "wmtheme", "type": "wmtheme",
"key": "│ ├󰉼", "key": "│ ├󰉼",
"keyColor": "blue" "keyColor": "blue"
}, },
{ {
"type": "icons", "type": "command",
"key": "│ ├󰀻", "key": "│ ├󰸌",
"keyColor": "blue" "keyColor": "blue",
}, "text": "theme=$(omarchy-theme-current); echo -e \"$theme \\e[38m●\\e[37m●\\e[36m●\\e[35m●\\e[34m●\\e[33m●\\e[32m●\\e[31m●\""
{
"type": "cursor",
"key": "│ ├",
"keyColor": "blue"
}, },
{ {
"type": "terminalfont", "type": "terminalfont",
"key": "│ ├", "key": "└ └",
"keyColor": "blue"
},
{
"type": "terminal",
"key": "└ └",
"keyColor": "blue" "keyColor": "blue"
}, },
{ {

View File

@@ -22,6 +22,7 @@ source $OMARCHY_INSTALL/packaging/fonts.sh
source $OMARCHY_INSTALL/packaging/lazyvim.sh source $OMARCHY_INSTALL/packaging/lazyvim.sh
source $OMARCHY_INSTALL/packaging/webapps.sh source $OMARCHY_INSTALL/packaging/webapps.sh
source $OMARCHY_INSTALL/packaging/tuis.sh source $OMARCHY_INSTALL/packaging/tuis.sh
source $OMARCHY_INSTALL/packaging/pins.sh
# Configuration # Configuration
source $OMARCHY_INSTALL/config/config.sh source $OMARCHY_INSTALL/config/config.sh
@@ -38,6 +39,7 @@ source $OMARCHY_INSTALL/config/xcompose.sh
source $OMARCHY_INSTALL/config/mise-ruby.sh source $OMARCHY_INSTALL/config/mise-ruby.sh
source $OMARCHY_INSTALL/config/docker.sh source $OMARCHY_INSTALL/config/docker.sh
source $OMARCHY_INSTALL/config/mimetypes.sh source $OMARCHY_INSTALL/config/mimetypes.sh
source $OMARCHY_INSTALL/config/localdb.sh
source $OMARCHY_INSTALL/config/hardware/network.sh source $OMARCHY_INSTALL/config/hardware/network.sh
source $OMARCHY_INSTALL/config/hardware/fix-fkeys.sh source $OMARCHY_INSTALL/config/hardware/fix-fkeys.sh
source $OMARCHY_INSTALL/config/hardware/bluetooth.sh source $OMARCHY_INSTALL/config/hardware/bluetooth.sh
@@ -51,9 +53,6 @@ source $OMARCHY_INSTALL/login/plymouth.sh
source $OMARCHY_INSTALL/login/limine-snapper.sh source $OMARCHY_INSTALL/login/limine-snapper.sh
source $OMARCHY_INSTALL/login/alt-bootloaders.sh source $OMARCHY_INSTALL/login/alt-bootloaders.sh
# Updates
sudo updatedb
# Reboot # Reboot
clear clear
tte -i ~/.local/share/omarchy/logo.txt --frame-rate 920 laseretch tte -i ~/.local/share/omarchy/logo.txt --frame-rate 920 laseretch

View File

@@ -0,0 +1,2 @@
# Update localdb so that locate will find everything installed
sudo updatedb

1
install/packages.ignored Normal file
View File

@@ -0,0 +1 @@
abseil-cpp

1
install/packages.pinned Normal file
View File

@@ -0,0 +1 @@
https://pkgs.omarchy.org/x86_64/abseil-cpp-20250512.1-1-x86_64.pkg.tar.zst

13
install/packaging/pins.sh Normal file
View File

@@ -0,0 +1,13 @@
#!/bin/bash
# We pin explicit packages that are bad upstream here
pinned_packages=$(omarchy-pkg-pinned)
if [[ -n $pinned_packages ]]; then
echo -e "\e[32m\nInstall pinned system packages\e[0m"
for pinned in $pinned_packages; do
echo "sudo pacman -U --noconfirm $pinned"
sudo pacman -U --noconfirm $pinned
done
fi

3
migrations/1756208867.sh Normal file
View File

@@ -0,0 +1,3 @@
echo "Update fastfetch config"
omarchy-refresh-config fastfetch/config.jsonc

3
migrations/1756284863.sh Normal file
View File

@@ -0,0 +1,3 @@
echo "Pin abseil-cpp as the latest package is broken"
sudo pacman -U --noconfirm https://archive.archlinux.org/packages/u/uwsm/uwsm-0.23.0-1-any.pkg.tar.zst