From b77835e16f91967281209d1c30605207f126dd72 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Tue, 1 Aug 2023 16:27:01 +0200 Subject: Make i3 window-workspace assignments system-specific --- system/satoshipad.nix | 10 ++++++++++ user/settings/i3.nix | 7 ------- 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/system/satoshipad.nix b/system/satoshipad.nix index d3f4c1a0..662d3359 100644 --- a/system/satoshipad.nix +++ b/system/satoshipad.nix @@ -43,5 +43,15 @@ networking.hostName = "satoshipad"; services.avahi.hostName = "alan-satoshipay"; + xsession.windowManager.i3.config = { + assigns = { + "1" = [{ class = "^Ripcord$"; }]; + "3" = [{ class = "^Firefox Developer Edition$"; }]; + "8" = [{ class = "^Emacs$"; }]; + "9" = [{ class = "\.exe$"; }]; + "10" = [{ class = "^Barrier$"; }]; + }; + }; + system.stateVersion = "18.03"; } diff --git a/user/settings/i3.nix b/user/settings/i3.nix index 6265e764..79a7811d 100644 --- a/user/settings/i3.nix +++ b/user/settings/i3.nix @@ -17,13 +17,6 @@ enable = true; config = { modifier = mod; - assigns = { - "1" = [{ class = "^Ripcord$"; }]; - "3" = [{ class = "^Firefox Developer Edition$"; }]; - "8" = [{ class = "^Emacs$"; }]; - "9" = [{ class = "\.exe$"; }]; - "10" = [{ class = "^Barrier$"; }]; - }; floating = { criteria = [ { class = "Pinentry$"; } -- cgit 1.4.1