Add Sway SDDM greeter configuration

This commit is contained in:
Aleksei Bavshin 2022-06-05 18:00:27 -07:00
commit 97546ddc70
No known key found for this signature in database
GPG key ID: 4F071603387A382A
2 changed files with 19 additions and 0 deletions

9
sddm/sddm-greeter.config Normal file
View file

@ -0,0 +1,9 @@
# Sway configuration for SDDM greeter display server.
xwayland disable
swaybg_command -
set $mod Mod4
# Exit sway (logs you out of your Wayland session)
bindsym $mod+Shift+e exec swaynag -t warning -m 'You pressed the exit shortcut. Do you really want to exit sway? This will end your Wayland session.' -B 'Yes, exit sway' 'swaymsg exit'
# Show sddm-greeter as fullscreen
for_window [app_id="sddm-greeter"] fullscreen

10
sddm/wayland-sway.conf Normal file
View file

@ -0,0 +1,10 @@
[General]
DisplayServer=wayland
GreeterEnvironment=QT_WAYLAND_SHELL_INTEGRATION=xdg-shell
InputMethod=
[Theme]
Current=02-lxqt-fedora
[Wayland]
CompositorCommand=sway -c /etc/sway/sddm-greeter.config