- gnome-disk-utility
- gtimelog
-# i3/X.org desktop
- - xorg-x11-server-Xorg
- - xorg-x11-drv-libinput
- - mesa-dri-drivers
- - lxrandr
- - xorg-x11-server-utils
- - xorg-x11-utils
- - xbacklight
- - i3
- - i3lock
- - lxdm
- - wmctrl
- - dunst
- - firefox
- - network-manager-applet
- - libappindicator-gtk3
- - gnome-screenshot
-
# sway/wayland desktop
- sway
- swayidle
ln -sfn /usr/lib/systemd/system/iwd.service /etc/systemd/system/multi-user.target.wants/iwd.service
ln -sfn /run/NetworkManager/resolv.conf /etc/resolv.conf
-# X11/DM config
-cat <<EOF > /etc/X11/xorg.conf.d/01-intel.conf
-Section "Device"
- Identifier "Intel"
- Driver "intel"
-EndSection
-EOF
-
-cat <<EOF > /etc/lxdm/LoginReady
-#!/bin/sh
-export XAUTHORITY=/run/lxdm/lxdm-:0.auth
-if xrandr | grep -q 'HDMI3 connected'; then
- xrandr --output LVDS1 --off --output HDMI3 --primary
-fi
-EOF
-chmod a+x /etc/lxdm/LoginReady
-
-# Lock screen on suspend
-cat <<EOF > /etc/systemd/system/suspend-lock.service
-[Unit]
-Description=Lock martin's i3 on suspend
-Before=sleep.target
-
-[Service]
-User=martin
-Environment=DISPLAY=:0
-#Environment=XAUTHORITY=/run/lxdm/1000/.Xauthority
-ExecStart=/usr/bin/i3lock -n
-
-[Install]
-WantedBy=sleep.target
-EOF
-mkdir -p /etc/systemd/system/sleep.target.wants/
-ln -sf /etc/systemd/system/suspend-lock.service /etc/systemd/system/sleep.target.wants/suspend-lock.service
-
# enable other units
ln -s /usr/lib/systemd/system/systemd-timesyncd.service /etc/systemd/system/sysinit.target.wants/systemd-timesyncd.service
ln -s /usr/lib/systemd/system/cockpit.socket /etc/systemd/system/sockets.target.wants/cockpit.socket