Drop X.org/i3
authorMartin Pitt <martin@piware.de>
Thu, 30 Apr 2020 20:01:20 +0000 (22:01 +0200)
committerMartin Pitt <martin@piware.de>
Wed, 15 Jul 2020 07:30:38 +0000 (09:30 +0200)
pitti-desktop.yaml
pitti-post.sh

index 05530d2..f45cc2e 100644 (file)
@@ -109,24 +109,6 @@ packages:
   - 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
index 66acc25..595b70f 100755 (executable)
@@ -22,41 +22,6 @@ EOF
 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