about summary refs log tree commit diff
path: root/users/fcuny/desktop/wm
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2022-02-26 20:07:40 -0800
committerFranck Cuny <franck@fcuny.net>2022-02-27 13:05:30 -0800
commit924402904e8fcae8661971c3849e0c8596e27d8e (patch)
treed922ce82cd9e14e3e6fbde580a43be0a6da189d5 /users/fcuny/desktop/wm
parentmako: run with systemd (diff)
downloadworld-924402904e8fcae8661971c3849e0c8596e27d8e.tar.gz
sway: assign applications to workspaces
Diffstat (limited to 'users/fcuny/desktop/wm')
-rw-r--r--users/fcuny/desktop/wm/default.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/users/fcuny/desktop/wm/default.nix b/users/fcuny/desktop/wm/default.nix
index 051b88b..56ab617 100644
--- a/users/fcuny/desktop/wm/default.nix
+++ b/users/fcuny/desktop/wm/default.nix
@@ -76,6 +76,11 @@
           "xkb_options" = "ctrl:nocaps,grp:shift_caps_toggle";
         };
       };
+      assigns = {
+        "1" = [{ app_id = "emacs"; }];
+        "2" = [{ app_id = "Alacritty"; }];
+        "3" = [{ app_id = "firefox"; }];
+      };
       output = {
         "*" = {
           scale = "1.5";