aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStonewall Jackson <stonewall@sacredheartsc.com>2023-04-12 08:46:43 -0400
committerStonewall Jackson <stonewall@sacredheartsc.com>2023-04-12 08:46:43 -0400
commit01516b1b99694124173300b6e74b46fb5b121998 (patch)
treefc25efdfac7e6a8e36fa1e934dbfddee9059ed44
parent3f41f3f08ab3558eecaaaf97694f5b7268440809 (diff)
downloadselfhosted-01516b1b99694124173300b6e74b46fb5b121998.tar.gz
selfhosted-01516b1b99694124173300b6e74b46fb5b121998.zip
set font for lightdm greeter
-rw-r--r--roles/linux_desktop/README.md1
-rw-r--r--roles/linux_desktop/defaults/main.yml1
-rw-r--r--roles/linux_desktop/templates/etc/lightdm/lightdm-gtk-greeter.conf.j22
-rw-r--r--roles/linux_desktop/vars/main.yml1
4 files changed, 4 insertions, 1 deletions
diff --git a/roles/linux_desktop/README.md b/roles/linux_desktop/README.md
index 21ab5e6..6e95c64 100644
--- a/roles/linux_desktop/README.md
+++ b/roles/linux_desktop/README.md
@@ -31,6 +31,7 @@ Variable | Default |
`linux_desktop_lightdm_gtk_theme` | `Qogir` | LightDM GTK theme name
`linux_desktop_lightdm_icon_theme` | `Qogir` | LightDM icon theme name
`linux_desktop_lightdm_cursor_theme` | `Qogir` | LightDM cursor theme name
+`linux_desktop_lightdm_font_name` | `Liberation Sans 9` | LightDM font name
Usage
-----
diff --git a/roles/linux_desktop/defaults/main.yml b/roles/linux_desktop/defaults/main.yml
index a4f5a30..048391c 100644
--- a/roles/linux_desktop/defaults/main.yml
+++ b/roles/linux_desktop/defaults/main.yml
@@ -10,3 +10,4 @@ linux_desktop_lightdm_background: /usr/share/backgrounds/rocky-default-9-onyx-mo
linux_desktop_lightdm_gtk_theme: Qogir
linux_desktop_lightdm_icon_theme: Qogir
linux_desktop_lightdm_cursor_theme: Qogir
+linux_desktop_lightdm_font_name: Liberation Sans 9
diff --git a/roles/linux_desktop/templates/etc/lightdm/lightdm-gtk-greeter.conf.j2 b/roles/linux_desktop/templates/etc/lightdm/lightdm-gtk-greeter.conf.j2
index f0b5c99..63c08ab 100644
--- a/roles/linux_desktop/templates/etc/lightdm/lightdm-gtk-greeter.conf.j2
+++ b/roles/linux_desktop/templates/etc/lightdm/lightdm-gtk-greeter.conf.j2
@@ -4,7 +4,7 @@ theme-name = {{ linux_desktop_lightdm_gtk_theme }}
icon-theme-name = {{ linux_desktop_lightdm_icon_theme }}
cursor-theme-name = {{ linux_desktop_lightdm_cursor_theme }}
cursor-theme-size = 16
-font-name = Sans 9
+font-name = {{ linux_desktop_lightdm_font_name }}
xft-rgba = rgb
xft-hintstyle = hintfull
hide-user-image = true
diff --git a/roles/linux_desktop/vars/main.yml b/roles/linux_desktop/vars/main.yml
index f3d0a66..516d3e9 100644
--- a/roles/linux_desktop/vars/main.yml
+++ b/roles/linux_desktop/vars/main.yml
@@ -48,6 +48,7 @@ linux_desktop_packages:
- xfce4-notifyd
- xfce4-screenshooter
- xfce4-whiskermenu-plugin
+ - engrampa
# lightdm
- lightdm