Prepare for use in the new menu system
This commit is contained in:
parent
29f4ee3524
commit
62975f0a23
@ -1,5 +1,9 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Show logo
|
||||
clear
|
||||
cat <~/.local/share/omarchy/logo.txt
|
||||
|
||||
font=$(
|
||||
fc-list :spacing=100 -f "%{family[0]}\n" |
|
||||
grep -v -i -E 'emoji|signwriting' |
|
||||
@ -10,3 +14,5 @@ font=$(
|
||||
if [[ -n "$font" ]]; then
|
||||
sed -i "s/family = \".*\"/family = \"$font\"/g" ~/.config/alacritty/alacritty.toml
|
||||
fi
|
||||
|
||||
gum spin --spinner "globe" --title "Done!" -- sleep 2
|
||||
|
@ -23,3 +23,5 @@ yay -Syu --noconfirm
|
||||
if [ "$(uname -r | sed 's/-arch/\.arch/')" != "$(pacman -Q linux | awk '{print $2}')" ]; then
|
||||
gum confirm "Linux kernel has been updated. Reboot?" && sudo reboot now
|
||||
fi
|
||||
|
||||
gum spin --spinner "globe" --title "Done!" -- sleep 2
|
||||
|
Loading…
x
Reference in New Issue
Block a user