mirror of
https://github.com/basecamp/omarchy.git
synced 2025-08-01 22:39:24 +00:00
Add theme update script (#391)
This commit is contained in:
@ -30,7 +30,7 @@ main_menu() {
|
|||||||
|
|
||||||
update_menu() {
|
update_menu() {
|
||||||
show_ascii_art
|
show_ascii_art
|
||||||
local menu=("Omarchy" "Waybar" "Walker" "Plymouth" "SwayOSD" "Desktop apps" "Back")
|
local menu=("Omarchy" "Waybar" "Walker" "Plymouth" "SwayOSD" "Desktop apps" "Themes" "Back")
|
||||||
local commands=(
|
local commands=(
|
||||||
"omarchy-update"
|
"omarchy-update"
|
||||||
"omarchy-refresh-waybar"
|
"omarchy-refresh-waybar"
|
||||||
@ -38,6 +38,7 @@ update_menu() {
|
|||||||
"omarchy-refresh-plymouth"
|
"omarchy-refresh-plymouth"
|
||||||
"omarchy-refresh-swayosd"
|
"omarchy-refresh-swayosd"
|
||||||
"omarchy-refresh-applications"
|
"omarchy-refresh-applications"
|
||||||
|
"omarchy-theme-update"
|
||||||
"main_menu"
|
"main_menu"
|
||||||
)
|
)
|
||||||
local choice
|
local choice
|
||||||
|
4
bin/omarchy-theme-update
Executable file
4
bin/omarchy-theme-update
Executable file
@ -0,0 +1,4 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
for dir in ~/.config/omarchy/themes/*/; do
|
||||||
|
[ -d "$dir" ] && [ ! -L "${dir%/}" ] && echo "Updating: $(basename "$dir")" && git -C "$dir" pull
|
||||||
|
done
|
Reference in New Issue
Block a user