format everything

This commit is contained in:
Noa Aarts 2024-06-04 12:18:23 +02:00
parent 9c28397d38
commit b54f3d54f1
37 changed files with 1185 additions and 1173 deletions

View file

@ -1,4 +1,4 @@
config:
[ "hyprland/workspaces" "tray" "hyprland/window" ] ++
[ "clock" ] ++
[ "custom/vpn" "wireplumber" "network" "cpu" "memory" "custom/poweroff" ]
config:
[ "hyprland/workspaces" "tray" "hyprland/window" ] ++
[ "clock" ] ++
[ "custom/vpn" "wireplumber" "network" "cpu" "memory" "custom/poweroff" ]

View file

@ -1,5 +1,5 @@
{ lib, config, pkgs, ... }:
let
let
name = "clock";
in
{

View file

@ -1,5 +1,5 @@
{ lib, config, ... }:
let
let
name = "cpu";
in
{

View file

@ -12,15 +12,15 @@ in
modules = {
left = lib.mkOption {
type = with lib.types; listOf (enum [ ]);
default = [];
default = [ ];
};
center = lib.mkOption {
type = with lib.types; listOf (enum [ ]);
default = [];
default = [ ];
};
right = lib.mkOption {
type = with lib.types; listOf (enum [ ]);
default = [];
default = [ ];
};
};
};

View file

@ -1,5 +1,5 @@
{ lib, config, ... }:
let
let
name = "memory";
in
{

View file

@ -1,4 +1,4 @@
config:
builtins.map
(n: {name = n; value = {enable = true;}; })
(import ./allmodules.nix config)
builtins.map
(n: { name = n; value = { enable = true; }; })
(import ./allmodules.nix config)

View file

@ -1,5 +1,5 @@
{ lib, config, ... }:
let
let
name = "network";
in
{

View file

@ -1,5 +1,5 @@
{ lib, config, ... }:
let
let
name = "custom/poweroff";
in
{

View file

@ -1,5 +1,5 @@
{ lib, config, ... }:
let
let
name = "temperature";
in
{
@ -13,7 +13,7 @@ in
hwmon-path = "/sys/class/hwmon/hwmon3/temp1_input";
critical-threshold = 80;
format = "{temperatureC}°C {icon}";
format-icons = ["" "" ""];
format-icons = [ "" "" "" ];
};
};
}

View file

@ -1,5 +1,5 @@
{ lib, config, ... }:
let
let
name = "tray";
in
{

View file

@ -1,5 +1,5 @@
{ lib, config, ... }:
let
let
name = "custom/vpn";
in
{

View file

@ -1,5 +1,5 @@
{ lib, config, ... }:
let
let
name = "hyprland/window";
in
{

View file

@ -1,5 +1,5 @@
{ lib, config, ... }:
let
let
name = "wireplumber";
in
{
@ -12,7 +12,7 @@ in
format = "{volume}% {icon}";
format-muted = "";
on-click = "helvum";
format-icons = ["" "" ""];
format-icons = [ "" "" "" ];
};
};
}

View file

@ -1,5 +1,5 @@
{ lib, config, ... }:
let
let
name = "hyprland/workspaces";
in
{