Compare commits

...

8 Commits

Author SHA1 Message Date
Lewis Buckley
7933b5eae0 echo reason for change 2025-08-20 12:54:32 +01:00
Lewis Buckley
3e4597b89c Set net.ipv4.tcp_mtu_probing to 2
> Forces every new TCP socket to begin at a
> conservative MSS
> (min(path MTU, 1024 bytes) – 40).
> Immediately sends progressively larger probes
> and raises the MSS as soon as they’re ACKed.

This has been found to solve very slow deploys
with Tailscale, Kamal and our internal Docker
registry.
2025-08-20 12:34:57 +01:00
David Heinemeier Hansson
bd2eddbab4 Turn off auto-launching screensaver until tte is fixed 2025-08-15 09:52:41 +02:00
David Heinemeier Hansson
f456e21cab Turn off tte until the package is fixed 2025-08-15 09:50:22 +02:00
David Heinemeier Hansson
3d283eac18 Ignore uwsm here too 2025-08-12 09:43:43 +02:00
David Heinemeier Hansson
9e7e5a1512 Pin uwsm to 0.23.0 to skip bad 0.23.1 while waiting for 0.23.2 (#697) 2025-08-12 08:07:13 +02:00
David Heinemeier Hansson
1e924d1794 It actually wasn't better to have the user defaults first 2025-08-11 22:11:13 +02:00
Florian Hammerschmidt
7e30335a2e Use correct casing for OCaml menu item (#675) 2025-08-11 20:36:48 +02:00
11 changed files with 32 additions and 22 deletions

View File

@@ -244,7 +244,7 @@ show_install_font_menu() {
}
show_install_development_menu() {
case $(menu "Install" "󰫏 Ruby on Rails\n Docker DB\n JavaScript\n Go\n PHP\n Python\n Elixir\n Zig\n Rust\n Java\n .NET\n Ocaml") in
case $(menu "Install" "󰫏 Ruby on Rails\n Docker DB\n JavaScript\n Go\n PHP\n Python\n Elixir\n Zig\n Rust\n Java\n .NET\n OCaml") in
*Rails*) present_terminal "omarchy-install-dev-env ruby" ;;
*Docker*) present_terminal omarchy-install-docker-dbs ;;
*JavaScript*) show_install_javascript_menu ;;
@@ -256,7 +256,7 @@ show_install_development_menu() {
*Rust*) present_terminal "omarchy-install-dev-env rust" ;;
*Java*) present_terminal "omarchy-install-dev-env java" ;;
*NET*) present_terminal "omarchy-install-dev-env dotnet" ;;
*Ocaml*) present_terminal "omarchy-install-dev-env ocaml" ;;
*OCaml*) present_terminal "omarchy-install-dev-env ocaml" ;;
*) show_install_menu ;;
esac
}

View File

@@ -1,5 +1,5 @@
#!/bin/bash
echo -e "\e[32m\nUpdate system packages\e[0m"
yay -Syu --noconfirm
yay -Syu --noconfirm --ignore uwsm
echo

View File

@@ -23,3 +23,7 @@ bindd = SUPER SHIFT, G, WhatsApp, exec, $webapp="https://web.whatsapp.com/"
bindd = SUPER ALT, G, Google Messages, exec, $webapp="https://messages.google.com/web/conversations"
bindd = SUPER, X, X, exec, $webapp="https://x.com/"
bindd = SUPER SHIFT, X, X Post, exec, $webapp="https://x.com/compose/post"
# Overwrite existing bindings, like putting Omarchy Menu on Super + Space
# unbind = SUPER, Space
# bindd = SUPER, SPACE, Omarchy menu, exec, omarchy-menu

View File

