This commit is contained in:
Ryan Hughes committed 2026-05-08 01:04:51 -04:00
1 parent 6928ced994
commit dc0b77ddc9
58 files changed
+174

No files matched your search

-44
View File
@@ -1,44 +0,0 @@
# Maintainer: Ryan Hughes <ryan@omarchy.org>
pkgname=omarchy-fish
pkgver=1.5.0
pkgrel=1
pkgdesc="Omarchy shell configuration for Fish"
arch=('any')
url="https://github.com/omacom-io/omarchy-fish"
license=('MIT')
depends=('fish' 'eza' 'mise' 'zoxide' 'starship' 'fzf' 'fd' 'bat')
options=('!debug')
install=omarchy-fish.install
source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/refs/tags/v${pkgver}.tar.gz"
"fzf.fish-v10.3.tar.gz::https://github.com/PatrickF1/fzf.fish/archive/refs/tags/v10.3.tar.gz")
sha256sums=('ccff0564efa04ee30815c2f593af5be1fb89858c7f49443700f4a0b568f51912'
'a0d56e974b8d5144c3262dcf87630c8886407d28a2f9e626e46bc18199fe6f97')
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
# Install fzf.fish to vendor directories
install -dm755 "${pkgdir}/usr/share/fish/vendor_conf.d"
install -dm755 "${pkgdir}/usr/share/fish/vendor_functions.d"
install -dm755 "${pkgdir}/usr/share/fish/vendor_completions.d"
cp "${srcdir}/fzf.fish-10.3/conf.d/"*.fish "${pkgdir}/usr/share/fish/vendor_conf.d/"
cp "${srcdir}/fzf.fish-10.3/functions/"*.fish "${pkgdir}/usr/share/fish/vendor_functions.d/"
cp "${srcdir}/fzf.fish-10.3/completions/"*.fish "${pkgdir}/usr/share/fish/vendor_completions.d/"
# Install omarchy-fish conf.d, functions, and completions.
# dotglob so leading-dot function names like ....fish are not skipped.
shopt -s dotglob
cp conf.d/*.fish "${pkgdir}/usr/share/fish/vendor_conf.d/"
cp functions/*.fish "${pkgdir}/usr/share/fish/vendor_functions.d/"
cp completions/*.fish "${pkgdir}/usr/share/fish/vendor_completions.d/"
shopt -u dotglob
# Install templates and documentation
install -dm755 "${pkgdir}/usr/share/${pkgname}"
cp -r templates LICENSE README.md "${pkgdir}/usr/share/${pkgname}/"
cp "${srcdir}/fzf.fish-10.3/LICENSE.md" "${pkgdir}/usr/share/${pkgname}/LICENSE.fzf.fish"
cp "${srcdir}/fzf.fish-10.3/README.md" "${pkgdir}/usr/share/${pkgname}/README.fzf.fish.md"
# Install setup script
install -Dm755 bin/omarchy-setup-fish "${pkgdir}/usr/bin/omarchy-setup-fish"
}
@@ -1,14 +0,0 @@
post_install() {
echo "==> omarchy-fish installed successfully!"
echo ""
echo "==> To run fish from bash:"
echo " fish"
echo ""
echo "==> To set as default shell:"
echo " omarchy-setup-fish"
}
post_remove() {
echo "==> omarchy-fish has been removed"
echo "==> To restore bash, copy a backup to ~/.bashrc"
}
-18
View File
@@ -1,18 +0,0 @@
pkgbase = omarchy-keyring
pkgdesc = Omarchy keyring
pkgver = 20251026
pkgrel = 1
url = https://omarchy.org
install = omarchy-keyring.install
arch = any
license = GPL-3.0-or-later
source = omarchy.gpg
source = omarchy-revoked
source = omarchy-trusted
source = omarchy-keyring.install
sha512sums = f9455c60f30984d73ddebecf55a1b6dcb3afba84638c5d78130494bb828f53cfa19d393c27e43514d5847b37dcd0a5601ba39b213c2185ff153001b7221c9c8c
sha512sums = be688838ca8686e5c90689bf2ab585cef1137c999b48c70b92f67a5c34dc15697b5d11c982ed6d71be1e1e7f7b4e0733884aa97c3f7a339a8ed03577cf74be09
sha512sums = 39767d13b783903d97f68e23100982c645356c7f7dbd9625ae41f4fa217c937f09e0f5dd8e0741f0950f2d9418a160dbce7563e1f4a4599d545e38f986fd8fb9
sha512sums = b684c496b6866dfea05595965727709ef63b9abe6a89276b89f0dba0271112a0184a934884a6d53d1c5f4d6a01ac36c6d296ce475f5c7d10a11ee397e2926194
pkgname = omarchy-keyring
-23
View File
@@ -1,23 +0,0 @@
# Maintainer: Omarchy <pkgs@omarchy.org>
pkgname=omarchy-keyring
pkgver=20251027
pkgrel=1
pkgdesc="Omarchy keyring"
arch=(any)
url="https://omarchy.org"
license=('GPL-3.0-or-later')
install=$pkgname.install
source=("omarchy.gpg"
"omarchy-revoked"
"omarchy-trusted"
"$install")
sha512sums=('f9455c60f30984d73ddebecf55a1b6dcb3afba84638c5d78130494bb828f53cfa19d393c27e43514d5847b37dcd0a5601ba39b213c2185ff153001b7221c9c8c'
'cf83e1357eefb8bdf1542850d66d8007d620e4050b5715dc83f4a921d36ce9ce47d0d13c5d85f2b0ff8318d2877eec2f63b931bd47417a81a538327af927da3e'
'39767d13b783903d97f68e23100982c645356c7f7dbd9625ae41f4fa217c937f09e0f5dd8e0741f0950f2d9418a160dbce7563e1f4a4599d545e38f986fd8fb9'
'b684c496b6866dfea05595965727709ef63b9abe6a89276b89f0dba0271112a0184a934884a6d53d1c5f4d6a01ac36c6d296ce475f5c7d10a11ee397e2926194')
package() {
install -D -m0644 -t "${pkgdir}"/usr/share/pacman/keyrings/ 'omarchy'{.gpg,-trusted,-revoked}
}
@@ -1,14 +0,0 @@
post_upgrade() {
if usr/bin/pacman-key -l >/dev/null 2>&1; then
usr/bin/pacman-key --populate omarchy
else
echo " >>> Run \`pacman-key --init\` to set up your pacman keyring."
echo " >>> Then run \`pacman-key --populate omarchy\` to install the Omarchy keyring."
fi
}
post_install() {
if [ -x usr/bin/pacman-key ]; then
post_upgrade
fi
}
Whitespace-only changes.
@@ -1 +0,0 @@
40DFB630FF42BCFFB047046CF0134EE680CAC571:4:
@@ -1,13 +0,0 @@
-----BEGIN PGP PUBLIC KEY BLOCK-----
mDMEaLAsIhYJKwYBBAHaRw8BAQdAYmKmrWMlfpdIPh3QzvEMzzxdNd/kqDl/Bj8H
mCavKji0Gk9tYXJjaHkgPHBrZ3NAb21hcmNoeS5vcmc+iJAEExYKADgWIQRA37Yw
/0K8/7BHBGzwE07mgMrFcQUCaLAsIgIbAwULCQgHAgYVCgkICwIEFgIDAQIeAQIX
gAAKCRDwE07mgMrFcRF2AQCjjvjgju/kowkN69nenqqRnE+v2MrHmWh2wU0ugIt9
3gD/bXGugWc5J1vqoT+5aCnJAtfRRmHEfsrAiFgjduB+VA24OARosCwiEgorBgEE
AZdVAQUBAQdAJoU73WdgxE/pEYK5ofyRvQDs1IFRdfJHV9j4Jm+tuDUDAQgHiHgE
GBYKACAWIQRA37Yw/0K8/7BHBGzwE07mgMrFcQUCaLAsIgIbDAAKCRDwE07mgMrF
cYXsAQC5eBEGK0xKsGwtnDDVeNAapx32dpvLgJ94W4DtIpdLlwEA85cSsTiBMuGy
6kwYmHzqw7oFx3VYGXdMNl0SMKzvJA4=
=G7wU
-----END PGP PUBLIC KEY BLOCK-----
-15
View File
@@ -1,15 +0,0 @@
# Arch package build files
*.pkg.tar.zst
*.pkg.tar.xz
*.pkg.tar.gz
*.tar.gz
*.tar.xz
# Build directories
src/
pkg/
starter/
# Makepkg files
*.log
*.sig
-63
View File
@@ -1,63 +0,0 @@
# Maintainer: Ryan Hughes <ryan@omarchy.org>
pkgname=omarchy-nvim
pkgver=2026.4.23
pkgrel=1
pkgdesc="Pre-built LazyVim configuration with cached plugins"
arch=('any')
url="https://github.com/LazyVim/LazyVim"
license=('MIT')
depends=('neovim>=0.9.0' 'git')
makedepends=('git' 'nodejs' 'npm' 'tree-sitter-cli')
conflicts=('omarchy-lazyvim')
options=('!debug')
source=("https://github.com/LazyVim/starter/archive/refs/heads/main.tar.gz")
sha256sums=('d865d50211358358d3c3c1e356773c1e3de1e8964215d85eb1b4c77521e17488')
build() {
cd "$srcdir"
# Create isolated environment for building
export HOME="$srcdir/build-home"
export XDG_CONFIG_HOME="$HOME/.config"
export XDG_DATA_HOME="$HOME/.local/share"
export XDG_STATE_HOME="$HOME/.local/state"
export XDG_CACHE_HOME="$HOME/.cache"
mkdir -p "$XDG_CONFIG_HOME" "$XDG_DATA_HOME" "$XDG_STATE_HOME" "$XDG_CACHE_HOME"
# Setup LazyVim starter
cp -r "$srcdir/starter-main" "$XDG_CONFIG_HOME/nvim"
rm -rf "$XDG_CONFIG_HOME/nvim/.git"
# Copy our custom configs
cp -r "$startdir/lua" "$XDG_CONFIG_HOME/nvim/"
cp -r "$startdir/plugin" "$XDG_CONFIG_HOME/nvim/"
cp "$startdir/lazyvim.json" "$XDG_CONFIG_HOME/nvim/"
echo "vim.opt.relativenumber = false" >>"$XDG_CONFIG_HOME/nvim/lua/config/options.lua"
echo "Installing LazyVim plugins..."
nvim --headless \
"+Lazy! sync" \
"+qa!" || true
}
package() {
cd "$srcdir"
install -dm755 "$pkgdir/usr/share/$pkgname"
cp -a "$XDG_CONFIG_HOME/nvim" "$pkgdir/usr/share/$pkgname/config"
cp -a "$XDG_DATA_HOME/nvim" "$pkgdir/usr/share/$pkgname/data"
# Remove everything from site/ directory but keep the directory to prevent error
rm -rf "$pkgdir/usr/share/$pkgname/data/site"/*
mkdir -p "$pkgdir/usr/share/$pkgname/data/site"
# Fix permissions to be readable by all users
chmod -R 755 "$pkgdir/usr/share/$pkgname"
find "$pkgdir/usr/share/$pkgname" -type f -exec chmod 644 {} \;
# Install setup script to /usr/bin
install -Dm755 "$startdir/omarchy-nvim-setup" "$pkgdir/usr/bin/omarchy-nvim-setup"
}
-10
View File
@@ -1,10 +0,0 @@
{
"extras": [
"lazyvim.plugins.extras.editor.neo-tree"
],
"install_version": 8,
"news": {
"NEWS.md": "10960"
},
"version": 8
}
@@ -1,101 +0,0 @@
return {
-- Load all theme plugins but don't apply them
-- This ensures all colorschemes are available for hot-reloading
{
"ribru17/bamboo.nvim",
lazy = true,
priority = 1000,
},
{
"bjarneo/aether.nvim",
lazy = true,
priority = 1000,
},
{
"bjarneo/ethereal.nvim",
lazy = true,
priority = 1000,
},
{
"bjarneo/hackerman.nvim",
lazy = true,
priority = 1000,
},
{
"bjarneo/vantablack.nvim",
lazy = true,
priority = 1000,
},
{
"bjarneo/white.nvim",
lazy = true,
priority = 1000,
},
{
"catppuccin/nvim",
name = "catppuccin",
lazy = true,
priority = 1000,
},
{
"sainnhe/everforest",
lazy = true,
priority = 1000,
},
{
"kepano/flexoki-neovim",
lazy = true,
priority = 1000,
},
{
"ellisonleao/gruvbox.nvim",
lazy = true,
priority = 1000,
},
{
"rebelot/kanagawa.nvim",
lazy = true,
priority = 1000,
},
{
"tahayvr/matteblack.nvim",
lazy = true,
priority = 1000,
},
{
"loctvl842/monokai-pro.nvim",
lazy = true,
priority = 1000,
},
{
"shaunsingh/nord.nvim",
lazy = true,
priority = 1000,
},
{
"rose-pine/neovim",
name = "rose-pine",
lazy = true,
priority = 1000,
},
{
"folke/tokyonight.nvim",
lazy = true,
priority = 1000,
},
{
"OldJobobo/miasma.nvim",
lazy = true,
priority = 1000,
},
{
"OldJobobo/retro-82.nvim",
lazy = true,
priority = 1000,
},
{
"omacom-io/lumon.nvim",
lazy = true,
priority = 1000,
},
}
@@ -1,9 +0,0 @@
return {
"LazyVim/LazyVim",
opts = {
news = {
lazyvim = false,
neovim = false,
},
},
}
@@ -1,91 +0,0 @@
return {
{
name = "theme-hotreload",
dir = vim.fn.stdpath("config"),
lazy = false,
priority = 1000,
config = function()
local transparency_file = vim.fn.stdpath("config") .. "/plugin/after/transparency.lua"
vim.api.nvim_create_autocmd("User", {
pattern = "LazyReload",
callback = function()
-- Unload the theme module
package.loaded["plugins.theme"] = nil
vim.schedule(function()
local ok, theme_spec = pcall(require, "plugins.theme")
if not ok then
return
end
-- Find the theme plugin and unload it
local theme_plugin_name = nil
for _, spec in ipairs(theme_spec) do
if spec[1] and spec[1] ~= "LazyVim/LazyVim" then
theme_plugin_name = spec.name or spec[1]
break
end
end
-- Clear all highlight groups before applying new theme
vim.cmd("highlight clear")
if vim.fn.exists("syntax_on") then
vim.cmd("syntax reset")
end
-- Reset background to default so colorscheme can set it properly (light themes will set to light)
vim.o.background = "dark"
-- Unload theme plugin modules to force full reload
if theme_plugin_name then
local plugin = require("lazy.core.config").plugins[theme_plugin_name]
if plugin then
-- Unload all lua modules from the plugin directory
local plugin_dir = plugin.dir .. "/lua"
require("lazy.core.util").walkmods(plugin_dir, function(modname)
package.loaded[modname] = nil
package.preload[modname] = nil
end)
end
end
-- Find and apply the new colorscheme
for _, spec in ipairs(theme_spec) do
if spec[1] == "LazyVim/LazyVim" and spec.opts and spec.opts.colorscheme then
local colorscheme = spec.opts.colorscheme
-- Load the colorscheme plugin
require("lazy.core.loader").colorscheme(colorscheme)
vim.defer_fn(function()
-- Apply the colorscheme (it will set background itself)
pcall(vim.cmd.colorscheme, colorscheme)
-- Force redraw to update all UI elements
vim.cmd("redraw!")
-- Reload transparency settings
if vim.fn.filereadable(transparency_file) == 1 then
vim.defer_fn(function()
vim.cmd.source(transparency_file)
-- Trigger UI updates for various plugins
vim.api.nvim_exec_autocmds("ColorScheme", { modeline = false })
vim.api.nvim_exec_autocmds("VimEnter", { modeline = false })
-- Final redraw
vim.cmd("redraw!")
end, 5)
end
end, 5)
break
end
end
end)
end,
})
end,
},
}
@@ -1,8 +0,0 @@
return {
"folke/snacks.nvim",
opts = {
scroll = {
enabled = false, -- Disable scrolling animations
},
},
}
@@ -1,78 +0,0 @@
#!/bin/bash
# Setup script for omarchy-nvim
# This can be called from Omarchy setup scripts
set -euo pipefail
PACKAGE_DIR="/usr/share/omarchy-nvim"
CONFIG_DIR="${HOME}/.config/nvim"
DATA_DIR="${HOME}/.local/share/nvim"
STATE_DIR="${HOME}/.local/state/nvim"
CACHE_DIR="${HOME}/.cache/nvim"
# Check if package is installed
if [[ ! -d "$PACKAGE_DIR" ]]; then
echo "Error: omarchy-nvim package not installed"
exit 1
fi
# Check if nvim config already exists
if [[ -d "$CONFIG_DIR" ]]; then
if gum confirm "$(echo -e "Neovim configuration already exists at $CONFIG_DIR.\nThis will create a backup and overwrite it. Continue?")"; then
# Backup existing config
BACKUP_DIR="${CONFIG_DIR}.backup.$(date +%Y%m%d-%H%M%S)"
echo "Backing up existing config to $BACKUP_DIR"
mv "$CONFIG_DIR" "$BACKUP_DIR"
else
echo "Setup cancelled."
exit 0
fi
fi
echo "Setting up Neovim configuration..."
# Make sure everything is clear
rm -rf $DATA_DIR $CACHE_DIR $STATE_DIR
# Create directories if needed
mkdir -p "$(dirname "$CONFIG_DIR")"
mkdir -p "$(dirname "$DATA_DIR")"
# Copy files (cache will be regenerated on first use)
cp -r "$PACKAGE_DIR/config" "$CONFIG_DIR"
cp -r "$PACKAGE_DIR/data" "$DATA_DIR"
# Ensure proper ownership of all nvim directories
chown -R "${USER}:${USER}" "$CONFIG_DIR"
chown -R "${USER}:${USER}" "$DATA_DIR"
# Create link for current theme
ln -snf "${HOME}/.config/omarchy/current/theme/neovim.lua" "${CONFIG_DIR}/lua/plugins/theme.lua"
# Restore git working trees
for dir in $DATA_DIR/lazy/*/; do
if [ -d "$dir/.git" ]; then
git --git-dir="$dir/.git" --work-tree="$dir" restore .
fi
done
# Set nvim.desktop as default so it takes priority in Nautilus
xdg-mime default nvim.desktop text/plain
xdg-mime default nvim.desktop text/english
xdg-mime default nvim.desktop text/x-makefile
xdg-mime default nvim.desktop text/x-c++hdr
xdg-mime default nvim.desktop text/x-c++src
xdg-mime default nvim.desktop text/x-chdr
xdg-mime default nvim.desktop text/x-csrc
xdg-mime default nvim.desktop text/x-java
xdg-mime default nvim.desktop text/x-moc
xdg-mime default nvim.desktop text/x-pascal
xdg-mime default nvim.desktop text/x-tcl
xdg-mime default nvim.desktop text/x-tex
xdg-mime default nvim.desktop application/x-shellscript
xdg-mime default nvim.desktop text/x-c
xdg-mime default nvim.desktop text/x-c++
xdg-mime default nvim.desktop application/xml
xdg-mime default nvim.desktop text/xml
echo "Neovim setup complete!"
@@ -1,59 +0,0 @@
-- Make highlight groups transparent while preserving their other attributes
local function make_transparent(name)
local ok, hl = pcall(vim.api.nvim_get_hl, 0, { name = name, link = false })
if ok then
hl.bg = nil
vim.api.nvim_set_hl(0, name, hl)
end
end
local groups = {
-- transparent background
"Normal",
"NormalFloat",
"FloatBorder",
"Pmenu",
"Terminal",
"EndOfBuffer",
"FoldColumn",
"Folded",
"SignColumn",
"LineNr",
"CursorLineNr",
"NormalNC",
"WhichKeyFloat",
"TelescopeBorder",
"TelescopeNormal",
"TelescopePromptBorder",
"TelescopePromptTitle",
-- neotree
"NeoTreeNormal",
"NeoTreeNormalNC",
"NeoTreeVertSplit",
"NeoTreeWinSeparator",
"NeoTreeEndOfBuffer",
-- nvim-tree
"NvimTreeNormal",
"NvimTreeVertSplit",
"NvimTreeEndOfBuffer",
-- notify
"NotifyINFOBody",
"NotifyERRORBody",
"NotifyWARNBody",
"NotifyTRACEBody",
"NotifyDEBUGBody",
"NotifyINFOTitle",
"NotifyERRORTitle",
"NotifyWARNTitle",
"NotifyTRACETitle",
"NotifyDEBUGTitle",
"NotifyINFOBorder",
"NotifyERRORBorder",
"NotifyWARNBorder",
"NotifyTRACEBorder",
"NotifyDEBUGBorder",
}
for _, name in ipairs(groups) do
make_transparent(name)
end
-42
View File
@@ -1,42 +0,0 @@
# Maintainer: Ryan Hughes <ryan@omarchy.org>
pkgname=omarchy-zsh
pkgver=1.4.0
pkgrel=1
pkgdesc="Omarchy shell configuration for Zsh"
arch=('any')
url="https://github.com/omacom-io/omarchy-zsh"
license=('MIT')
depends=('zsh' 'eza' 'mise' 'zoxide' 'starship' 'fzf' 'fd' 'bat' 'zsh-autosuggestions' 'zsh-syntax-highlighting')
options=('!debug')
install=omarchy-zsh.install
source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/refs/tags/v${pkgver}.tar.gz"
"omadots.tar.gz::https://github.com/omacom-io/omadots/archive/refs/heads/master.tar.gz")
sha256sums=('45294dc2cdebfc10086518d39276720bb3f55e74728ae31819a3ea61d998e8f5'
'SKIP')
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
# Install shared shell config from omadots (aliases, functions, envs, inits, inputrc)
install -dm755 "${pkgdir}/usr/share/${pkgname}/shell"
cp "${srcdir}/omadots-master/config/shell/"* "${pkgdir}/usr/share/${pkgname}/shell/"
# Rewrite paths to source from installed package location instead of user config
sed -i 's|\$HOME/\.config/shell|/usr/share/omarchy-zsh/shell|g' "${pkgdir}/usr/share/${pkgname}/shell/all"
# Install zsh-specific zoptions from omarchy-zsh
cp shell/zoptions "${pkgdir}/usr/share/${pkgname}/shell/"
# Install zsh completions to the standard site-functions dir so they
# autoload via the default fpath. compinit is invoked from zoptions.
install -dm755 "${pkgdir}/usr/share/zsh/site-functions"
cp shell/completions/* "${pkgdir}/usr/share/zsh/site-functions/"
# Install templates and documentation
install -dm755 "${pkgdir}/usr/share/${pkgname}"
cp -r templates LICENSE README.md "${pkgdir}/usr/share/${pkgname}/"
# Install setup script
install -Dm755 bin/omarchy-setup-zsh "${pkgdir}/usr/bin/omarchy-setup-zsh"
}
@@ -1,18 +0,0 @@
post_install() {
echo "==> omarchy-zsh installed successfully!"
echo ""
echo "==> To run zsh from bash:"
echo " zsh"
echo ""
echo "==> To set as default shell:"
echo " omarchy-setup-zsh"
}
post_upgrade() {
echo "==> Run omarchy-setup-zsh for new changes to take effect"
}
post_remove() {
echo "==> omarchy-zsh has been removed"
echo "==> To restore bash, copy a backup to ~/.bashrc"
}