all repos — nixfiles @ b77835e16f91967281209d1c30605207f126dd72

System and user configuration, managed by nix and home-manager

Make i3 window-workspace assignments system-specific

Alan Pearce
commit

b77835e16f91967281209d1c30605207f126dd72

parent

f6dd29fb7b85c0ab069b3d5f2173adf34a410e88

2 files changed, 10 insertions(+), 7 deletions(-)

jump to
M system/satoshipad.nixsystem/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.nixuser/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$"; }