nix-config/sh/205-sddm

25 lines
631 B
Plaintext
Raw Normal View History

2018-08-31 22:02:48 +02:00
#!/bin/sh
#
# SDDM is the standard display manager for KDE Plasma.
#
# It also has exceptionally well HiDPI support, more so
# than LightDM. The last few lines enable just that. Remove
# them if you're using a regular display.
#
# https://wiki.archlinux.org/index.php/SDDM
set -xe
sudo pacman -S sddm
sudo pacman -S sddm-kcm
systemctl enable sddm.service
echo '[Wayland]' >> /etc/sddm.conf
echo 'EnableHiDPI=true' >> /etc/sddm.conf
echo '[X11]' >> /etc/sddm.conf
echo 'EnableHiDPI=true' >> /etc/sddm.conf
echo 'ServerArguments= -dpi 192' >> /etc/sddm.conf