Hyprland-dotfiles/.install/apps.sh

32 lines
1.2 KiB
Bash
Raw Normal View History

2024-02-29 11:16:36 -05:00
#!/bin/bash
# ------------------------------------------------------
# Apps Installation
# ------------------------------------------------------
echo -e "${GREEN}"
figlet "ML4W Apps"
echo -e "${NONE}"
2024-02-29 11:33:59 -05:00
if [ ! -d $HOME/.local/share/applications/ ] ;then
mkdir $HOME/.local/share/applications
echo ":: $HOME/.local/share/applications created"
fi
2024-02-29 11:16:36 -05:00
sed -i "s|HOME|${HOME}|g" $HOME/dotfiles/apps/ml4w-welcome.desktop
cp $HOME/dotfiles/apps/ml4w-welcome.desktop $HOME/.local/share/applications
echo ":: ML4W Welcome App installed successfully"
2024-03-07 09:51:34 -05:00
sed -i "s|HOME|${HOME}|g" $HOME/dotfiles/apps/ml4w-dotfiles-settings.desktop
cp $HOME/dotfiles/apps/ml4w-dotfiles-settings.desktop $HOME/.local/share/applications
echo ":: ML4W Dotfiles Settings App installed successfully"
2024-04-11 14:32:57 -04:00
sed -i "s|HOME|${HOME}|g" $HOME/dotfiles/apps/ml4w-hyprland-settings.desktop
cp $HOME/dotfiles/apps/ml4w-hyprland-settings.desktop $HOME/.local/share/applications
echo ":: ML4W Hyprland Settings App installed successfully"
2024-04-29 11:01:51 -04:00
echo
if [ -f ~/.config/ml4w-hyprland-settings/hyprctl.sh ] ;then
echo ":: Starting restore from ML4W Hyprland Settings App"
~/.config/ml4w-hyprland-settings/hyprctl.sh
fi
echo