tony / oxwm

hm.nix: formatted with nix fmt Browse files
Pascal0577 committed 2026-02-18 parent f0955d1 commit 0499e0088206c012ecfeac6e5ba3dd291272e32f
Showing 1 changed file with 49 additions and 49 deletions. UnifiedSplit
+49 −49 hm.nix
@@ -164,21 +164,21 @@ in {
164 }); 164 });
165 default = []; 165 default = [];
166 description = "A list of key chords for OXWM to use"; 166 description = "A list of key chords for OXWM to use";
167 - example = '' [ 167 + example = '' [
168 - { 168 + {
169 - notes = [ 169 + notes = [
170 - { 170 + {
171 - mods = [ "Mod4" ]; 171 + mods = [ "Mod4" ];
172 - key = "Space"; 172 + key = "Space";
173 - } 173 + }
174 - { 174 + {
175 - mods = []; 175 + mods = [];
176 - key = "T"; 176 + key = "T";
177 - } 177 + }
178 - ]; 178 + ];
179 - action = "oxwm.spawn_terminal()"; 179 + action = "oxwm.spawn_terminal()";
180 - } 180 + }
181 - ]; 181 + ];
182 ''; 182 '';
183 }; 183 };
184 border = { 184 border = {
@@ -297,28 +297,28 @@ in {
297 }; 297 };
298 }); 298 });
299 description = "The modules to put on the bar"; 299 description = "The modules to put on the bar";
300 - example = '' [ 300 + example = '' [
301 - { 301 + {
302 - kind = "ram"; 302 + kind = "ram";
303 - interval = 5; 303 + interval = 5;
304 - format = "Ram: {used}/{total} GB"; 304 + format = "Ram: {used}/{total} GB";
305 - color = "9ece6a"; 305 + color = "9ece6a";
306 - } 306 + }
307 - { 307 + {
308 - kind = "static"; 308 + kind = "static";
309 - text = "|"; 309 + text = "|";
310 - interval = 99999999; 310 + interval = 99999999;
311 - color = "6dade3"; 311 + color = "6dade3";
312 - } 312 + }
313 - { 313 + {
314 - kind = "shell"; 314 + kind = "shell";
315 - format = "{}"; 315 + format = "{}";
316 - command = "uname -r"; 316 + command = "uname -r";
317 - interval = 9999999; 317 + interval = 9999999;
318 - color = "f7768e"; 318 + color = "f7768e";
319 - underline = true; 319 + underline = true;
320 - } 320 + }
321 - ];''; 321 + ];'';
322 }; 322 };
323 }; 323 };
324 rules = mkOption { 324 rules = mkOption {
@@ -369,18 +369,18 @@ in {
369 }; 369 };
370 }); 370 });
371 description = "A list of window rules for the window manager to follow"; 371 description = "A list of window rules for the window manager to follow";
372 - example = '' [ 372 + example = '' [
373 - { 373 + {
374 - match.class = "gimp"; 374 + match.class = "gimp";
375 - floating = true; 375 + floating = true;
376 - } 376 + }
377 - { 377 + {
378 - match.class = "firefox"; 378 + match.class = "firefox";
379 - match.title = "Library"; 379 + match.title = "Library";
380 - tag = 9; 380 + tag = 9;
381 - focus = true; 381 + focus = true;
382 - } 382 + }
383 - ];''; 383 + ];'';
384 }; 384 };
385 extraConfig = mkOption { 385 extraConfig = mkOption {
386 type = types.lines; 386 type = types.lines;