From a9ff6300b443ac93e4c33e9443e91aeb5e685578 Mon Sep 17 00:00:00 2001 From: Tyler Mayoff Date: Mon, 3 Mar 2025 20:56:09 -0500 Subject: [PATCH] Cleanup and fix sway first workspace --- dot_config/flake/home/sway/default.nix | 8 ++++++-- dot_config/flake/machines/wash/configuration.nix | 6 +++++- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/dot_config/flake/home/sway/default.nix b/dot_config/flake/home/sway/default.nix index d2b609c..c324208 100644 --- a/dot_config/flake/home/sway/default.nix +++ b/dot_config/flake/home/sway/default.nix @@ -23,6 +23,12 @@ in { settings = { image = "${image}"; effect-blur = "30x3"; + + submit-on-touch = true; + + indicator = true; + clock = true; + # grace = 2; }; }; @@ -149,7 +155,6 @@ in { "${mod}+7" = "workspace number 7"; "${mod}+8" = "workspace number 8"; "${mod}+9" = "workspace number 9"; - "${mod}+0" = "workspace number 10"; # Move focused container to workspace "${mod}+Shift+1" = "move container to workspace number 1"; "${mod}+Shift+2" = "move container to workspace number 2"; @@ -160,7 +165,6 @@ in { "${mod}+Shift+7" = "move container to workspace number 7"; "${mod}+Shift+8" = "move container to workspace number 8"; "${mod}+Shift+9" = "move container to workspace number 9"; - "${mod}+Shift+0" = "move container to workspace number 10"; ## Layout diff --git a/dot_config/flake/machines/wash/configuration.nix b/dot_config/flake/machines/wash/configuration.nix index 27afaf9..a2c7c57 100644 --- a/dot_config/flake/machines/wash/configuration.nix +++ b/dot_config/flake/machines/wash/configuration.nix @@ -28,7 +28,6 @@ boot = { loader = { timeout = 0; - systemd-boot = { enable = true; configurationLimit = 5; @@ -151,12 +150,17 @@ # Install firefox. programs.firefox.enable = true; programs.fish.enable = true; + + # Sway programs.sway = { enable = true; # package = null; wrapperFeatures.gtk = true; }; + security.pam.services.swaylock = {}; + security.pam.services.swaylock.fprintAuth = true; + programs.appimage = { enable = true; binfmt = true;