mirror of
https://github.com/basecamp/omarchy.git
synced 2026-02-17 15:25:37 +00:00
Compare commits
8 Commits
v1.13.0
...
mtu-probin
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7933b5eae0 | ||
|
|
3e4597b89c | ||
|
|
bd2eddbab4 | ||
|
|
f456e21cab | ||
|
|
3d283eac18 | ||
|
|
9e7e5a1512 | ||
|
|
1e924d1794 | ||
|
|
7e30335a2e |
@@ -244,7 +244,7 @@ show_install_font_menu() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
show_install_development_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" ;;
|
*Rails*) present_terminal "omarchy-install-dev-env ruby" ;;
|
||||||
*Docker*) present_terminal omarchy-install-docker-dbs ;;
|
*Docker*) present_terminal omarchy-install-docker-dbs ;;
|
||||||
*JavaScript*) show_install_javascript_menu ;;
|
*JavaScript*) show_install_javascript_menu ;;
|
||||||
@@ -256,7 +256,7 @@ show_install_development_menu() {
|
|||||||
*Rust*) present_terminal "omarchy-install-dev-env rust" ;;
|
*Rust*) present_terminal "omarchy-install-dev-env rust" ;;
|
||||||
*Java*) present_terminal "omarchy-install-dev-env java" ;;
|
*Java*) present_terminal "omarchy-install-dev-env java" ;;
|
||||||
*NET*) present_terminal "omarchy-install-dev-env dotnet" ;;
|
*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 ;;
|
*) show_install_menu ;;
|
||||||
esac
|
esac
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
echo -e "\e[32m\nUpdate system packages\e[0m"
|
echo -e "\e[32m\nUpdate system packages\e[0m"
|
||||||
yay -Syu --noconfirm
|
yay -Syu --noconfirm --ignore uwsm
|
||||||
echo
|
echo
|
||||||
|
|||||||
@@ -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 ALT, G, Google Messages, exec, $webapp="https://messages.google.com/web/conversations"
|
||||||
bindd = SUPER, X, X, exec, $webapp="https://x.com/"
|
bindd = SUPER, X, X, exec, $webapp="https://x.com/"
|
||||||
bindd = SUPER SHIFT, X, X Post, exec, $webapp="https://x.com/compose/post"
|
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
|
||||||
|
|||||||
@@ -5,10 +5,11 @@ general {
|
|||||||
on_unlock_cmd = omarchy-restart-waybar # prevent stacking of waybar when waking
|
on_unlock_cmd = omarchy-restart-waybar # prevent stacking of waybar when waking
|
||||||
}
|
}
|
||||||
|
|
||||||
listener {
|
# FIXME: Scrensaver depends on tte being installed
|
||||||
timeout = 150 # 2.5min
|
# listener {
|
||||||
on-timeout = pidof hyprlock || omarchy-launch-screensaver # start screensaver (if we haven't locked already)
|
# timeout = 150 # 2.5min
|
||||||
}
|
# on-timeout = pidof hyprlock || omarchy-launch-screensaver # start screensaver (if we haven't locked already)
|
||||||
|
# }
|
||||||
|
|
||||||
listener {
|
listener {
|
||||||
timeout = 300 # 5min
|
timeout = 300 # 5min
|
||||||
|
|||||||
@@ -1,12 +1,5 @@
|
|||||||
# Learn how to configure Hyprland: https://wiki.hyprland.org/Configuring/
|
# 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!)
|
# Use defaults Omarchy defaults (but don't edit these directly!)
|
||||||
source = ~/.local/share/omarchy/default/hypr/autostart.conf
|
source = ~/.local/share/omarchy/default/hypr/autostart.conf
|
||||||
source = ~/.local/share/omarchy/default/hypr/bindings/media.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/input.conf
|
||||||
source = ~/.local/share/omarchy/default/hypr/windows.conf
|
source = ~/.local/share/omarchy/default/hypr/windows.conf
|
||||||
source = ~/.config/omarchy/current/theme/hyprland.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
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
# Menus
|
# Menus
|
||||||
bindd = SUPER, SPACE, Launch apps, exec, walker -p "Start…"
|
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, ESCAPE, Power menu, exec, omarchy-menu system
|
||||||
bindd = SUPER, K, Show key bindings, exec, omarchy-menu-keybindings
|
bindd = SUPER, K, Show key bindings, exec, omarchy-menu-keybindings
|
||||||
|
|
||||||
|
|||||||
@@ -17,12 +17,13 @@ trap catch_errors ERR
|
|||||||
|
|
||||||
show_logo() {
|
show_logo() {
|
||||||
clear
|
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
|
echo
|
||||||
}
|
}
|
||||||
|
|
||||||
show_subtext() {
|
show_subtext() {
|
||||||
echo "$1" | tte --frame-rate ${3:-640} ${2:-wipe}
|
echo "$1" # | tte --frame-rate ${3:-640} ${2:-wipe}
|
||||||
echo
|
echo
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -77,7 +78,7 @@ source $OMARCHY_INSTALL/apps/mimetypes.sh
|
|||||||
show_logo highlight
|
show_logo highlight
|
||||||
show_subtext "Updating system packages [5/5]"
|
show_subtext "Updating system packages [5/5]"
|
||||||
sudo updatedb
|
sudo updatedb
|
||||||
sudo pacman -Syu --noconfirm
|
yay -Syu --noconfirm --ignore uwsm
|
||||||
|
|
||||||
# Reboot
|
# Reboot
|
||||||
show_logo laseretch 920
|
show_logo laseretch 920
|
||||||
|
|||||||
@@ -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)
|
# Set Cloudflare as primary DNS (with Google as backup)
|
||||||
sudo cp ~/.local/share/omarchy/default/systemd/resolved.conf /etc/systemd/
|
sudo cp ~/.local/share/omarchy/default/systemd/resolved.conf /etc/systemd/
|
||||||
|
|
||||||
# Solve common flakiness with SSH
|
# Solve common flakiness with SSH and Tailscale performance
|
||||||
echo "net.ipv4.tcp_mtu_probing=1" | sudo tee -a /etc/sysctl.d/99-sysctl.conf
|
echo "net.ipv4.tcp_mtu_probing=2" | sudo tee -a /etc/sysctl.d/99-sysctl.conf
|
||||||
|
|
||||||
# Set common git aliases
|
# Set common git aliases
|
||||||
git config --global alias.co checkout
|
git config --global alias.co checkout
|
||||||
|
|||||||
@@ -2,7 +2,8 @@
|
|||||||
|
|
||||||
# Hyprland launched via UWSM and login directly as user, rely on disk encryption + hyprlock for security
|
# 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
|
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
|
fi
|
||||||
|
|
||||||
# ==============================================================================
|
# ==============================================================================
|
||||||
|
|||||||
@@ -1,3 +1,3 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
yay -S --noconfirm --needed gum python-terminaltexteffects
|
yay -S --noconfirm --needed gum # python-terminaltexteffects
|
||||||
|
|||||||
3
migrations/1755244361.sh
Normal file
3
migrations/1755244361.sh
Normal 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
|
||||||
Reference in New Issue
Block a user