OSDN Git Service

clean up
[instantos/instantOS.git] / userinstall.sh
1 #!/usr/bin/env bash
2
3 #############################################
4 ## installs all instantOS tools            ##
5 #############################################
6
7 cd
8 echo "installing instantOS tools"
9
10 # laptop specific stuff
11 if acpi | grep -q '[0-9]%' &>/dev/null; then
12     # config file to indicate being a laptop
13     touch .cache/islaptop
14 fi
15
16 cd
17 mkdir -p instantos/notifications &>/dev/null
18
19 cd instantos
20 rm -rf wallpapers
21 mkdir wallpapers
22
23 # set instantwm as default for lightdm
24 echo '[Desktop]' >.dmrc
25 echo 'Session=instantwm' >>.dmrc