summary refs log tree commit diff stats
path: root/user
diff options
context:
space:
mode:
Diffstat (limited to 'user')
-rw-r--r--user/satoshipad.nix5
-rw-r--r--user/settings/i3.nix8
2 files changed, 8 insertions, 5 deletions
diff --git a/user/satoshipad.nix b/user/satoshipad.nix
index f86e049f..e1326b8e 100644
--- a/user/satoshipad.nix
+++ b/user/satoshipad.nix
@@ -33,11 +33,6 @@
 
   xsession.windowManager.i3 = {
     config = {
-      assigns = {
-        "1" = [{ class = "^Firefox Developer Edition$"; }];
-        "2" = [{ class = "^Ripcord$"; }];
-        "6" = [{ class = "^Emacs$"; }];
-      };
       startup = [
         { command = "firefox-devedition"; }
         { command = "ripcord"; }
diff --git a/user/settings/i3.nix b/user/settings/i3.nix
index 8dbf043e..707791c3 100644
--- a/user/settings/i3.nix
+++ b/user/settings/i3.nix
@@ -14,6 +14,14 @@
     enable = true;
     config = {
       modifier = mod;
+      assigns = {
+        "1" = [{ class = "^Ripcord$"; }];
+        "3" = [{ class = "^Firefox Developer Edition$"; }];
+        "4" = [{ class = "^Firefox$"; }];
+        "8" = [{ class = "^Emacs$"; }];
+        "9" = [{ class = "\.exe$"; }];
+        "0" = [{ class = "^Barrier$"; }];
+      };
       floating = {
         criteria = [
           { class = "Pinentry$"; }