dust/sway: disable xwayland

This commit is contained in:
Guanran Wang 2024-08-15 23:33:15 +08:00
parent b5b4208b30
commit c19f0ef0e1
Signed by: nyancat
GPG key ID: 91F97D9ED12639CF
2 changed files with 2 additions and 9 deletions

View file

@ -35,12 +35,8 @@
checkConfig = false; # wtf?
wrapperFeatures.gtk = true;
systemd.xdgAutostart = true;
xwayland = false;
config = {
### Startup
startup = [
{command = "systemctl --user import-environment PATH";}
];
### Visuals
output."*".bg = "${inputs.self.legacyPackages.${pkgs.stdenv.hostPlatform.system}.background} fill";
bars = [

View file

@ -129,10 +129,7 @@
services.greetd = {
enable = true;
settings.default_session.command = "${lib.getExe pkgs.greetd.tuigreet} --cmd ${pkgs.writeShellScript "sway" ''
while read -r l; do
eval export $l
done < <(/run/current-system/systemd/lib/systemd/user-environment-generators/30-systemd-environment-d-generator)
dbus-update-activation-environment --all --systemd
exec systemd-cat --identifier=sway sway
''}";
};