oxwm

https://git.tonybtw.com/oxwm.git git://git.tonybtw.com/oxwm.git

hm.nix: formatted with nix fmt

Commit
0499e0088206c012ecfeac6e5ba3dd291272e32f
Parent
f0955d1
Author
Pascal0577 <pascalthederg@gmail.com>
Date
2026-02-18 02:03:56

Diff

diff --git a/hm.nix b/hm.nix
index 1f0afa6..ad353f6 100644
--- a/hm.nix
+++ b/hm.nix
@@ -164,21 +164,21 @@ in {
         });
         default = [];
         description = "A list of key chords for OXWM to use";
-        example = '' [
-          {
-            notes = [
-              {
-                mods = [ "Mod4" ];
-                key = "Space";
-              }
-              {
-                mods = [];
-                key = "T";
-              }
-            ];
-            action = "oxwm.spawn_terminal()";
-          }
-        ];
+        example = ''          [
+                   {
+                     notes = [
+                       {
+                         mods = [ "Mod4" ];
+                         key = "Space";
+                       }
+                       {
+                         mods = [];
+                         key = "T";
+                       }
+                     ];
+                     action = "oxwm.spawn_terminal()";
+                   }
+                 ];
         '';
       };
       border = {
@@ -297,28 +297,28 @@ in {
             };
           });
           description = "The modules to put on the bar";
-          example = '' [
-            {
-              kind = "ram";
-              interval = 5;
-              format = "Ram: {used}/{total} GB";
-              color = "9ece6a";
-            }
-            {
-              kind = "static";
-              text = "|";
-              interval = 99999999;
-              color = "6dade3";
-            }
-            {
-              kind = "shell";
-              format = "{}";
-              command = "uname -r";
-              interval = 9999999;
-              color = "f7768e";
-              underline = true;
-            }
-          ];'';
+          example = ''            [
+                       {
+                         kind = "ram";
+                         interval = 5;
+                         format = "Ram: {used}/{total} GB";
+                         color = "9ece6a";
+                       }
+                       {
+                         kind = "static";
+                         text = "|";
+                         interval = 99999999;
+                         color = "6dade3";
+                       }
+                       {
+                         kind = "shell";
+                         format = "{}";
+                         command = "uname -r";
+                         interval = 9999999;
+                         color = "f7768e";
+                         underline = true;
+                       }
+                     ];'';
         };
       };
       rules = mkOption {
@@ -369,18 +369,18 @@ in {
           };
         });
         description = "A list of window rules for the window manager to follow";
-        example = '' [
-          {
-            match.class = "gimp";
-            floating = true;
-          }
-          {
-            match.class = "firefox";
-            match.title = "Library";
-            tag = 9;
-            focus = true;
-          }
-        ];'';
+        example = ''          [
+                   {
+                     match.class = "gimp";
+                     floating = true;
+                   }
+                   {
+                     match.class = "firefox";
+                     match.title = "Library";
+                     tag = 9;
+                     focus = true;
+                   }
+                 ];'';
       };
       extraConfig = mkOption {
         type = types.lines;