Autostart ktorrent on Vanguard

This commit is contained in:
Evie Litherland-Smith 2024-07-31 07:03:42 +01:00
parent 017972db19
commit be7cc86ee2

View file

@ -11,31 +11,7 @@
./streaming/default.nix ./streaming/default.nix
./desktop/plasma/default.nix ./desktop/plasma/default.nix
]; ];
wayland.windowManager.sway = lib.mkIf config.wayland.windowManager.sway.enable { xdg.configFile = {
config = { "autostart/org.kde.ktorrent.desktop".source = "${pkgs.kdePackages.ktorrent}/share/applications/org.kde.ktorrent.desktop";
output = {
"Microstep MSI G27CQ4 E2 Unknown" = {
mode = "2560x1440@120Hz";
position = "1920 0";
adaptive_sync = "on";
};
"Acer Technologies ED270R TJMEE0043W01" = {
mode = "1920x1080@120Hz";
position = "0 140";
adaptive_sync = "off";
};
};
workspaceOutputAssign = [
{
output = "DP-1";
workspace = "2";
}
{
output = "DP-2";
workspace = "1";
}
];
startup = [ { command = "${pkgs.xorg.xrandr}/bin/xrandr --output DP-1 --primary"; } ];
};
}; };
} }