3 #############################################
4 ## installs all instantOS tools ##
5 #############################################
8 echo "installing instantOS tools"
10 # laptop specific stuff
11 if acpi | grep -q '[0-9]%' &>/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 mkdir -p instantos/notifications &>/dev/null
30 # set instantwm as default for lightdm
31 echo '[Desktop]' >.dmrc
32 echo 'Session=instantwm' >>.dmrc