dust/sway: disable xwayland
This commit is contained in:
parent
b5b4208b30
commit
c19f0ef0e1
2 changed files with 2 additions and 9 deletions
|
@ -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 = [
|
||||
|
|
|
@ -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
|
||||
''}";
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue