# laptop specific background jobs
if [ -n "$ISLAPTOP" ]; then
+echo "libinput gestures"
command -v libinput-gestures \
&>/dev/null &&
- libinput-gestures
+ libinput-gestures &
fi
source /usr/bin/instantstatus &
if acpi | grep -q '[0-9]%' &>/dev/null; then
# config file to indicate being a laptop
echo "device appears to be a laptop"
- iconf islaptop 1
+ iconf -i islaptop 1
fi
# needed for nm-applet start
if lspci | grep -Eiq '(wifi|wireless)'; then
echo "device has wifi capabilities"
- iconf haswifi 1
+ iconf -i haswifi 1
fi
-cd
-mkdir -p instantos/notifications &>/dev/null
-
-cd instantos
-rm -rf wallpapers
-mkdir wallpapers
-
-# set instantwm as default for lightdm
-echo '[Desktop]' >.dmrc
-echo 'Session=instantwm' >>.dmrc
+# needed to disable bluetooth service
+if lsusb | grep -iq 'bluetooth'; then
+ echo "device has bluetooth"
+ iconf -i hasbluetooth 1
+fi