Ensure they can all run from Walker

Which does not have the bash-powered PATH
This commit is contained in:
David Heinemeier Hansson 2025-08-05 16:35:28 +02:00
parent b6325ea810
commit 137c24454f
22 changed files with 26 additions and 25 deletions

View File

@ -2,5 +2,5 @@ echo "Fixing persistent workspaces in waybar config"
if [[ -f ~/.config/waybar/config ]]; then
sed -i 's/"persistent_workspaces":/"persistent-workspaces":/' ~/.config/waybar/config
omarchy-restart-waybar
~/.local/share/omarchy/bin/omarchy-restart-waybar
fi

View File

@ -2,5 +2,5 @@ echo "Install Impala as new wifi selection TUI"
if ! command -v impala &>/dev/null; then
yay -S --noconfirm --needed impala
echo "You need to update the Waybar config to use Impala Wi-Fi selector in top bar."
omarchy-refresh-waybar
~/.local/share/omarchy/bin/omarchy-refresh-waybar
fi

View File

@ -7,7 +7,7 @@ if [[ -f ~/.local/share/applications/blueberry.desktop ]]; then
gsettings set org.gnome.desktop.interface color-scheme "prefer-dark"
gsettings set org.gnome.desktop.interface gtk-theme "Adwaita-dark"
omarchy-refresh-waybar
~/.local/share/omarchy/bin/omarchy-refresh-waybar
fi
if [[ ! -L "~/.config/omarchy/themes/rose-pine" ]]; then

View File

@ -4,6 +4,6 @@ if ! command -v wiremix &>/dev/null; then
yay -S --noconfirm --needed wiremix
yay -Rns --noconfirm pavucontrol
omarchy-refresh-applications
omarchy-refresh-waybar
~/.local/share/omarchy/bin/omarchy-refresh-applications
~/.local/share/omarchy/bin/omarchy-refresh-waybar
fi

View File

@ -1,2 +1,2 @@
echo "Update .config/hypr/hyprlock.conf to include failed attempt counter"
omarchy-refresh-hyprlock
~/.local/share/omarchy/bin/omarchy-refresh-hyprlock

View File

@ -1,5 +1,5 @@
echo "Fix dancing workspace numbers in Waybar"
if ! grep -q 'min-width: 9px' ~/.config/waybar/style.css; then
omarchy-refresh-waybar
~/.local/share/omarchy/bin/omarchy-refresh-waybar
fi

View File

@ -1,5 +1,5 @@
echo "Allow updating of timezone by right-clicking on the clock (or running omarchy-cmd-tzupdate)"
if ! command -v tzupdate &>/dev/null; then
bash ~/.local/share/omarchy/install/config/timezones.sh
omarchy-refresh-waybar
~/.local/share/omarchy/bin/omarchy-refresh-waybar
fi

View File

@ -1,4 +1,4 @@
echo "Update Walker config to include = as the leader key for the calculator"
if ! grep -q 'prefix = "="' ~/.config/walker/config.toml; then
omarchy-refresh-walker
~/.local/share/omarchy/bin/omarchy-refresh-walker
fi

View File

@ -1,4 +1,4 @@
echo "Update Walker config to include . as the leader key for the finder"
if ! grep -q 'prefix = "\."' ~/.config/walker/config.toml; then
omarchy-refresh-walker
~/.local/share/omarchy/bin/omarchy-refresh-walker
fi

View File

@ -1,2 +1,2 @@
echo "Fix Plymouth login positioning in multi-monitor setups + limit password from overflowing"
omarchy-refresh-plymouth
~/.local/share/omarchy/bin/omarchy-refresh-plymouth

View File

@ -3,4 +3,4 @@ if ! command -v hyprsunset &>/dev/null; then
yay -S --noconfirm --needed hyprsunset
fi
omarchy-refresh-hyprsunset
~/.local/share/omarchy/bin/omarchy-refresh-hyprsunset

View File

@ -6,5 +6,5 @@ if ! grep -q 'on_unlock_cmd *= *omarchy-restart-waybar' ~/.config/hypr/hypridle.
on_unlock_cmd = omarchy-restart-waybar # prevent stacking of waybar when waking' \
~/.config/hypr/hypridle.conf
omarchy-restart-waybar
~/.local/share/omarchy/bin/omarchy-restart-waybar
fi

View File

@ -1,6 +1,6 @@
echo "Update Waybar CSS to dim unused workspaces"
if ! grep -q "#workspaces button\.empty" ~/.config/waybar/style.css; then
omarchy-refresh-config waybar/style.css
omarchy-restart-waybar
~/.local/share/omarchy/bin/omarchy-refresh-config waybar/style.css
~/.local/share/omarchy/bin/omarchy-restart-waybar
fi

View File

@ -1,6 +1,6 @@
echo "Start screensaver automatically after 1 minute and stop before locking"
if ! grep -q "omarchy-launch-screensaver" ~/.config/hypr/hypridle.conf; then
omarchy-refresh-hypridle
omarchy-refresh-hyprlock
~/.local/share/omarchy/bin/omarchy-refresh-hypridle
~/.local/share/omarchy/bin/omarchy-refresh-hyprlock
fi

View File

@ -1,4 +1,5 @@
echo "Ensure screensaver doesn't start while the computer is locked"
if ! grep -q "pidof hyprlock || omarchy-launch-screensaver" ~/.config/hypr/hypridle.conf; then
omarchy-refresh-hypridle
~/.local/share/omarchy/bin/omarchy-refresh-hypridle
fi

View File

@ -1,5 +1,5 @@
echo "Update app launcher config to allow enough entries to show all keybindings on SUPER+K"
if ! grep "max_entries = 200" ~/.config/walker/config.toml; then
omarchy-refresh-walker
~/.local/share/omarchy/bin/omarchy-refresh-walker
fi

View File

@ -1,5 +1,5 @@
echo "Add auto-update icon to waybar when update available"
if ! grep -q "custom/update" ~/.config/waybar/config.jsonc; then
omarchy-refresh-waybar
~/.local/share/omarchy/bin/omarchy-refresh-waybar
fi

View File

@ -1,2 +1,2 @@
echo "Increase time before screensaver starts to 2.5 minutes (from 1 minute)"
omarchy-refresh-hypridle
~/.local/share/omarchy/bin/omarchy-refresh-hypridle

View File

@ -1,2 +1,2 @@
echo "Add chromium-flags.conf"
omarchy-refresh-config chromium-flags.conf
~/.local/share/omarchy/bin/omarchy-refresh-config chromium-flags.conf

View File

@ -1,2 +1,2 @@
echo "Restart Walker to pick up menu selections"
omarchy-restart-walker
~/.local/share/omarchy/bin/omarchy-restart-walker

View File

@ -1,5 +1,5 @@
echo "Update Waybar for new Omarchy menu"
if ! grep -q "" ~/.config/waybar/config.jsonc; then
omarchy-refresh-waybar
~/.local/share/omarchy/bin/omarchy-refresh-waybar
fi

View File

@ -2,5 +2,5 @@ echo "Set SwayOSD max volume back to 100"
if ! grep -q "max_volume = 100" ~/.config/swayosd/config.toml; then
sed -i 's/max_volume = 150/max_volume = 100/' ~/.config/swayosd/config.toml
omarchy-restart-swayosd
~/.local/share/omarchy/bin/omarchy-restart-swayosd
fi