mirror of
https://github.com/basecamp/omarchy.git
synced 2026-02-17 15:25:37 +00:00
Compare commits
6 Commits
ff234bba1f
...
pinned-pac
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
968078c6e0 | ||
|
|
9a5f3f9cee | ||
|
|
a7df6c0941 | ||
|
|
2d12085eb1 | ||
|
|
9a2cdc2bc4 | ||
|
|
66818266ff |
@@ -381,7 +381,7 @@ go_to_menu() {
|
||||
*remove*) show_remove_menu ;;
|
||||
*update*) show_update_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
|
||||
}
|
||||
|
||||
|
||||
7
bin/omarchy-pkg-ignored
Executable file
7
bin/omarchy-pkg-ignored
Executable 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
7
bin/omarchy-pkg-pinned
Executable 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
|
||||
@@ -1,8 +1,8 @@
|
||||
#!/bin/bash
|
||||
|
||||
echo -e "\e[32m\nUpdate system packages\e[0m"
|
||||
sudo pacman -Syu --noconfirm
|
||||
echo
|
||||
echo "sudo pacman -Syu --noconfirm --ignore \"$(omarchy-pkg-ignored)\""
|
||||
sudo pacman -Syu --noconfirm --ignore "$(omarchy-pkg-ignored)"
|
||||
|
||||
if omarchy-pkg-aur-accessible; then
|
||||
echo -e "\e[32m\nUpdate AUR packages\e[0m"
|
||||
|
||||
@@ -63,41 +63,14 @@
|
||||
"format": "\u001b[90m┌──────────────────────Software──────────────────────┐"
|
||||
},
|
||||
{
|
||||
"type": "os",
|
||||
"key": " OS",
|
||||
"keyColor": "yellow"
|
||||
"type": "command",
|
||||
"key": "\ue900 OS",
|
||||
"keyColor": "blue",
|
||||
"text": "version=$(git -C ~/.local/share/omarchy describe --tags --abbrev=0 2>/dev/null); echo \"Omarchy $version\""
|
||||
},
|
||||
{
|
||||
"type": "kernel",
|
||||
"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"
|
||||
},
|
||||
{
|
||||
@@ -105,29 +78,35 @@
|
||||
"key": "│ ├",
|
||||
"keyColor": "blue"
|
||||
},
|
||||
{
|
||||
"type": "de",
|
||||
"key": " DE",
|
||||
"keyColor": "blue"
|
||||
},
|
||||
{
|
||||
"type": "terminal",
|
||||
"key": "│ ├",
|
||||
"keyColor": "blue"
|
||||
},
|
||||
{
|
||||
"type": "packages",
|
||||
"key": "│ ├",
|
||||
"keyColor": "blue"
|
||||
},
|
||||
{
|
||||
"type": "wmtheme",
|
||||
"key": "│ ├",
|
||||
"keyColor": "blue"
|
||||
},
|
||||
{
|
||||
"type": "icons",
|
||||
"key": "│ ├",
|
||||
"keyColor": "blue"
|
||||
},
|
||||
{
|
||||
"type": "cursor",
|
||||
"key": "│ ├",
|
||||
"keyColor": "blue"
|
||||
"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": "terminalfont",
|
||||
"key": "│ ├",
|
||||
"keyColor": "blue"
|
||||
},
|
||||
{
|
||||
"type": "terminal",
|
||||
"key": "└ └",
|
||||
"key": "└ └",
|
||||
"keyColor": "blue"
|
||||
},
|
||||
{
|
||||
|
||||
@@ -22,6 +22,7 @@ source $OMARCHY_INSTALL/packaging/fonts.sh
|
||||
source $OMARCHY_INSTALL/packaging/lazyvim.sh
|
||||
source $OMARCHY_INSTALL/packaging/webapps.sh
|
||||
source $OMARCHY_INSTALL/packaging/tuis.sh
|
||||
source $OMARCHY_INSTALL/packaging/pins.sh
|
||||
|
||||
# Configuration
|
||||
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/docker.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/fix-fkeys.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/alt-bootloaders.sh
|
||||
|
||||
# Updates
|
||||
sudo updatedb
|
||||
|
||||
# Reboot
|
||||
clear
|
||||
tte -i ~/.local/share/omarchy/logo.txt --frame-rate 920 laseretch
|
||||
|
||||
2
install/config/localdb.sh
Normal file
2
install/config/localdb.sh
Normal file
@@ -0,0 +1,2 @@
|
||||
# Update localdb so that locate will find everything installed
|
||||
sudo updatedb
|
||||
1
install/packages.ignored
Normal file
1
install/packages.ignored
Normal file
@@ -0,0 +1 @@
|
||||
abseil-cpp
|
||||
1
install/packages.pinned
Normal file
1
install/packages.pinned
Normal 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
13
install/packaging/pins.sh
Normal 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
3
migrations/1756208867.sh
Normal file
@@ -0,0 +1,3 @@
|
||||
echo "Update fastfetch config"
|
||||
|
||||
omarchy-refresh-config fastfetch/config.jsonc
|
||||
3
migrations/1756284863.sh
Normal file
3
migrations/1756284863.sh
Normal 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
|
||||
Reference in New Issue
Block a user