14 lines
568 B
Bash
14 lines
568 B
Bash
if [ -n "$FORCE" ] || ! command -v ulauncher &>/dev/null; then
|
|
sudo add-apt-repository universe -y
|
|
sudo add-apt-repository ppa:agornostal/ulauncher -y
|
|
sudo apt update -y
|
|
sudo apt install -y ulauncher
|
|
|
|
# Start ulauncher to have it populate config before we overwrite
|
|
mkdir -p ~/.config/autostart/
|
|
cp ~/.local/share/omakub/configs/ulauncher.desktop ~/.config/autostart/ulauncher.desktop
|
|
gtk-launch ulauncher.desktop
|
|
sleep 2 # ensure enough time for ulauncher to set defaults
|
|
cp ~/.local/share/omakub/configs/ulauncher.json ~/.config/ulauncher/settings.json
|
|
fi
|