#!/bin/bash # this program reads a list of default applications from iconf # and then symlinks them to the home config dir to be executed from there echo "setting up default applications" [ -e ~/.config/instantos/default ] || mkdir -p ~/.config/instantos/default cd ~/.config/instantos/default || exit XDGBROWSER="$(xdg-settings get default-web-browser)" BROWSERLOCATION="$(grep -m 1 Exec "$1" chmod +x "$1" fi } setprogram terminal st setprogram appmenu appmenu setprogram browser firefox setprogram filemanager nautilus setprogram systemmonitor mate-system-monitor setprogram appmenu appmenu setprogram editor nvim-qt