@@ -5,10 +5,11 @@ general {
on_unlock_cmd = omarchy-restart-waybar # prevent stacking of waybar when waking
}
listener {
timeout = 150 # 2.5min
on-timeout = pidof hyprlock || omarchy-launch-screensaver # start screensaver (if we haven't locked already)
}
# FIXME: Scrensaver depends on tte being installed
# listener {
# timeout = 150 # 2.5min
# on-timeout = pidof hyprlock || omarchy-launch-screensaver # start screensaver (if we haven't locked already)
# }
listener {
timeout = 300 # 5min

View File

@@ -1,12 +1,5 @@
# Learn how to configure Hyprland: https://wiki.hyprland.org/Configuring/
# Change your own setup in these files (and overwrite any settings from defaults!)
source = ~/.config/hypr/monitors.conf
source = ~/.config/hypr/input.conf
source = ~/.config/hypr/bindings.conf
source = ~/.config/hypr/envs.conf
source = ~/.config/hypr/autostart.conf
# Use defaults Omarchy defaults (but don't edit these directly!)
source = ~/.local/share/omarchy/default/hypr/autostart.conf
source = ~/.local/share/omarchy/default/hypr/bindings/media.conf
@@ -17,3 +10,10 @@ source = ~/.local/share/omarchy/default/hypr/looknfeel.conf
source = ~/.local/share/omarchy/default/hypr/input.conf
source = ~/.local/share/omarchy/default/hypr/windows.conf
source = ~/.config/omarchy/current/theme/hyprland.conf
# Change your own setup in these files (and overwrite any settings from defaults!)
source = ~/.config/hypr/monitors.conf
source = ~/.config/hypr/input.conf
source = ~/.config/hypr/bindings.conf
source = ~/.config/hypr/envs.conf
source = ~/.config/hypr/autostart.conf

View File

@@ -1,6 +1,6 @@
# Menus
bindd = SUPER, SPACE, Launch apps, exec, walker -p "Start…"
bindd = SUPER ALT, SPACE, Run commands, exec, omarchy-menu
bindd = SUPER ALT, SPACE, Omarchy menu, exec, omarchy-menu
bindd = SUPER, ESCAPE, Power menu, exec, omarchy-menu system
bindd = SUPER, K, Show key bindings, exec, omarchy-menu-keybindings

View File

@@ -17,12 +17,13 @@ trap catch_errors ERR
show_logo() {
clear
tte -i ~/.local/share/omarchy/logo.txt --frame-rate ${2:-120} ${1:-expand}
# tte -i ~/.local/share/omarchy/logo.txt --frame-rate ${2:-120} ${1:-expand}
cat <~/.local/share/omarchy/logo.txt
echo
}
show_subtext() {
echo "$1" | tte --frame-rate ${3:-640} ${2:-wipe}
echo "$1" # | tte --frame-rate ${3:-640} ${2:-wipe}
echo
}
@@ -77,7 +78,7 @@ source $OMARCHY_INSTALL/apps/mimetypes.sh
show_logo highlight
show_subtext "Updating system packages [5/5]"
sudo updatedb
sudo pacman -Syu --noconfirm
yay -Syu --noconfirm --ignore uwsm
# Reboot
show_logo laseretch 920

View File

@@ -29,8 +29,8 @@ sudo sed -i 's|^\(auth\s\+\[default=die\]\s\+pam_faillock.so\)\s\+authfail.*$|\1
# Set Cloudflare as primary DNS (with Google as backup)
sudo cp ~/.local/share/omarchy/default/systemd/resolved.conf /etc/systemd/
# Solve common flakiness with SSH
echo "net.ipv4.tcp_mtu_probing=1" | sudo tee -a /etc/sysctl.d/99-sysctl.conf
# Solve common flakiness with SSH and Tailscale performance
echo "net.ipv4.tcp_mtu_probing=2" | sudo tee -a /etc/sysctl.d/99-sysctl.conf
# Set common git aliases
git config --global alias.co checkout

View File

@@ -2,7 +2,8 @@
# Hyprland launched via UWSM and login directly as user, rely on disk encryption + hyprlock for security
if ! command -v uwsm &>/dev/null || ! command -v plymouth &>/dev/null; then
yay -S --noconfirm --needed uwsm plymouth
sudo pacman -U --noconfirm https://archive.archlinux.org/packages/u/uwsm/uwsm-0.23.0-1-any.pkg.tar.zst
yay -S --noconfirm --needed plymouth
fi
# ==============================================================================

View File

@@ -1,3 +1,3 @@
#!/bin/bash
yay -S --noconfirm --needed gum python-terminaltexteffects
yay -S --noconfirm --needed gum # python-terminaltexteffects

3
migrations/1755244361.sh Normal file
View File

@@ -0,0 +1,3 @@
echo "Tuning MTU probing for more reliable SSH and Tailscale performance"
sudo sed -i 's/^net.ipv4.tcp_mtu_probing=1/net.ipv4.tcp_mtu_probing=2/' /etc/sysctl.d/99-sysctl.conf