From ebb0867535bc529ea286ed140cbd93abb39f418b Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Sat, 7 Jan 2023 20:19:40 +0000 Subject: [PATCH] Remove lightdm --- files/xsession.patch | 14 -------------- tasks/boot.yml | 38 -------------------------------------- 2 files changed, 52 deletions(-) delete mode 100644 files/xsession.patch diff --git a/files/xsession.patch b/files/xsession.patch deleted file mode 100644 index aa06e4e..0000000 --- a/files/xsession.patch +++ /dev/null @@ -1,14 +0,0 @@ ---- /etc/lightdm/Xsession 2019-05-13 20:23:49.478590270 +0100 -+++ /etc/lightdm/Xsession 2019-05-13 20:33:17.897352389 +0100 -@@ -67,8 +67,9 @@ - - if ! [[ "${@}" =~ plasma|lxqt ]]; then - # Fix ugly styles for Qt applications when running under GTK-based desktops and Qt 5.7+ -- export QT_QPA_PLATFORMTHEME='qt5ct' -- unset QT_STYLE_OVERRIDE -+ # export QT_QPA_PLATFORMTHEME='qt5ct' -+ # unset QT_STYLE_OVERRIDE -+ echo 'Not this time!' - fi - - echo "X session wrapper complete, running session $*" diff --git a/tasks/boot.yml b/tasks/boot.yml index d9372a8..08fe31d 100644 --- a/tasks/boot.yml +++ b/tasks/boot.yml @@ -1,42 +1,9 @@ -- name: Install LightDM - kewlfft.aur.aur: - name: "{{ item }}" - become: true - become_user: aur_builder - loop: - - lightdm - - lightdm-gtk-greeter - - name: Disable PC Speaker modprobe: name: pcspkr state: absent failed_when: false -- name: Set lightdm greeter - ini_file: - path: /etc/lightdm/lightdm.conf - section: Seat:* - option: greeter-session - value: lightdm-gtk-greeter - mode: 0644 - -- name: Set LightDM settings - ini_file: - path: /etc/lightdm/lightdm-gtk-greeter.conf - section: greeter - option: "{{ item.key }}" - value: "{{ item.value }}" - mode: 0644 - loop_control: - label: "{{ item.key }}" - loop: - - {key: background, value: /usr/share/backgrounds/gnome/adwaita-night.jpg} - - {key: theme-name, value: Matcha-dark-aliz} - - {key: icon-theme-name, value: Numix-Square} - - {key: hide-user-image, value: "true"} - - {key: clock-format, value: "%H:%M:%S"} - - name: Install file system helpers kewlfft.aur.aur: name: "{{ item }}" @@ -96,8 +63,3 @@ - name: Rebuild initrd command: mkinitcpio -P when: plymouth_config.changed or initrd_hooks.changed - -- name: Enable lightdm - systemd: - name: lightdm - enabled: true