Rely on Omarchy bin being part of PATH everywhere
This commit is contained in:
parent
7e28038687
commit
86c967352b
@ -12,9 +12,9 @@ if [[ -n "$font_name" && "$font_name" != "CNCLD" ]]; then
|
|||||||
-v "$font_name" \
|
-v "$font_name" \
|
||||||
~/.config/fontconfig/fonts.conf
|
~/.config/fontconfig/fonts.conf
|
||||||
|
|
||||||
~/.local/share/omarchy/bin/omarchy-restart-waybar
|
omarchy-restart-waybar
|
||||||
~/.local/share/omarchy/bin/omarchy-restart-swayosd
|
omarchy-restart-swayosd
|
||||||
~/.local/share/omarchy/bin/omarchy-restart-walker
|
omarchy-restart-walker
|
||||||
else
|
else
|
||||||
echo "Font '$font_name' not found."
|
echo "Font '$font_name' not found."
|
||||||
exit 1
|
exit 1
|
||||||
|
@ -5,4 +5,4 @@ curl -fsSL https://tailscale.com/install.sh | sh
|
|||||||
echo -e "\nStarting Tailscale..."
|
echo -e "\nStarting Tailscale..."
|
||||||
sudo tailscale up --accept-routes
|
sudo tailscale up --accept-routes
|
||||||
|
|
||||||
~/.local/share/omarchy/bin/omarchy-webapp-install "Tailscale" "https://login.tailscale.com/admin/machines" https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/png/tailscale-light.png
|
omarchy-webapp-install "Tailscale" "https://login.tailscale.com/admin/machines" https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/png/tailscale-light.png
|
||||||
|
@ -10,7 +10,7 @@ for m in $(hyprctl monitors -j | jq -r '.[] | .name'); do
|
|||||||
hyprctl dispatch exec -- \
|
hyprctl dispatch exec -- \
|
||||||
alacritty --class Screensaver \
|
alacritty --class Screensaver \
|
||||||
--config-file ~/.local/share/omarchy/default/alacritty/screensaver.toml \
|
--config-file ~/.local/share/omarchy/default/alacritty/screensaver.toml \
|
||||||
-e ~/.local/share/omarchy/bin/omarchy-cmd-screensaver
|
-e omarchy-cmd-screensaver
|
||||||
done
|
done
|
||||||
|
|
||||||
hyprctl dispatch focusmonitor $focused
|
hyprctl dispatch focusmonitor $focused
|
||||||
|
@ -26,7 +26,7 @@ terminal() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
present_terminal() {
|
present_terminal() {
|
||||||
alacritty --class Omarchy -e bash -c "~/.local/share/omarchy/bin/omarchy-show-logo; eval \"$1\"; ~/.local/share/omarchy/bin/omarchy-show-done;"
|
alacritty --class Omarchy -e bash -c "omarchy-show-logo; eval \"$1\"; omarchy-show-done;"
|
||||||
}
|
}
|
||||||
|
|
||||||
edit_in_nvim() {
|
edit_in_nvim() {
|
||||||
@ -47,7 +47,7 @@ install_and_launch() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
install_font() {
|
install_font() {
|
||||||
present_terminal "echo 'Installing $1...'; yay -Sy --noconfirm --needed $2 && sleep 2 && ~/.local/share/omarchy/bin/omarchy-font-set '$3'"
|
present_terminal "echo 'Installing $1...'; yay -Sy --noconfirm --needed $2 && sleep 2 && omarchy-font-set '$3'"
|
||||||
}
|
}
|
||||||
|
|
||||||
show_learn_menu() {
|
show_learn_menu() {
|
||||||
@ -159,13 +159,13 @@ show_setup_power_menu() {
|
|||||||
show_setup_config_menu() {
|
show_setup_config_menu() {
|
||||||
case $(menu "Setup" " Hyprland\n Hypridle\n Hyprlock\n Hyprsunset\n Swayosd\n Walker\n Waybar\n XCompose") in
|
case $(menu "Setup" " Hyprland\n Hypridle\n Hyprlock\n Hyprsunset\n Swayosd\n Walker\n Waybar\n XCompose") in
|
||||||
*Hyprland*) edit_in_nvim ~/.config/hypr/hyprland.conf ;;
|
*Hyprland*) edit_in_nvim ~/.config/hypr/hyprland.conf ;;
|
||||||
*Hypridle*) edit_in_nvim ~/.config/hypr/hypridle.conf && ~/.local/share/omarchy/bin/omarchy-restart-hypridle ;;
|
*Hypridle*) edit_in_nvim ~/.config/hypr/hypridle.conf && omarchy-restart-hypridle ;;
|
||||||
*Hyprlock*) edit_in_nvim ~/.config/hypr/hyprlock.conf ;;
|
*Hyprlock*) edit_in_nvim ~/.config/hypr/hyprlock.conf ;;
|
||||||
*Hyprsunset*) edit_in_nvim ~/.config/hypr/hyprsunset.conf && ~/.local/share/omarchy/bin/omarchy-restart-hyprsunset ;;
|
*Hyprsunset*) edit_in_nvim ~/.config/hypr/hyprsunset.conf && omarchy-restart-hyprsunset ;;
|
||||||
*Swayosd*) edit_in_nvim ~/.config/swayosd/config.toml && ~/.local/share/omarchy/bin/omarchy-restart-swayosd ;;
|
*Swayosd*) edit_in_nvim ~/.config/swayosd/config.toml && omarchy-restart-swayosd ;;
|
||||||
*Walker*) edit_in_nvim ~/.config/walker/config.toml && ~/.local/share/omarchy/bin/omarchy-restart-walker ;;
|
*Walker*) edit_in_nvim ~/.config/walker/config.toml && omarchy-restart-walker ;;
|
||||||
*Waybar*) edit_in_nvim ~/.config/waybar/config.jsonc && ~/.local/share/omarchy/bin/omarchy-restart-waybar ;;
|
*Waybar*) edit_in_nvim ~/.config/waybar/config.jsonc && omarchy-restart-waybar ;;
|
||||||
*XCompose*) edit_in_nvim ~/.XCompose && ~/.local/share/omarchy/bin/omarchy-restart-xcompose ;;
|
*XCompose*) edit_in_nvim ~/.XCompose && omarchy-restart-xcompose ;;
|
||||||
*) show_main_menu ;;
|
*) show_main_menu ;;
|
||||||
esac
|
esac
|
||||||
}
|
}
|
||||||
|
@ -14,5 +14,5 @@ pkg_name=$(yay -Slq | fzf "${fzf_args[@]}")
|
|||||||
if [[ -n "$pkg_name" ]]; then
|
if [[ -n "$pkg_name" ]]; then
|
||||||
yay -Sy --noconfirm "$pkg_name"
|
yay -Sy --noconfirm "$pkg_name"
|
||||||
sudo updatedb
|
sudo updatedb
|
||||||
~/.local/share/omarchy/bin/omarchy-show-done
|
omarchy-show-done
|
||||||
fi
|
fi
|
||||||
|
@ -14,5 +14,5 @@ pkg_name=$(yay -Qqe | fzf "${fzf_args[@]}")
|
|||||||
if [[ -n "$pkg_name" ]]; then
|
if [[ -n "$pkg_name" ]]; then
|
||||||
yay -Rns --noconfirm "$pkg_name"
|
yay -Rns --noconfirm "$pkg_name"
|
||||||
sudo updatedb
|
sudo updatedb
|
||||||
~/.local/share/omarchy/bin/omarchy-show-done
|
omarchy-show-done
|
||||||
fi
|
fi
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
~/.local/share/omarchy/bin/omarchy-refresh-config hypr/hypridle.conf
|
omarchy-refresh-config hypr/hypridle.conf
|
||||||
~/.local/share/omarchy/bin/omarchy-restart-hypridle
|
omarchy-restart-hypridle
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
~/.local/share/omarchy/bin/omarchy-refresh-config hypr/autostart.conf
|
omarchy-refresh-config hypr/autostart.conf
|
||||||
~/.local/share/omarchy/bin/omarchy-refresh-config hypr/bindings.conf
|
omarchy-refresh-config hypr/bindings.conf
|
||||||
~/.local/share/omarchy/bin/omarchy-refresh-config hypr/envs.conf
|
omarchy-refresh-config hypr/envs.conf
|
||||||
~/.local/share/omarchy/bin/omarchy-refresh-config hypr/input.conf
|
omarchy-refresh-config hypr/input.conf
|
||||||
~/.local/share/omarchy/bin/omarchy-refresh-config hypr/hyprland.conf
|
omarchy-refresh-config hypr/hyprland.conf
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
~/.local/share/omarchy/bin/omarchy-refresh-config hypr/hyprlock.conf
|
omarchy-refresh-config hypr/hyprlock.conf
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
~/.local/share/omarchy/bin/omarchy-refresh-config hypr/hyprsunset.conf
|
omarchy-refresh-config hypr/hyprsunset.conf
|
||||||
~/.local/share/omarchy/bin/omarchy-restart-hyprsunset
|
omarchy-restart-hyprsunset
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
~/.local/share/omarchy/bin/omarchy-refresh-config swayosd/config.toml
|
omarchy-refresh-config swayosd/config.toml
|
||||||
~/.local/share/omarchy/bin/omarchy-refresh-config swayosd/style.css
|
omarchy-refresh-config swayosd/style.css
|
||||||
~/.local/share/omarchy/bin/omarchy-restart-swayosd
|
omarchy-restart-swayosd
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
~/.local/share/omarchy/bin/omarchy-refresh-config walker/config.toml
|
omarchy-refresh-config walker/config.toml
|
||||||
~/.local/share/omarchy/bin/omarchy-restart-walker
|
omarchy-restart-walker
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
~/.local/share/omarchy/bin/omarchy-refresh-config waybar/config.jsonc
|
omarchy-refresh-config waybar/config.jsonc
|
||||||
~/.local/share/omarchy/bin/omarchy-refresh-config waybar/style.css
|
omarchy-refresh-config waybar/style.css
|
||||||
~/.local/share/omarchy/bin/omarchy-restart-waybar
|
omarchy-restart-waybar
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
~/.local/share/omarchy/bin/omarchy-restart-app hypridle
|
omarchy-restart-app hypridle
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
~/.local/share/omarchy/bin/omarchy-restart-app hyprsunset
|
omarchy-restart-app hyprsunset
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
~/.local/share/omarchy/bin/omarchy-restart-app swayosd-server
|
omarchy-restart-app swayosd-server
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
~/.local/share/omarchy/bin/omarchy-restart-app waybar
|
omarchy-restart-app waybar
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
~/.local/share/omarchy/bin/omarchy-restart-app fcitx5
|
omarchy-restart-app fcitx5
|
||||||
|
@ -30,4 +30,4 @@ if ! git clone "$REPO_URL" "$THEME_PATH"; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# Apply the new theme with omarchy-theme-set
|
# Apply the new theme with omarchy-theme-set
|
||||||
~/.local/share/omarchy/bin/omarchy-theme-set $THEME_NAME
|
omarchy-theme-set $THEME_NAME
|
||||||
|
@ -30,5 +30,5 @@ NEXT_INDEX=$(((INDEX + 1) % TOTAL))
|
|||||||
NEW_THEME=${THEMES[$NEXT_INDEX]}
|
NEW_THEME=${THEMES[$NEXT_INDEX]}
|
||||||
NEW_THEME_NAME=$(basename "$NEW_THEME")
|
NEW_THEME_NAME=$(basename "$NEW_THEME")
|
||||||
|
|
||||||
~/.local/share/omarchy/bin/omarchy-theme-set $NEW_THEME_NAME
|
omarchy-theme-set $NEW_THEME_NAME
|
||||||
notify-send "Theme changed to $NEW_THEME_NAME" -t 2000
|
notify-send "Theme changed to $NEW_THEME_NAME" -t 2000
|
||||||
|
@ -33,7 +33,7 @@ fi
|
|||||||
|
|
||||||
# Move to the next theme if the current theme is the one being removed
|
# Move to the next theme if the current theme is the one being removed
|
||||||
if [ "$(readlink -f "$CURRENT_DIR/theme")" = "$(readlink -f "$THEME_PATH")" ]; then
|
if [ "$(readlink -f "$CURRENT_DIR/theme")" = "$(readlink -f "$THEME_PATH")" ]; then
|
||||||
~/.local/share/omarchy/bin/omarchy-theme-next
|
omarchy-theme-next
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Now remove the theme directory for THEME_NAME
|
# Now remove the theme directory for THEME_NAME
|
||||||
|
@ -44,10 +44,10 @@ touch "$HOME/.config/alacritty/alacritty.toml"
|
|||||||
|
|
||||||
# Restart components to apply new theme
|
# Restart components to apply new theme
|
||||||
pkill -SIGUSR2 btop
|
pkill -SIGUSR2 btop
|
||||||
~/.local/share/omarchy/bin/omarchy-restart-waybar
|
omarchy-restart-waybar
|
||||||
~/.local/share/omarchy/bin/omarchy-restart-swayosd
|
omarchy-restart-swayosd
|
||||||
makoctl reload
|
makoctl reload
|
||||||
hyprctl reload
|
hyprctl reload
|
||||||
|
|
||||||
# Set new background
|
# Set new background
|
||||||
~/.local/share/omarchy/bin/omarchy-theme-bg-next
|
omarchy-theme-bg-next
|
||||||
|
@ -46,13 +46,13 @@
|
|||||||
},
|
},
|
||||||
"custom/omarchy": {
|
"custom/omarchy": {
|
||||||
"format": "",
|
"format": "",
|
||||||
"on-click": "~/.local/share/omarchy/bin/omarchy-menu",
|
"on-click": "omarchy-menu",
|
||||||
"tooltip-format": "SUPER + ALT + SPACE"
|
"tooltip-format": "SUPER + ALT + SPACE"
|
||||||
},
|
},
|
||||||
"custom/update": {
|
"custom/update": {
|
||||||
"format": "",
|
"format": "",
|
||||||
"exec": "~/.local/share/omarchy/bin/omarchy-update-available",
|
"exec": "omarchy-update-available",
|
||||||
"on-click": "alacritty --class Omarchy --title Omarchy -e ~/.local/share/omarchy/bin/omarchy-update",
|
"on-click": "alacritty --class Omarchy --title Omarchy -e omarchy-update",
|
||||||
"tooltip-format": "Omarchy update available",
|
"tooltip-format": "Omarchy update available",
|
||||||
"interval": 3600
|
"interval": 3600
|
||||||
},
|
},
|
||||||
@ -65,7 +65,7 @@
|
|||||||
"format": "{:%A %H:%M}",
|
"format": "{:%A %H:%M}",
|
||||||
"format-alt": "{:%d %B W%V %Y}",
|
"format-alt": "{:%d %B W%V %Y}",
|
||||||
"tooltip": false,
|
"tooltip": false,
|
||||||
"on-click-right": "~/.local/share/omarchy/bin/omarchy-cmd-tzupdate"
|
"on-click-right": "omarchy-cmd-tzupdate"
|
||||||
},
|
},
|
||||||
"network": {
|
"network": {
|
||||||
"format-icons": ["","","","",""],
|
"format-icons": ["","","","",""],
|
||||||
|
@ -1,13 +1,13 @@
|
|||||||
# 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, ~/.local/share/omarchy/bin/omarchy-menu
|
bindd = SUPER ALT, SPACE, Run commands, exec, omarchy-menu
|
||||||
bindd = SUPER, ESCAPE, Power menu, exec, ~/.local/share/omarchy/bin/omarchy-menu system
|
bindd = SUPER, ESCAPE, Power menu, exec, omarchy-menu system
|
||||||
bindd = SUPER, K, Show key bindings, exec, ~/.local/share/omarchy/bin/omarchy-menu-keybindings
|
bindd = SUPER, K, Show key bindings, exec, omarchy-menu-keybindings
|
||||||
|
|
||||||
# Aesthetics
|
# Aesthetics
|
||||||
bindd = SUPER SHIFT, SPACE, Toggle top bar, exec, pkill -SIGUSR1 waybar
|
bindd = SUPER SHIFT, SPACE, Toggle top bar, exec, pkill -SIGUSR1 waybar
|
||||||
bindd = SUPER CTRL, SPACE, Next background in theme, exec, ~/.local/share/omarchy/bin/omarchy-theme-bg-next
|
bindd = SUPER CTRL, SPACE, Next background in theme, exec, omarchy-theme-bg-next
|
||||||
bindd = SUPER SHIFT CTRL, SPACE, Pick new theme, exec, ~/.local/share/omarchy/bin/omarchy-menu theme
|
bindd = SUPER SHIFT CTRL, SPACE, Pick new theme, exec, omarchy-menu theme
|
||||||
|
|
||||||
# Notifications
|
# Notifications
|
||||||
bindd = SUPER, COMMA, Dismiss last notification, exec, makoctl dismiss
|
bindd = SUPER, COMMA, Dismiss last notification, exec, makoctl dismiss
|
||||||
@ -15,24 +15,24 @@ bindd = SUPER SHIFT, COMMA, Dismiss all notifications, exec, makoctl dismiss --a
|
|||||||
bindd = SUPER CTRL, COMMA, Toggle silencing notifications, exec, makoctl mode -t do-not-disturb && makoctl mode | grep -q 'do-not-disturb' && notify-send "Silenced notifications" || notify-send "Enabled notifications"
|
bindd = SUPER CTRL, COMMA, Toggle silencing notifications, exec, makoctl mode -t do-not-disturb && makoctl mode | grep -q 'do-not-disturb' && notify-send "Silenced notifications" || notify-send "Enabled notifications"
|
||||||
|
|
||||||
# Toggle idling
|
# Toggle idling
|
||||||
bindd = SUPER CTRL, I, Toggle locking on idle, exec, ~/.local/share/omarchy/bin/omarchy-toggle-idle
|
bindd = SUPER CTRL, I, Toggle locking on idle, exec, omarchy-toggle-idle
|
||||||
|
|
||||||
# Toggle nightlight
|
# Toggle nightlight
|
||||||
bindd = SUPER CTRL, N, Toggle nightlight, exec, ~/.local/share/omarchy/bin/omarchy-toggle-nightlight
|
bindd = SUPER CTRL, N, Toggle nightlight, exec, omarchy-toggle-nightlight
|
||||||
|
|
||||||
# Control Apple Display brightness
|
# Control Apple Display brightness
|
||||||
bindd = CTRL, F1, Apple Display brightness down, exec, ~/.local/share/omarchy/bin/omarchy-cmd-apple-display-brightness -5000
|
bindd = CTRL, F1, Apple Display brightness down, exec, omarchy-cmd-apple-display-brightness -5000
|
||||||
bindd = CTRL, F2, Apple Display brightness up, exec, ~/.local/share/omarchy/bin/omarchy-cmd-apple-display-brightness +5000
|
bindd = CTRL, F2, Apple Display brightness up, exec, omarchy-cmd-apple-display-brightness +5000
|
||||||
bindd = SHIFT CTRL, F2, Apple Display full brightness, exec, ~/.local/share/omarchy/bin/omarchy-cmd-apple-display-brightness +60000
|
bindd = SHIFT CTRL, F2, Apple Display full brightness, exec, omarchy-cmd-apple-display-brightness +60000
|
||||||
|
|
||||||
# Screenshots
|
# Screenshots
|
||||||
bindd = , PRINT, Screenshot of region, exec, ~/.local/share/omarchy/bin/omarchy-cmd-screenshot
|
bindd = , PRINT, Screenshot of region, exec, omarchy-cmd-screenshot
|
||||||
bindd = SHIFT, PRINT, Screenshot of window, exec, ~/.local/share/omarchy/bin/omarchy-cmd-screenshot window
|
bindd = SHIFT, PRINT, Screenshot of window, exec, omarchy-cmd-screenshot window
|
||||||
bindd = CTRL, PRINT, Screenshot of display, exec, ~/.local/share/omarchy/bin/omarchy-cmd-screenshot output
|
bindd = CTRL, PRINT, Screenshot of display, exec, omarchy-cmd-screenshot output
|
||||||
|
|
||||||
# Screen recordings
|
# Screen recordings
|
||||||
bindd = ALT, PRINT, Screen record a region, exec, ~/.local/share/omarchy/bin/omarchy-cmd-screenrecord
|
bindd = ALT, PRINT, Screen record a region, exec, omarchy-cmd-screenrecord
|
||||||
bindd = CTRL ALT, PRINT, Screen record display, exec, ~/.local/share/omarchy/bin/omarchy-cmd-screenrecord output
|
bindd = CTRL ALT, PRINT, Screen record display, exec, omarchy-cmd-screenrecord output
|
||||||
|
|
||||||
# Color picker
|
# Color picker
|
||||||
bindd = SUPER, PRINT, Color picker, exec, pkill hyprpicker || hyprpicker -a
|
bindd = SUPER, PRINT, Color picker, exec, pkill hyprpicker || hyprpicker -a
|
||||||
|
@ -1,16 +1,16 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
if [ -z "$OMARCHY_BARE" ]; then
|
if [ -z "$OMARCHY_BARE" ]; then
|
||||||
~/.local/share/omarchy/bin/omarchy-webapp-install "HEY" https://app.hey.com https://www.hey.com/assets/images/general/hey.png
|
omarchy-webapp-install "HEY" https://app.hey.com https://www.hey.com/assets/images/general/hey.png
|
||||||
~/.local/share/omarchy/bin/omarchy-webapp-install "Basecamp" https://launchpad.37signals.com https://basecamp.com/assets/images/general/basecamp.png
|
omarchy-webapp-install "Basecamp" https://launchpad.37signals.com https://basecamp.com/assets/images/general/basecamp.png
|
||||||
~/.local/share/omarchy/bin/omarchy-webapp-install "WhatsApp" https://web.whatsapp.com/ https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/png/whatsapp.png
|
omarchy-webapp-install "WhatsApp" https://web.whatsapp.com/ https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/png/whatsapp.png
|
||||||
~/.local/share/omarchy/bin/omarchy-webapp-install "Google Photos" https://photos.google.com/ https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/png/google-photos.png
|
omarchy-webapp-install "Google Photos" https://photos.google.com/ https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/png/google-photos.png
|
||||||
~/.local/share/omarchy/bin/omarchy-webapp-install "Google Contacts" https://contacts.google.com/ https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/png/google-contacts.png
|
omarchy-webapp-install "Google Contacts" https://contacts.google.com/ https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/png/google-contacts.png
|
||||||
~/.local/share/omarchy/bin/omarchy-webapp-install "Google Messages" https://messages.google.com/web/conversations https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/png/google-messages.png
|
omarchy-webapp-install "Google Messages" https://messages.google.com/web/conversations https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/png/google-messages.png
|
||||||
~/.local/share/omarchy/bin/omarchy-webapp-install "ChatGPT" https://chatgpt.com/ https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/png/chatgpt.png
|
omarchy-webapp-install "ChatGPT" https://chatgpt.com/ https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/png/chatgpt.png
|
||||||
~/.local/share/omarchy/bin/omarchy-webapp-install "YouTube" https://youtube.com/ https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/png/youtube.png
|
omarchy-webapp-install "YouTube" https://youtube.com/ https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/png/youtube.png
|
||||||
~/.local/share/omarchy/bin/omarchy-webapp-install "GitHub" https://github.com/ https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/png/github-light.png
|
omarchy-webapp-install "GitHub" https://github.com/ https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/png/github-light.png
|
||||||
~/.local/share/omarchy/bin/omarchy-webapp-install "X" https://x.com/ https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/png/x-light.png
|
omarchy-webapp-install "X" https://x.com/ https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/png/x-light.png
|
||||||
~/.local/share/omarchy/bin/omarchy-webapp-install "Figma" https://figma.com/ https://www.veryicon.com/download/png/application/app-icon-7/figma-1?s=256
|
omarchy-webapp-install "Figma" https://figma.com/ https://www.veryicon.com/download/png/application/app-icon-7/figma-1?s=256
|
||||||
~/.local/share/omarchy/bin/omarchy-webapp-install "Discord" https://discord.com/channels/@me https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/png/discord.png
|
omarchy-webapp-install "Discord" https://discord.com/channels/@me https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/png/discord.png
|
||||||
fi
|
fi
|
||||||
|
@ -17,4 +17,4 @@ if [ -z "$OMARCHY_BARE" ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# Copy over Omarchy applications
|
# Copy over Omarchy applications
|
||||||
source ~/.local/share/omarchy/bin/omarchy-refresh-applications || true
|
source omarchy-refresh-applications || true
|
||||||
|
@ -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
|
||||||
~/.local/share/omarchy/bin/omarchy-restart-waybar
|
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."
|
||||||
~/.local/share/omarchy/bin/omarchy-refresh-waybar
|
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"
|
||||||
|
|
||||||
~/.local/share/omarchy/bin/omarchy-refresh-waybar
|
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
|
||||||
|
|
||||||
~/.local/share/omarchy/bin/omarchy-refresh-applications
|
omarchy-refresh-applications
|
||||||
~/.local/share/omarchy/bin/omarchy-refresh-waybar
|
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"
|
||||||
~/.local/share/omarchy/bin/omarchy-refresh-hyprlock
|
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
|
||||||
~/.local/share/omarchy/bin/omarchy-refresh-waybar
|
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
|
||||||
~/.local/share/omarchy/bin/omarchy-refresh-waybar
|
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
|
||||||
~/.local/share/omarchy/bin/omarchy-refresh-walker
|
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
|
||||||
~/.local/share/omarchy/bin/omarchy-refresh-walker
|
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"
|
||||||
~/.local/share/omarchy/bin/omarchy-refresh-plymouth
|
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
|
||||||
|
|
||||||
~/.local/share/omarchy/bin/omarchy-refresh-hyprsunset
|
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
|
||||||
|
|
||||||
~/.local/share/omarchy/bin/omarchy-restart-waybar
|
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
|
||||||
~/.local/share/omarchy/bin/omarchy-refresh-config waybar/style.css
|
omarchy-refresh-config waybar/style.css
|
||||||
~/.local/share/omarchy/bin/omarchy-restart-waybar
|
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
|
||||||
~/.local/share/omarchy/bin/omarchy-refresh-hypridle
|
omarchy-refresh-hypridle
|
||||||
~/.local/share/omarchy/bin/omarchy-refresh-hyprlock
|
omarchy-refresh-hyprlock
|
||||||
fi
|
fi
|
||||||
|
@ -1,5 +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
|
||||||
~/.local/share/omarchy/bin/omarchy-refresh-hypridle
|
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
|
||||||
~/.local/share/omarchy/bin/omarchy-refresh-walker
|
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
|
||||||
~/.local/share/omarchy/bin/omarchy-refresh-waybar
|
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)"
|
||||||
~/.local/share/omarchy/bin/omarchy-refresh-hypridle
|
omarchy-refresh-hypridle
|
||||||
|
@ -1,2 +1,2 @@
|
|||||||
echo "Add chromium-flags.conf"
|
echo "Add chromium-flags.conf"
|
||||||
~/.local/share/omarchy/bin/omarchy-refresh-config chromium-flags.conf
|
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"
|
||||||
~/.local/share/omarchy/bin/omarchy-restart-walker
|
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
|
||||||
~/.local/share/omarchy/bin/omarchy-refresh-waybar
|
omarchy-refresh-waybar
|
||||||
fi
|
fi
|
||||||
|
@ -4,7 +4,7 @@ if [[ ! -f ~/.config/hypr/autostarts.conf ]]; then
|
|||||||
echo -e "\nOmarchy now splits default .config/hypr/hyprland.conf into sub-configs."
|
echo -e "\nOmarchy now splits default .config/hypr/hyprland.conf into sub-configs."
|
||||||
echo -e "Resetting to defaults will overwrite your configuration, but save it as .bak.\n"
|
echo -e "Resetting to defaults will overwrite your configuration, but save it as .bak.\n"
|
||||||
if gum confirm "Use new default hyprland.conf config?"; then
|
if gum confirm "Use new default hyprland.conf config?"; then
|
||||||
~/.local/share/omarchy/bin/omarchy-refresh-hyprland || true
|
omarchy-refresh-hyprland || true
|
||||||
else
|
else
|
||||||
echo "Left your existing configuration in place!"
|
echo "Left your existing configuration in place!"
|
||||||
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
|
||||||
~/.local/share/omarchy/bin/omarchy-restart-swayosd
|
omarchy-restart-swayosd
|
||||||
fi
|
fi
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
echo "Update and restart Walker to resolve stuck Omarchy menu"
|
echo "Update and restart Walker to resolve stuck Omarchy menu"
|
||||||
|
|
||||||
yay -Sy --noconfirm walker-bin
|
yay -Sy --noconfirm walker-bin
|
||||||
~/.local/share/omarchy/bin/omarchy-restart-walker
|
omarchy-restart-walker
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
echo "Update Waybar config to fix path issue with update-available icon click"
|
echo "Update Waybar config to fix path issue with update-available icon click"
|
||||||
|
|
||||||
if grep -q "alacritty --class Omarchy --title Omarchy -e omarchy-update" ~/.config/waybar/config.jsonc; then
|
if grep -q "alacritty --class Omarchy --title Omarchy -e omarchy-update" ~/.config/waybar/config.jsonc; then
|
||||||
sed -i 's|\("on-click": "alacritty --class Omarchy --title Omarchy -e \)omarchy-update"|\1~/.local/share/omarchy/bin/omarchy-update"|' ~/.config/waybar/config.jsonc
|
sed -i 's|\("on-click": "alacritty --class Omarchy --title Omarchy -e \)omarchy-update"|\1omarchy-update"|' ~/.config/waybar/config.jsonc
|
||||||
~/.local/share/omarchy/bin/omarchy-restart-waybar
|
omarchy-restart-waybar
|
||||||
fi
|
fi
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
echo "Fix the expand icon margin in the Waybar style"
|
echo "Fix the expand icon margin in the Waybar style"
|
||||||
|
|
||||||
~/.local/share/omarchy/bin/omarchy-refresh-config waybar/style.css
|
omarchy-refresh-config waybar/style.css
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
echo "Update OS icon in About from Windows to Arch"
|
echo "Update OS icon in About from Windows to Arch"
|
||||||
|
|
||||||
~/.local/share/omarchy/bin/omarchy-refresh-config fastfetch/config.jsonc
|
omarchy-refresh-config fastfetch/config.jsonc
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
echo "Lock 1password on screen lock"
|
echo "Lock 1password on screen lock"
|
||||||
|
|
||||||
if ! grep -q "omarchy-lock-screen" ~/.config/hypr/hypridle.conf; then
|
if ! grep -q "omarchy-lock-screen" ~/.config/hypr/hypridle.conf; then
|
||||||
~/.local/share/omarchy/bin/omarchy-refresh-hypridle
|
omarchy-refresh-hypridle
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user