all repos — nixfiles @ 05dd85210e465caa44ef7254f2781b2d12ba2882

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

Reformat files with alejandra

Alan Pearce
commit

05dd85210e465caa44ef7254f2781b2d12ba2882

parent

472dbbdbb246cf3d8ce3a5c3c6cefaa07b7589df

1 file changed, 49 insertions(+), 21 deletions(-)

changed files
M user/settings/i3.nixuser/settings/i3.nix
@@ -1,6 +1,9 @@
-{ config, pkgs, lib, ... }: - { + config, + pkgs, + lib, + ... +}: { xdg.configFile.i3status = { recursive = true; source = ../i3/i3status;
@@ -9,32 +12,58 @@ xsession.windowManager.i3 = let
mod = "Mod4"; mode_system = "System (l) lock, (e) logout, (s) suspend, (h) hibernate, (r) reboot, (Shift+s) shutdown"; locker = "${pkgs.xautolock}/bin/xautolock -locknow"; - in - { + in { enable = true; config = { modifier = mod; assigns = { - "1" = [{ class = "^Ripcord$"; }]; - "3" = [{ class = "^Firefox Developer Edition$"; }]; - "8" = [{ class = "^Emacs$"; }]; - "9" = [{ class = "\.exe$"; }]; - "10" = [{ class = "^Barrier$"; }]; + "1" = [{class = "^Ripcord$";}]; + "3" = [{class = "^Firefox Developer Edition$";}]; + "8" = [{class = "^Emacs$";}]; + "9" = [{class = "\.exe$";}]; + "10" = [{class = "^Barrier$";}]; }; floating = { criteria = [ - { class = "Pinentry$"; } + {class = "Pinentry$";} # https://github.com/ValveSoftware/steam-for-linux/issues/1040 - { class = "^Steam$"; title = "^Friends$"; } - { class = "^Steam$"; title = "Steam - News"; } - { class = "^Steam$"; title = ".* - Chat"; } - { class = "^Steam$"; title = "^Settings$"; } - { class = "^Steam$"; title = ".* - event started"; } - { class = "^Steam$"; title = ".* CD key"; } - { class = "^Steam$"; title = "^Steam - Self Updater$"; } - { class = "^Steam$"; title = "^Screenshot Uploader$"; } - { class = "^Steam$"; title = "^Steam Guard - Computer Authorization Required$"; } - { title = "^Steam Keyboard$"; } + { + class = "^Steam$"; + title = "^Friends$"; + } + { + class = "^Steam$"; + title = "Steam - News"; + } + { + class = "^Steam$"; + title = ".* - Chat"; + } + { + class = "^Steam$"; + title = "^Settings$"; + } + { + class = "^Steam$"; + title = ".* - event started"; + } + { + class = "^Steam$"; + title = ".* CD key"; + } + { + class = "^Steam$"; + title = "^Steam - Self Updater$"; + } + { + class = "^Steam$"; + title = "^Screenshot Uploader$"; + } + { + class = "^Steam$"; + title = "^Steam Guard - Computer Authorization Required$"; + } + {title = "^Steam Keyboard$";} ]; }; window = {
@@ -84,7 +113,6 @@ "${mod}+Shift+7" = "move container to workspace 7";
"${mod}+Shift+8" = "move container to workspace 8"; "${mod}+Shift+9" = "move container to workspace 9"; "${mod}+Shift+0" = "move container to workspace 10"; - # move workspace "${mod}+Mod1+h" = "move workspace to output left";