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?
|
checkConfig = false; # wtf?
|
||||||
wrapperFeatures.gtk = true;
|
wrapperFeatures.gtk = true;
|
||||||
systemd.xdgAutostart = true;
|
systemd.xdgAutostart = true;
|
||||||
|
xwayland = false;
|
||||||
config = {
|
config = {
|
||||||
### Startup
|
|
||||||
startup = [
|
|
||||||
{command = "systemctl --user import-environment PATH";}
|
|
||||||
];
|
|
||||||
|
|
||||||
### Visuals
|
### Visuals
|
||||||
output."*".bg = "${inputs.self.legacyPackages.${pkgs.stdenv.hostPlatform.system}.background} fill";
|
output."*".bg = "${inputs.self.legacyPackages.${pkgs.stdenv.hostPlatform.system}.background} fill";
|
||||||
bars = [
|
bars = [
|
||||||
|
|
|
@ -129,10 +129,7 @@
|
||||||
services.greetd = {
|
services.greetd = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings.default_session.command = "${lib.getExe pkgs.greetd.tuigreet} --cmd ${pkgs.writeShellScript "sway" ''
|
settings.default_session.command = "${lib.getExe pkgs.greetd.tuigreet} --cmd ${pkgs.writeShellScript "sway" ''
|
||||||
while read -r l; do
|
dbus-update-activation-environment --all --systemd
|
||||||
eval export $l
|
|
||||||
done < <(/run/current-system/systemd/lib/systemd/user-environment-generators/30-systemd-environment-d-generator)
|
|
||||||
|
|
||||||
exec systemd-cat --identifier=sway sway
|
exec systemd-cat --identifier=sway sway
|
||||||
''}";
|
''}";
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue