From be7cc86ee250d1bd1317c7470ee7180d0028ad23 Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Wed, 31 Jul 2024 07:03:42 +0100 Subject: [PATCH] Autostart ktorrent on Vanguard --- home/Vanguard.nix | 28 ++-------------------------- 1 file changed, 2 insertions(+), 26 deletions(-) diff --git a/home/Vanguard.nix b/home/Vanguard.nix index 63f19706..9f23b9d0 100644 --- a/home/Vanguard.nix +++ b/home/Vanguard.nix @@ -11,31 +11,7 @@ ./streaming/default.nix ./desktop/plasma/default.nix ]; - wayland.windowManager.sway = lib.mkIf config.wayland.windowManager.sway.enable { - config = { - 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"; } ]; - }; + xdg.configFile = { + "autostart/org.kde.ktorrent.desktop".source = "${pkgs.kdePackages.ktorrent}/share/applications/org.kde.ktorrent.desktop"; }; }