3 #############################################
4 ## installs all instantOS tools ##
5 #############################################
7 cd || echo "ERROR: could not go to HOME"
8 echo "installing instantOS tools"
10 # laptop specific stuff
11 if acpi | grep -q '.' &>/dev/null; then
12 # config file to indicate being a laptop
13 echo "device appears to be a laptop"
17 # needed for nm-applet start
18 if lspci | grep -Eiq '(wifi|wireless)'; then
19 echo "device has wifi capabilities"
24 # needed to disable bluetooth service
25 if lsusb | grep -iq 'bluetooth'; then
26 echo "device has bluetooth"
27 iconf -i hasbluetooth 1
30 # change some behaviour like light for setting brightness
40 mkdir -p ~/.config/instantos
42 iconf -i userinstall 1