Ensure they can all run from Walker
Which does not have the bash-powered PATH
This commit is contained in:
parent
b6325ea810
commit
137c24454f
@ -2,5 +2,5 @@ echo "Fixing persistent workspaces in waybar config"
|
|||||||
|
|
||||||
if [[ -f ~/.config/waybar/config ]]; then
|
if [[ -f ~/.config/waybar/config ]]; then
|
||||||
sed -i 's/"persistent_workspaces":/"persistent-workspaces":/' ~/.config/waybar/config
|
sed -i 's/"persistent_workspaces":/"persistent-workspaces":/' ~/.config/waybar/config
|
||||||
omarchy-restart-waybar
|
~/.local/share/omarchy/bin/omarchy-restart-waybar
|
||||||
fi
|
fi
|
||||||
|
@ -2,5 +2,5 @@ echo "Install Impala as new wifi selection TUI"
|
|||||||
if ! command -v impala &>/dev/null; then
|
if ! command -v impala &>/dev/null; then
|
||||||
yay -S --noconfirm --needed impala
|
yay -S --noconfirm --needed impala
|
||||||
echo "You need to update the Waybar config to use Impala Wi-Fi selector in top bar."
|
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
|
fi
|
||||||
|
@ -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 color-scheme "prefer-dark"
|
||||||
gsettings set org.gnome.desktop.interface gtk-theme "Adwaita-dark"
|
gsettings set org.gnome.desktop.interface gtk-theme "Adwaita-dark"
|
||||||
|
|
||||||
omarchy-refresh-waybar
|
~/.local/share/omarchy/bin/omarchy-refresh-waybar
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ ! -L "~/.config/omarchy/themes/rose-pine" ]]; then
|
if [[ ! -L "~/.config/omarchy/themes/rose-pine" ]]; then
|
||||||
|
@ -4,6 +4,6 @@ if ! command -v wiremix &>/dev/null; then
|
|||||||
yay -S --noconfirm --needed wiremix
|
yay -S --noconfirm --needed wiremix
|
||||||
yay -Rns --noconfirm pavucontrol
|
yay -Rns --noconfirm pavucontrol
|
||||||
|
|
||||||
omarchy-refresh-applications
|
~/.local/share/omarchy/bin/omarchy-refresh-applications
|
||||||
omarchy-refresh-waybar
|
~/.local/share/omarchy/bin/omarchy-refresh-waybar
|
||||||
fi
|
fi
|
||||||
|
@ -1,2 +1,2 @@
|
|||||||
echo "Update .config/hypr/hyprlock.conf to include failed attempt counter"
|
echo "Update .config/hypr/hyprlock.conf to include failed attempt counter"
|
||||||
omarchy-refresh-hyprlock
|
~/.local/share/omarchy/bin/omarchy-refresh-hyprlock
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
echo "Fix dancing workspace numbers in Waybar"
|
echo "Fix dancing workspace numbers in Waybar"
|
||||||
|
|
||||||
if ! grep -q 'min-width: 9px' ~/.config/waybar/style.css; then
|
if ! grep -q 'min-width: 9px' ~/.config/waybar/style.css; then
|
||||||
omarchy-refresh-waybar
|
~/.local/share/omarchy/bin/omarchy-refresh-waybar
|
||||||
fi
|
fi
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
echo "Allow updating of timezone by right-clicking on the clock (or running omarchy-cmd-tzupdate)"
|
echo "Allow updating of timezone by right-clicking on the clock (or running omarchy-cmd-tzupdate)"
|
||||||
if ! command -v tzupdate &>/dev/null; then
|
if ! command -v tzupdate &>/dev/null; then
|
||||||
bash ~/.local/share/omarchy/install/config/timezones.sh
|
bash ~/.local/share/omarchy/install/config/timezones.sh
|
||||||
omarchy-refresh-waybar
|
~/.local/share/omarchy/bin/omarchy-refresh-waybar
|
||||||
fi
|
fi
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
echo "Update Walker config to include = as the leader key for the calculator"
|
echo "Update Walker config to include = as the leader key for the calculator"
|
||||||
if ! grep -q 'prefix = "="' ~/.config/walker/config.toml; then
|
if ! grep -q 'prefix = "="' ~/.config/walker/config.toml; then
|
||||||
omarchy-refresh-walker
|
~/.local/share/omarchy/bin/omarchy-refresh-walker
|
||||||
fi
|
fi
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
echo "Update Walker config to include . as the leader key for the finder"
|
echo "Update Walker config to include . as the leader key for the finder"
|
||||||
if ! grep -q 'prefix = "\."' ~/.config/walker/config.toml; then
|
if ! grep -q 'prefix = "\."' ~/.config/walker/config.toml; then
|
||||||
omarchy-refresh-walker
|
~/.local/share/omarchy/bin/omarchy-refresh-walker
|
||||||
fi
|
fi
|
||||||
|
@ -1,2 +1,2 @@
|
|||||||
echo "Fix Plymouth login positioning in multi-monitor setups + limit password from overflowing"
|
echo "Fix Plymouth login positioning in multi-monitor setups + limit password from overflowing"
|
||||||
omarchy-refresh-plymouth
|
~/.local/share/omarchy/bin/omarchy-refresh-plymouth
|
||||||
|
@ -3,4 +3,4 @@ if ! command -v hyprsunset &>/dev/null; then
|
|||||||
yay -S --noconfirm --needed hyprsunset
|
yay -S --noconfirm --needed hyprsunset
|
||||||
fi
|
fi
|
||||||
|
|
||||||
omarchy-refresh-hyprsunset
|
~/.local/share/omarchy/bin/omarchy-refresh-hyprsunset
|
||||||
|
@ -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' \
|
on_unlock_cmd = omarchy-restart-waybar # prevent stacking of waybar when waking' \
|
||||||
~/.config/hypr/hypridle.conf
|
~/.config/hypr/hypridle.conf
|
||||||
|
|
||||||
omarchy-restart-waybar
|
~/.local/share/omarchy/bin/omarchy-restart-waybar
|
||||||
fi
|
fi
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
echo "Update Waybar CSS to dim unused workspaces"
|
echo "Update Waybar CSS to dim unused workspaces"
|
||||||
|
|
||||||
if ! grep -q "#workspaces button\.empty" ~/.config/waybar/style.css; then
|
if ! grep -q "#workspaces button\.empty" ~/.config/waybar/style.css; then
|
||||||
omarchy-refresh-config waybar/style.css
|
~/.local/share/omarchy/bin/omarchy-refresh-config waybar/style.css
|
||||||
omarchy-restart-waybar
|
~/.local/share/omarchy/bin/omarchy-restart-waybar
|
||||||
fi
|
fi
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
echo "Start screensaver automatically after 1 minute and stop before locking"
|
echo "Start screensaver automatically after 1 minute and stop before locking"
|
||||||
|
|
||||||
if ! grep -q "omarchy-launch-screensaver" ~/.config/hypr/hypridle.conf; then
|
if ! grep -q "omarchy-launch-screensaver" ~/.config/hypr/hypridle.conf; then
|
||||||
omarchy-refresh-hypridle
|
~/.local/share/omarchy/bin/omarchy-refresh-hypridle
|
||||||
omarchy-refresh-hyprlock
|
~/.local/share/omarchy/bin/omarchy-refresh-hyprlock
|
||||||
fi
|
fi
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
echo "Ensure screensaver doesn't start while the computer is locked"
|
echo "Ensure screensaver doesn't start while the computer is locked"
|
||||||
|
|
||||||
if ! grep -q "pidof hyprlock || omarchy-launch-screensaver" ~/.config/hypr/hypridle.conf; then
|
if ! grep -q "pidof hyprlock || omarchy-launch-screensaver" ~/.config/hypr/hypridle.conf; then
|
||||||
omarchy-refresh-hypridle
|
~/.local/share/omarchy/bin/omarchy-refresh-hypridle
|
||||||
fi
|
fi
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
echo "Update app launcher config to allow enough entries to show all keybindings on SUPER+K"
|
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
|
if ! grep "max_entries = 200" ~/.config/walker/config.toml; then
|
||||||
omarchy-refresh-walker
|
~/.local/share/omarchy/bin/omarchy-refresh-walker
|
||||||
fi
|
fi
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
echo "Add auto-update icon to waybar when update available"
|
echo "Add auto-update icon to waybar when update available"
|
||||||
|
|
||||||
if ! grep -q "custom/update" ~/.config/waybar/config.jsonc; then
|
if ! grep -q "custom/update" ~/.config/waybar/config.jsonc; then
|
||||||
omarchy-refresh-waybar
|
~/.local/share/omarchy/bin/omarchy-refresh-waybar
|
||||||
fi
|
fi
|
||||||
|
@ -1,2 +1,2 @@
|
|||||||
echo "Increase time before screensaver starts to 2.5 minutes (from 1 minute)"
|
echo "Increase time before screensaver starts to 2.5 minutes (from 1 minute)"
|
||||||
omarchy-refresh-hypridle
|
~/.local/share/omarchy/bin/omarchy-refresh-hypridle
|
||||||
|
@ -1,2 +1,2 @@
|
|||||||
echo "Add chromium-flags.conf"
|
echo "Add chromium-flags.conf"
|
||||||
omarchy-refresh-config chromium-flags.conf
|
~/.local/share/omarchy/bin/omarchy-refresh-config chromium-flags.conf
|
||||||
|
@ -1,2 +1,2 @@
|
|||||||
echo "Restart Walker to pick up menu selections"
|
echo "Restart Walker to pick up menu selections"
|
||||||
omarchy-restart-walker
|
~/.local/share/omarchy/bin/omarchy-restart-walker
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
echo "Update Waybar for new Omarchy menu"
|
echo "Update Waybar for new Omarchy menu"
|
||||||
|
|
||||||
if ! grep -q "" ~/.config/waybar/config.jsonc; then
|
if ! grep -q "" ~/.config/waybar/config.jsonc; then
|
||||||
omarchy-refresh-waybar
|
~/.local/share/omarchy/bin/omarchy-refresh-waybar
|
||||||
fi
|
fi
|
||||||
|
@ -2,5 +2,5 @@ echo "Set SwayOSD max volume back to 100"
|
|||||||
|
|
||||||
if ! grep -q "max_volume = 100" ~/.config/swayosd/config.toml; then
|
if ! grep -q "max_volume = 100" ~/.config/swayosd/config.toml; then
|
||||||
sed -i 's/max_volume = 150/max_volume = 100/' ~/.config/swayosd/config.toml
|
sed -i 's/max_volume = 150/max_volume = 100/' ~/.config/swayosd/config.toml
|
||||||
omarchy-restart-swayosd
|
~/.local/share/omarchy/bin/omarchy-restart-swayosd
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user