mirror of
https://github.com/basecamp/omarchy.git
synced 2025-07-27 12:19:24 +00:00
Silence wofi output when run from cli
This commit is contained in:
@ -25,7 +25,7 @@ selection=$(printf '%s\n' "${themes[@]}" | wofi \
|
||||
--width 150 \
|
||||
--height 300 \
|
||||
-O alphabetical \
|
||||
--style ~/.local/share/omarchy/default/wofi/select.css)
|
||||
--style ~/.local/share/omarchy/default/wofi/select.css 2>/dev/null)
|
||||
|
||||
# Remove any Pango markup before converting back to filename
|
||||
clean_selection=$(echo "$selection" | sed -E 's/<[^>]+>//g')
|
||||
@ -35,4 +35,3 @@ selected_theme=$(echo "$clean_selection" | tr '[:upper:]' '[:lower:]' | tr ' ' '
|
||||
|
||||
# Apply the selected theme
|
||||
"$HOME/.local/share/omarchy/bin/omarchy-theme-set" "$selected_theme"
|
||||
|
||||
|
Reference in New Issue
Block a user