Commit a8aef5799197

Vincent Demeester <vincent@sbr.pm>
2025-07-30 10:32:04
home/sway: always put firefox to workspace 1
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
1 parent eee62e4
Changed files (1)
home
common
desktop
home/common/desktop/sway/default.nix
@@ -167,11 +167,17 @@ in
           "Shift+XF86MonBrightnessUp" = "exec ${pkgs.brightnessctl}/bin/brightnessctl set 1%+";
           "Shift+XF86MonBrightnessDown" = "exec ${pkgs.brightnessctl}/bin/brightnessctl set 1%-";
         };
+      keycodebindings = { };
       window.commands = [
+        # firefox
         {
           command = "inhibit_idle fullscreen";
           criteria.app_id = "firefox";
         }
+        {
+          command = "move to workspace 1";
+          criteria.app_id = "firefox";
+        }
         {
           command = "floating enable";
           criteria = {