Move workspace assignments to i3 module
Alan Pearce alan@alanpearce.eu
Thu, 26 Nov 2020 10:16:29 +0100
2 files changed, 8 insertions(+), 5 deletions(-)
M user/satoshipad.nix → user/satoshipad.nix
@@ -33,11 +33,6 @@ programs.tabnine.config.local_enabled = "No"; xsession.windowManager.i3 = { config = { - assigns = { - "1" = [{ class = "^Firefox Developer Edition$"; }]; - "2" = [{ class = "^Ripcord$"; }]; - "6" = [{ class = "^Emacs$"; }]; - }; startup = [ { command = "firefox-devedition"; } { command = "ripcord"; }
M user/settings/i3.nix → 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$"; }