Make i3 window-workspace assignments system-specific
Alan Pearce alan@alanpearce.eu
Tue, 01 Aug 2023 16:27:01 +0200
2 files changed, 10 insertions(+), 7 deletions(-)
M system/satoshipad.nix → 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"; }
M user/settings/i3.nix → 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$"; }