about summary refs log tree commit diff
path: root/users/fcuny/desktop/sway/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'users/fcuny/desktop/sway/default.nix')
-rw-r--r--users/fcuny/desktop/sway/default.nix11
1 files changed, 2 insertions, 9 deletions
diff --git a/users/fcuny/desktop/sway/default.nix b/users/fcuny/desktop/sway/default.nix
index e1ef951..f765363 100644
--- a/users/fcuny/desktop/sway/default.nix
+++ b/users/fcuny/desktop/sway/default.nix
@@ -2,6 +2,8 @@
 
 {
   imports = [
+    ./waybar.nix
+    ./sway-idle.nix
     ./wofi.nix
   ];
 
@@ -24,15 +26,6 @@
       modifier = "Mod4";
       terminal = "${config.programs.alacritty.package}/bin/alacritty";
       menu = "${pkgs.wofi}/bin/wofi -S run";
-      defaultWorkspace = "workspace number 1";
-      startup = [
-        # Initial lock
-        { command = "${pkgs.swaylock-effects}/bin/swaylock"; }
-        # Start idle daemon
-        { command = "${pkgs.swayidle}/bin/swayidle -w"; }
-        # Start waybar
-        { command = "${pkgs.waybar}/bin/waybar"; }
-      ];
       bars = [ ];
     };
   };