Reformat files with alejandra
1 file changed, 49 insertions(+), 21 deletions(-)
changed files
M user/settings/i3.nix → user/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";