13 lines
518 B
Bash
13 lines
518 B
Bash
if ! 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
|
|
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
|