Merge branch 'dev' into omarchy-shell

This commit is contained in:
David Heinemeier Hansson
2026-05-15 18:33:09 +02:00
84 changed files with 743 additions and 515 deletions
-5
View File
@@ -1,5 +0,0 @@
echo "Add .config/brave-flags.conf by default to ensure Brave runs under Wayland"
if [[ ! -f ~/.config/brave-flags.conf ]]; then
cp $OMARCHY_PATH/config/brave-flags.conf ~/.config/
fi
-10
View File
@@ -1,10 +0,0 @@
echo "Checking and correcting Snapper configs if needed"
if command -v snapper &>/dev/null; then
if ! sudo snapper list-configs 2>/dev/null | grep -q "root"; then
sudo snapper -c root create-config /
fi
if ! sudo snapper list-configs 2>/dev/null | grep -q "home"; then
sudo snapper -c home create-config /home
fi
fi
-2
View File
@@ -1,2 +0,0 @@
echo "Update plymouth theme to avoid freetype2 issue that broke the styled login screen"
omarchy-refresh-plymouth
-3
View File
@@ -1,3 +0,0 @@
echo "Add a blurred background to the lock screen"
omarchy-refresh-hyprlock
-2
View File
@@ -1,2 +0,0 @@
echo "Enable fast shutdown"
source $OMARCHY_PATH/install/config/fast-shutdown.sh
-9
View File
@@ -1,9 +0,0 @@
echo "Add default Ctrl+P binding for imv; backup existing config if present"
if [[ -f ~/.config/imv/config ]]; then
cp ~/.config/imv/config ~/.config/imv/config.bak.$(date +%s)
else
mkdir -p ~/.config/imv
fi
cp ~/.local/share/omarchy/config/imv/config ~/.config/imv/config
+2 -1
View File
@@ -1,3 +1,4 @@
echo "Install Copy URL extension for Brave"
omarchy-refresh-config brave-flags.conf
mkdir -p ~/.config
cp "$OMARCHY_PATH/config/chromium-flags.conf" ~/.config/brave-flags.conf
-5
View File
@@ -1,5 +0,0 @@
echo "Increase Walker limit on how many entries can be shown to 256"
if ! grep -q "max_results" ~/.config/walker/config.toml; then
sed -i '/^\[providers\]$/a max_results = 256' ~/.config/walker/config.toml
fi
-4
View File
@@ -1,4 +0,0 @@
echo "Update imv config with new keybindings"
mkdir -p ~/.config/imv
cp $OMARCHY_PATH/config/imv/config ~/.config/imv/
-6
View File
@@ -1,6 +0,0 @@
echo "Link new theme picker config"
mkdir -p ~/.config/elephant/menus
ln -snf $OMARCHY_PATH/default/elephant/omarchy_themes.lua ~/.config/elephant/menus/omarchy_themes.lua
sed -i '/"menus",/d' ~/.config/walker/config.toml
omarchy-restart-walker
-3
View File
@@ -1,3 +0,0 @@
echo "Refresh Walker config to ensure compatibility with latest version"
omarchy-refresh-walker
-7
View File
@@ -1,7 +0,0 @@
if omarchy-cmd-present btrfs && omarchy-cmd-present snapper; then
echo "Adjust snapper space limits & enable btrfs quota"
sudo sed -i 's/^SPACE_LIMIT="0.5"/SPACE_LIMIT="0.3"/' /etc/snapper/configs/{root,home} 2>/dev/null
sudo sed -i 's/^FREE_LIMIT="0.2"/FREE_LIMIT="0.3"/' /etc/snapper/configs/{root,home} 2>/dev/null
sudo btrfs quota enable /
fi
-3
View File
@@ -1,3 +0,0 @@
echo "Use correct idle-timer sensitive timeouts for lock screen"
sed -i 's/timeout = 300/timeout = 151/' ~/.config/hypr/hypridle.conf
-3
View File
@@ -1,3 +0,0 @@
echo "Add Omarchy AI skill for assistance tailoring the system"
source $OMARCHY_PATH/install/config/omarchy-ai-skill.sh
-3
View File
@@ -1,3 +0,0 @@
echo "Set power profile based on source switching (AC or Battery)"
source $OMARCHY_PATH/install/config/powerprofilesctl-rules.sh
-3
View File
@@ -1,3 +0,0 @@
echo "Disable WiFi power save on AC power"
source $OMARCHY_PATH/install/config/wifi-powersave-rules.sh
-2
View File
@@ -1,2 +0,0 @@
echo "Turn off keyboard backlight when idle"
cp $OMARCHY_PATH/config/hypr/hypridle.conf ~/.config/hypr/hypridle.conf
-3
View File
@@ -1,3 +0,0 @@
echo "Add LocalSend entry to Nautilus context menu"
source $OMARCHY_PATH/install/config/nautilus-python.sh
-9
View File
@@ -1,9 +0,0 @@
echo "Set Chromium appearance mode to device (follow system) by default"
echo '{"browser":{"theme":{"color_scheme":0}}}' | sudo tee /usr/lib/chromium/initial_preferences >/dev/null
# Update existing Chromium profiles to use "device" instead of "dark"
PREFS="$HOME/.config/chromium/Default/Preferences"
if [[ -f "$PREFS" ]] && command -v jq &>/dev/null; then
jq '.browser.theme.color_scheme = 0' "$PREFS" > "$PREFS.tmp" && mv "$PREFS.tmp" "$PREFS"
fi
-6
View File
@@ -1,6 +0,0 @@
echo "Rename lock screen command in Hypridle config"
if grep -q 'omarchy-lock-screen' ~/.config/hypr/hypridle.conf; then
sed -i 's/omarchy-lock-screen/omarchy-system-lock/g' ~/.config/hypr/hypridle.conf
omarchy-restart-hypridle
fi
+1 -1
View File
@@ -1,3 +1,3 @@
echo "Install npm package wrappers"
echo "Install npm package wrappers using pnpm with 5-day security lag"
source "$OMARCHY_PATH/install/packaging/npm.sh"
+26
View File
@@ -0,0 +1,26 @@
echo "Add Alt+Enter split and Alt+Escape close keybindings to tmux"
tmux_config="$HOME/.config/tmux/tmux.conf"
if [[ -f $tmux_config ]]; then
changed=0
if ! grep -qxF 'bind -n M-Enter split-window -v -c "#{pane_current_path}"' "$tmux_config"; then
printf '\nbind -n M-Enter split-window -v -c "#{pane_current_path}"\n' >>"$tmux_config"
changed=1
fi
if ! grep -qxF 'bind -n M-S-Enter split-window -h -c "#{pane_current_path}"' "$tmux_config"; then
printf 'bind -n M-S-Enter split-window -h -c "#{pane_current_path}"\n' >>"$tmux_config"
changed=1
fi
if ! grep -qxF 'bind -n M-Escape kill-pane' "$tmux_config"; then
printf 'bind -n M-Escape kill-pane\n' >>"$tmux_config"
changed=1
fi
if (( changed )); then
omarchy-restart-tmux
fi
fi
+3
View File
@@ -0,0 +1,3 @@
echo "Refresh theme files to pick up Hyprland changes"
omarchy-theme-refresh
+3
View File
@@ -0,0 +1,3 @@
echo "Refresh Hyprland Lua language server config"
omarchy-refresh-config hypr/.luarc.json
+11
View File
@@ -0,0 +1,11 @@
echo "Set BROWSER to Omarchy browser launcher for detached terminal URL opens"
if [[ -f ~/.config/uwsm/default ]]; then
if grep -q '^export BROWSER=' ~/.config/uwsm/default; then
sed -i 's|^export BROWSER=.*|export BROWSER=omarchy-launch-browser|' ~/.config/uwsm/default
else
printf '\n# Used by terminal programs (like gh) to open URLs detached from the terminal process tree\nexport BROWSER=omarchy-launch-browser\n' >> ~/.config/uwsm/default
fi
else
omarchy-refresh-config uwsm/default
fi